| Issue 112: | Uncompilable source code | |
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? Just follows wiki.. I just thought you should know it.. :) host StaticLib: libLLVMJIT (out/host/linux-x86/obj/STATIC_LIBRARIES/libLLVMJIT_intermediates/libLLVMJIT.a) host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/FileHandle.cpp host StaticLib: librsloader (out/host/linux-x86/obj/STATIC_LIBRARIES/librsloader_intermediates/librsloader.a) <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/ScriptCompiled.cpp host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/Script.cpp host C++: libbccExecutionEngine <= frameworks/compile/libbcc/lib/ExecutionEngine/SourceInfo.cpp <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition cc1plus: all warnings being treated as errors make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/FileHandle.o] Error 1 make: *** Waiting for unfinished jobs.... <command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror] <built-in>:0:0: note: this is the location of the previous definition cc1plus: all warnings being treated as errors make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/ScriptCompiled.o] Error 1 cc1plus: all warnings being treated as errors make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/SourceInfo.o] Error 1 cc1plus: all warnings being treated as errors make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/Script.o] Error 1 cc1plus: all warnings being treated as errors make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libbccExecutionEngine_intermediates/Compiler.o] Error 1 INSTALL include/asm (32 files) make[1]: Leaving directory `/media/Datas/WORKING_DIR/kernel/lge/msm7x27' target StaticLib: libc_nomalloc (out/target/product/p500/obj/STATIC_LIBRARIES/libc_nomalloc_intermediates/libc_nomalloc.a) k@k-pc:/media/Datas/WORKING_DIR$
Sep 18, 2012
#1
Kons.s...@gmail.com
Sep 18, 2012
This is only an issue if you compile with newer GCC. I'm using Ubuntu 10.04 with GCC 4.4.3 and there is no issue. But you make a good point. I'm going to add this as a warning to the wiki. Thanks!
Status:
Done
|