Skip to content

Instantly share code, notes, and snippets.

@Nokius

Nokius/gist:d86d6603707e2699536f Secret

Last active Jan 29, 2016
Embed
What would you like to do?
[SFOS] r7plus (64bit) make hybris-boot failes after adding mer kernel checker comments
HABUILD_SDK [r7plus] user@build-box-r7plus:~/mer/android/droid$ make -j1 hybris-boot
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=5.1.1
CM_VERSION=12.1-20160129-UNOFFICIAL-r7plus
TARGET_PRODUCT=cm_r7plus
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a53
HOST_ARCH=x86_64
HOST_OS=linux
HOST_OS_EXTRA=Linux-3.16.0-4-amd64-x86_64-with-Ubuntu-14.04-trusty
HOST_BUILD_TYPE=release
BUILD_ID=LMY48B
OUT_DIR=/home/user/mer/android/droid/out
============================================
external/speex/Android.mk:55: TODOArm64: enable neon in libspeex
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/copybit.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/copybit_priv.h'
build/core/copy_headers.mk:15: warning: overriding commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/c2d2.h'
build/core/copy_headers.mk:15: warning: ignoring old commands for target `/home/user/mer/android/droid/out/target/product/r7plus/obj/include/qcom/display/c2d2.h'
hardware/qcom/media-caf/msm8916/Android.mk:3: target list is :
hybris/hybris-boot/Android.mk:67: ********************* /boot appears to live on /dev/block/bootdevice/by-name/boot
hybris/hybris-boot/Android.mk:68: ********************* /data appears to live on /dev/block/bootdevice/by-name/userdata
No private recovery resources for TARGET_DEVICE r7plus
make CFLAGS_MODULE="-fno-pic" -C kernel/oppo/msm8939 O=/home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/home/user/mer/android/droid/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_r7plus_defconfig
make[1]: Entering directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
GEN /home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ/Makefile
arch/arm64/configs/cyanogenmod_r7plus_defconfig:108:warning: override: reassigning to symbol RESOURCE_COUNTERS
arch/arm64/configs/cyanogenmod_r7plus_defconfig:191:warning: override: reassigning to symbol CC_STACKPROTECTOR
arch/arm64/configs/cyanogenmod_r7plus_defconfig:3476:warning: unexpected data
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
make[1]: Entering directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
GEN /home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ/Makefile
arch/arm64/configs/cyanogenmod_r7plus_defconfig:108:warning: override: reassigning to symbol RESOURCE_COUNTERS
arch/arm64/configs/cyanogenmod_r7plus_defconfig:191:warning: override: reassigning to symbol CC_STACKPROTECTOR
arch/arm64/configs/cyanogenmod_r7plus_defconfig:3476:warning: unexpected data
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
#
# configuration written to .config
#
make[1]: Leaving directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
make[1]: Entering directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
CHK include/generated/uapi/linux/version.h
make[1]: Leaving directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
make CFLAGS_MODULE="-fno-pic" -C kernel/oppo/msm8939 O=/home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ ARCH=arm64 CROSS_COMPILE="/home/user/mer/android/droid/prebuilts/misc/linux-x86/ccache/ccache aarch64-linux-android-" Image
make[1]: Entering directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
GEN /home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ/Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
warning: (SND_SOC_QDSP6V2) selects SND_SOC_MSM_QDSP6V2_INTF which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && MSM_QDSP6_APRV2)
warning: (SND_SOC_APQ8084 && SND_SOC_MSM8X16 && SND_SOC_MSM8994) selects SND_SOC_CPE which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && SND_SOC_WCD_CPE)
warning: (ARCH_MSM) selects DEVFREQ_GOV_MSM_BW_HWMON which has unmet direct dependencies (PM_DEVFREQ && (ARCH_MSM_KRAIT || ARCH_MSM_BIMC_BWMON))
Using /home/user/mer/android/droid/kernel/oppo/msm8939 as source for kernel
GEN /home/user/mer/android/droid/out/target/product/r7plus/obj/KERNEL_OBJ/Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL /home/user/mer/android/droid/kernel/oppo/msm8939/scripts/checksyscalls.sh
CC scripts/mod/devicetable-offsets.s
GEN scripts/mod/devicetable-offsets.h
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
CC drivers/base/firmware_class.o
../../../../../../kernel/oppo/msm8939/drivers/base/firmware_class.c: In function '_request_firmware':
../../../../../../kernel/oppo/msm8939/drivers/base/firmware_class.c:1215:9: warning: passing argument 2 of 'fw_load_from_user_helper' from incompatible pointer type
error, forbidden warning: firmware_class.c:1215
make[4]: *** [drivers/base/firmware_class.o] Error 1
make[3]: *** [drivers/base] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/user/mer/android/droid/kernel/oppo/msm8939'
make: *** [TARGET_KERNEL_BINARIES] Error 2
#### make failed to build some targets (32 seconds) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.