|
SDK5.1编译 clang++ 出错
发表于 2017-3-16 14:27:15
浏览:6848
|
回复:1
打印
只看该作者
[复制链接]
楼主
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.emmc:root/fstab.rk30board.bootmode.emmc ignored.
build/core/Makefile:34: 警告:覆盖关于目标“out/target/product/rk312x/obj/lib/libGLES_mali.so”的配方
build/core/prebuilt_internal.mk:282: 警告:忽略关于目标“out/target/product/rk312x/obj/lib/libGLES_mali.so”的旧配方
host C++: bcc <= frameworks/compile/libbcc/tools/bcc/Main.cpp
prebuilts/clang/linux-x86/host/3.5/bin/clang++ -I frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm -I frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/include -I frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/host/include -I external/libcxx/include -I frameworks/compile/libbcc/include -I frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/include -I frameworks/compile/libbcc/bcinfo/Wrap/../../../../../external/llvm/host/include -I frameworks/compile/libbcc/tools/bcc/../../include -I frameworks/compile/libbcc/tools/bcc -I out/host/linux-x86/obj32/EXECUTABLES/bcc_intermediates -I out/host/linux-x86/gen/EXECUTABLES/bcc_intermediates -I libnativehelper/include/nativehelper -isystem system/core/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem tools/include -isystem out/host/linux-x86/obj/include -isystem prebuilts/clang/linux-x86/host/3.5/lib/clang/3.5/include/ -c -fno-exceptions -Wno-multichar -mstackrealign -msse3 -m32 -Wa,--noexecstack -march=prescott -fPIC -no-canonical-prefixes -include build/core/combo/include/arch/linux-x86/AndroidConfig.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -O2 -g -fno-strict-aliasing -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-unused-command-line-argument --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/ -no-integrated-as -msse3 --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/ --sysroot=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//sysroot -no-integrated-as -target i686-linux-gnu -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wsign-promo -DNDEBUG -UDEBUG --gcc-toolchain=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/ --sysroot=prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//sysroot -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/x86_64-linux/32 -isystem prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6//x86_64-linux/include/c++/4.6/backward -no-integrated-as -target i686-linux-gnu -Wall -Wno-unused-parameter -Werror -D__HOST__ -DRS_VERSION=22 -D__DISABLE_ASSERTS -D_USING_LIBCXX -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2 -fomit-frame-pointer -Wall -W -Wno-unused-parameter -Wwrite-strings -Dsprintf=sprintf -Wall -Wno-unused-parameter -Werror -D__HOST__ -DRS_VERSION=22 -D__DISABLE_ASSERTS -D_USING_LIBCXX -fno-exceptions -fpie -nostdinc++ -fno-rtti -Woverloaded-virtual -Wno-sign-promo -std=c++11 -MD -MF out/host/linux-x86/obj32/EXECUTABLES/bcc_intermediates/Main.d -o out/host/linux-x86/obj32/EXECUTABLES/bcc_intermediates/Main.o frameworks/compile/libbcc/tools/bcc/Main.cpp
/tmp/Main-241b0d.s: Assembler messages:
/tmp/Main-241b0d.s:60540: 错误:inconsistent uses of .cfi_sections
clang++: error: assembler command failed with exit code 1 (use -v to see invocation)
make: *** [build/core/binary.mk:620:out/host/linux-x86/obj32/EXECUTABLES/bcc_intermediates/Main.o] 错误 1
|
|