Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FAILED: /home/arian/android/rr/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/audio.primary.msm8998_intermediates/acdb.o
- /bin/bash -c "PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-4053586/bin/clang -I device/xiaomi/msm8998-common/include -I /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include -I /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/techpack/audio/include -I /home/arian/android/rr/out/target/product/sagit/obj/vendor/qcom/opensource/audio-kernel/include -I external/tinyalsa/include -I external/tinycompress/include -I system/media/audio_utils/include -I external/expat/lib -I hardware/libhardware/include -I system/media/audio_route/include -I system/media/audio_effects/include -I hardware/qcom/audio-caf/msm8998/hal/msm8974 -I hardware/qcom/audio-caf/msm8998/hal/audio_extn -I hardware/qcom/audio-caf/msm8998/hal/voice_extn -I /home/arian/android/rr/out/target/product/sagit/obj/include/mm-audio/sound_trigger -I hardware/qcom/audio-caf/msm8998/hal -I /home/arian/android/rr/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/audio.primary.msm8998_intermediates -I /home/arian/android/rr/out/target/product/sagit/gen/SHARED_LIBRARIES/audio.primary.msm8998_intermediates \$(cat /home/arian/android/rr/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/audio.primary.msm8998_intermediates/import_includes) -isystem /home/arian/android/rr/out/target/product/sagit/obj/include -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -DNDEBUG -g -Wstrict-aliasing=2 -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-expansion-to-defined -fdebug-prefix-map=\$PWD/= -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -nostdlibinc -msoft-float -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -D__ARM_FEATURE_LPAE=1 -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -O2 -fomit-frame-pointer -fstrict-aliasing -DPLATFORM_MSM8998 -DUSE_VENDOR_EXTN -DHDMI_EDID -DUSE_LL_AS_PRIMARY_OUTPUT -DPCM_OFFLOAD_ENABLED -DANC_HEADSET_ENABLED -DRAS_ENABLED -DVBAT_MONITOR_ENABLED -DFLUENCE_ENABLED -DAFE_PROXY_ENABLED -DKPI_OPTIMIZE_ENABLED -DFM_POWER_OPT -DUSB_HEADSET_ENABLED -DHFP_ENABLED -DCUSTOM_STEREO_ENABLED -DMULTI_VOICE_SESSION_ENABLED -DCOMPRESS_VOIP_ENABLED -DAUDIO_EXTN_FORMATS_ENABLED -DSPKR_PROT_ENABLED -DHW_VARIANTS_ENABLED -DFLAC_OFFLOAD_ENABLED -DCOMPRESS_METADATA_NEEDED -DFLAC_OFFLOAD_ENABLED -DCOMPRESS_METADATA_NEEDED -DVORBIS_OFFLOAD_ENABLED -DCOMPRESS_METADATA_NEEDED -DAPE_OFFLOAD_ENABLED -DCOMPRESS_METADATA_NEEDED -DPCM_OFFLOAD_ENABLED_24 -DAAC_ADTS_OFFLOAD_ENABLED -DDOLBY_ACDB_LICENSE -DDS2_DOLBY_DAP_ENABLED -DDS1_DOLBY_DDP_ENABLED -DHDMI_PASSTHROUGH_ENABLED -DSOURCE_TRACKING_ENABLED -DSOUND_TRIGGER_ENABLED -DSOUND_TRIGGER_PLATFORM_NAME=msm8998 -DDISPLAY_PORT_ENABLED -DAUDIO_GENERIC_EFFECT_FRAMEWORK_ENABLED -DEXT_AMPLIFIER_ENABLED -Wall -Werror -D__ANDROID_API__=__ANDROID_API_FUTURE__ -D__ANDROID_VNDK__ -fPIC -D_USING_LIBCXX -Wno-unused-variable -Wno-unused-function -Wno-missing-field-initializers -DANDROID_STRICT -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=return-type -MD -MF /home/arian/android/rr/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/audio.primary.msm8998_intermediates/acdb.d -o /home/arian/android/rr/out/target/product/sagit/obj_arm/SHARED_LIBRARIES/audio.primary.msm8998_intermediates/acdb.o hardware/qcom/audio-caf/msm8998/hal/acdb.c"
- In file included from hardware/qcom/audio-caf/msm8998/hal/acdb.c:26:
- system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
- #warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
- ^
- In file included from hardware/qcom/audio-caf/msm8998/hal/acdb.c:29:
- In file included from hardware/qcom/audio-caf/msm8998/hal/platform_api.h:22:
- In file included from /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/voice_params.h:5:
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:18: error: field has incomplete type 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:442:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp; /* reference timestamp */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:451:18: error: field has incomplete type 'struct timespec'
- struct timespec audio_tstamp; /* sample counter, wall clock, PHC or on-demand sync'ed */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:452:18: error: field has incomplete type 'struct timespec'
- struct timespec driver_tstamp; /* useful in case reference system tstamp is reported with delay */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:454:30: error: invalid application of 'sizeof' to an incomplete type 'struct timespec'
- unsigned char reserved[52-2*sizeof(struct timespec)]; /* must be filled with zero */
- ^ ~~~~~~~~~~~~~~~~~
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:461:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp; /* Timestamp */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:463:18: error: field has incomplete type 'struct timespec'
- struct timespec audio_tstamp; /* from sample counter or wall clock */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:632:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp; /* Timestamp */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:744:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp; /* Timestamp - last update */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:794:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp;
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:937:18: error: field has incomplete type 'struct timespec'
- struct timespec tstamp;
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:938:29: error: invalid application of 'sizeof' to an incomplete type 'struct timespec'
- unsigned char reserved[128-sizeof(struct timespec)];
- ^ ~~~~~~~~~~~~~~~~~
- /home/arian/android/rr/out/target/product/sagit/obj/KERNEL_OBJ/usr/include/sound/asound.h:441:9: note: forward declaration of 'struct timespec'
- struct timespec trigger_tstamp; /* time when stream was started/stopped/paused */
- ^
- 1 warning and 12 errors generated.
- [ 64% 51406/79950] target arm C: audio...are/qcom/audio-caf/msm8998/hal/voice.c
- In file included from hardware/qcom/audio-caf/msm8998/hal/voice.c:27:
- system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
- #warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
- ^
- 1 warning generated.
- [ 64% 51407/79950] target thumb C++: a...master/3.0/default/KeymasterDevice.cpp
- In file included from hardware/interfaces/keymaster/3.0/default/KeymasterDevice.cpp:22:
- system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
- #warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
- ^
- 1 warning generated.
- [ 64% 51409/79950] target thumb C++: l...m8998-common/gps/core/SystemStatus.cpp
- device/xiaomi/msm8998-common/gps/core/SystemStatus.cpp:1423:37: warning: 'reinterpret_cast' to class 'loc_core::SystemStatusNetworkInfo *' from its base at non-zero offset 'loc_core::IDataItemCore *' behaves differently from 'static_cast' [-Wreinterpret-base-class]
- SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- device/xiaomi/msm8998-common/gps/core/SystemStatus.cpp:1423:37: note: use 'static_cast' to adjust the pointer correctly while downcasting
- SystemStatusNetworkInfo* data = reinterpret_cast<SystemStatusNetworkInfo*>(dataitem);
- ^~~~~~~~~~~~~~~~
- static_cast
- device/xiaomi/msm8998-common/gps/core/SystemStatus.cpp:1570:12: warning: 26 enumeration values not handled in switch: 'INVALID_DATA_ITEM_ID', 'AIRPLANEMODE_DATA_ITEM_ID', 'ENH_DATA_ITEM_ID'... [-Wswitch]
- switch(dataitem->getId())
- ^
- 2 warnings generated.
- [ 64% 51410/79950] target arm C: audio.../qcom/audio-caf/msm8998/hal/audio_hw.c
- In file included from hardware/qcom/audio-caf/msm8998/hal/audio_hw.c:58:
- system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
- #warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
- ^
- 1 warning generated.
- [ 64% 51411/79950] target arm C: audio...dio-caf/msm8998/hal/msm8974/platform.c
- In file included from hardware/qcom/audio-caf/msm8998/hal/msm8974/platform.c:36:
- system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
- #warning "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h"
- ^
- 1 warning generated.
- [ 64% 51413/79950] Docs droiddoc: /hom...ut/target/common/docs/system-api-stubs
- DroidDoc took 19 sec. to write docs to /home/arian/android/rr/out/target/common/docs/system-api-stubs
- [ 64% 51414/79950] Docs droiddoc: /hom...id/rr/out/target/common/docs/api-stubs
- DroidDoc took 18 sec. to write docs to /home/arian/android/rr/out/target/common/docs/api-stubs
- ninja: build stopped: subcommand failed.
- 17:25:26 ninja failed with: exit status 1
- #### failed to build some targets (48:18 (mm:ss)) ####
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement