Skip to content

Instantly share code, notes, and snippets.

@silent27121984
Created September 17, 2019 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silent27121984/09921dd604ab080709f9c8898bbd88d3 to your computer and use it in GitHub Desktop.
Save silent27121984/09921dd604ab080709f9c8898bbd88d3 to your computer and use it in GitHub Desktop.
[ 1% 536/32079] target C++: libOmxVenc <= hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/sr
FAILED: /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++ -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/inc -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/common/inc -I hardware/qcom/media-caf/msm8996/mm-core/inc -I hardware/qcom/media-caf/msm8996/libstagefrighthw -I /home/silent27/ten/out/target/product/santoni/obj/include/qcom/display -I /home/silent27/ten/out/target/product/santoni/obj/include/adreno -I hardware/qcom/media-caf/msm8996/libc2dcolorconvert -I hardware/qcom/media-caf/msm8996/hypv-intercept -I /home/silent27/ten/out/target/product/santoni/obj/include/libvqzip -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc -I /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates -I /home/silent27/ten/out/target/product/santoni/gen/SHARED_LIBRARIES/libOmxVenc_intermediates -I libnativehelper/include_jni \$(cat /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/silent27/ten/out/target/product/santoni/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17 -fno-rtti -g -O3 -Dlrintf=_ffix_r -D__align=__alignx -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -DT_ARM -Dinline=__inline -D_ANDROID_ -UENABLE_DEBUG_LOW -UENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -USINGLE_ENCODER_INSTANCE -Werror -D_ANDROID_ICS_ -D_MSM8974_ -DMAX_RES_1080P -DMAX_RES_1080P_EBI -D_DISABLE_TEMPORAL_LAYER_ -DUSE_ION -DUSE_NATIVE_HANDLE_SOURCE -DSUPPORT_CONFIG_INTRA_REFRESH -DUSE_CAMERA_METABUFFER_UTILS -DMAX_H264_LEVEL_4 -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.d -o /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVenc_intermediates/src/omx_video_encoder.o hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp"
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp:2337:9: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case OMX_IndexConfigAndroidVendorExtension:
^
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp:2337:9: note: insert '[[fallthrough]];' to silence this warning
case OMX_IndexConfigAndroidVendorExtension:
^
[[fallthrough]];
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/venc/src/omx_video_encoder.cpp:2337:9: note: insert 'break;' to avoid fall-through
case OMX_IndexConfigAndroidVendorExtension:
^
break;
1 error generated.
[ 1% 539/32079] target C++: libOmxVdec <= hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/sr
FAILED: /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_v4l2.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r353983c/bin/clang++ -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/inc -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/common/inc -I hardware/qcom/media-caf/msm8996/mm-core/inc -I /home/silent27/ten/out/target/product/santoni/obj/include/qcom/display -I /home/silent27/ten/out/target/product/santoni/obj/include/adreno -I hardware/qcom/media-caf/msm8996/libc2dcolorconvert -I hardware/qcom/media-caf/msm8996/hypv-intercept -I /home/silent27/ten/out/target/product/santoni/obj/include/mm-video/SwVdec -I /home/silent27/ten/out/target/product/santoni/obj/include/mm-video/swvdec -I hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec -I /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates -I /home/silent27/ten/out/target/product/santoni/gen/SHARED_LIBRARIES/libOmxVdec_intermediates -I libnativehelper/include_jni \$(cat /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/import_includes) -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I frameworks/native/include -I frameworks/native/opengl/include -I frameworks/av/include -isystem /home/silent27/ten/out/target/product/santoni/obj/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fno-strict-aliasing -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Wimplicit-fallthrough -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-zero-as-null-pointer-constant -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -Werror=format-security -nostdlibinc -march=armv8-a -mcpu=cortex-a53 -target aarch64-linux-android -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-thread-safety-negative -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17 -fno-rtti -D__alignx\\(x\\)=__attribute__\\(\\(__aligned__\\(x\\)\\)\\) -D__align=__alignx -Dinline=__inline -g -O3 -DIMAGE_APPS_PROC -D_ANDROID_ -DCDECL -DT_ARM -DNO_ARM_CLZ -UENABLE_DEBUG_LOW -UENABLE_DEBUG_HIGH -DENABLE_DEBUG_ERROR -UINPUT_BUFFER_LOG -UOUTPUT_BUFFER_LOG -Wno-parentheses -D_ANDROID_ICS_ -D_MSM8974_ -DPROCESS_EXTRADATA_IN_OUTPUT_PORT -DMAX_RES_1080P -DMAX_RES_1080P_EBI -DUSE_ION -D_ANDROID_O_MR1_DIVX_CHANGES -DHEVC_PROFILE_HDR10_NOT_SUPPORTED -D_QUERY_DISP_RES_ -DADAPTIVE_PLAYBACK_SUPPORTED -DFLEXYUV_SUPPORTED -DALLOCATE_OUTPUT_NATIVEHANDLE -DMAX_H264_LEVEL_42 -Werror -fPIC -D_USING_LIBCXX -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-tautological-unsigned-enum-zero-compare -Wno-tautological-unsigned-zero-compare -Wno-c++98-compat-extra-semi -Wno-return-std-move-in-c++11 -MD -MF /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_v4l2.d -o /home/silent27/ten/out/target/product/santoni/obj/SHARED_LIBRARIES/libOmxVdec_intermediates/src/omx_vdec_v4l2.o hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp"
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:5491:25: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_NOMINAL:
^
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:5491:25: note: insert '[[fallthrough]];' to silence this warning
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_NOMINAL:
^
[[fallthrough]];
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:5491:25: note: insert 'break;' to avoid fall-through
case V4L2_CID_MPEG_VIDC_PERF_LEVEL_NOMINAL:
^
break;
hardware/qcom/media-caf/msm8996/mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp:13612:14: error: comparison of two values with different enumeration types in switch statement ('OMX_COLOR_FORMATTYPE' and 'OMX_QCOM_COLOR_FORMATTYPE') [-Werror,-Wenum-compare-switch]
case QOMX_COLOR_FORMATYUV420PackedSemiPlanar32m:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[ 1% 545/32079] Building Kernel
make: Entering directory '/home/silent27/ten/kernel/xiaomi/msm8937'
make[1]: Entering directory '/home/silent27/ten/out/target/product/santoni/obj/KERNEL_OBJ'
GEN ./Makefile
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
Using /home/silent27/ten/kernel/xiaomi/msm8937 as source for kernel
CHK include/generated/utsrelease.h
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/silent27/ten/kernel/xiaomi/msm8937/scripts/checksyscalls.sh
make[2]: 'include/generated/vdso-offsets.h' is up to date.
CHK include/generated/compile.h
GZIP kernel/config_data.gz
CHK kernel/config_data.h
DTC arch/arm64/boot/dts/qcom/msm8940-pmi8950-qrd-sku7_S88536AA2.dtb
DTC arch/arm64/boot/dts/qcom/msm8940-pmi8950-qrd-sku7_S88536AA2-treble.dtb
CAT arch/arm64/boot/Image.gz-dtb
make[1]: Leaving directory '/home/silent27/ten/out/target/product/santoni/obj/KERNEL_OBJ'
make: Leaving directory '/home/silent27/ten/kernel/xiaomi/msm8937'
Building DTBs
make: Entering directory '/home/silent27/ten/kernel/xiaomi/msm8937'
make[1]: Entering directory '/home/silent27/ten/out/target/product/santoni/obj/KERNEL_OBJ'
CHK include/config/kernel.release
GEN ./Makefile
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
Using /home/silent27/ten/kernel/xiaomi/msm8937 as source for kernel
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/bounds.h
CHK include/generated/asm-offsets.h
CALL /home/silent27/ten/kernel/xiaomi/msm8937/scripts/checksyscalls.sh
make[2]: 'include/generated/vdso-offsets.h' is up to date.
make[1]: Leaving directory '/home/silent27/ten/out/target/product/santoni/obj/KERNEL_OBJ'
make: Leaving directory '/home/silent27/ten/kernel/xiaomi/msm8937'
05:47:07 ninja failed with: exit status 1
#### failed to build some targets (59 seconds) ####
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment