Hi All,
I started a new project, new init (android-4.0.1_r1), new sync, and lunched the full_x86-eng .
According to the build output, the GCC version used is:
~/Android/ICS$ prebuilt/linux-x86/toolchain/i686-android-linux-4.4.3/bin/i686-android-linux-gcc --version
i686-android-linux-gcc (GCC) 4.4.3
Now, I get the following errors. Does anyone know how to get around then? I remember I ran into similar issues with the 2.3.7_r1 branch of the gingerbread project, whereas I did not
run to such on the master branch:
Did anyone run into such errors? From what I remember in the 2.3.7_r1, there were some workarounds with (please be sitted) - cherry-pick. I sure hope, and quite confident that there is no way it
is the case now - and that I just have something messed up in my environment or something.
Error is below:
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of ‘yaffs_InitialiseTags’ was here
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
host C++: obbtool <= frameworks/base/tools/obbtool/Main.cpp
In file included from external/yaffs2/yaffs2/yaffs_tagsvalidity.c:17:0:
external/yaffs2/yaffs2/yaffs_tagsvalidity.h:23:6: warning: redundant redeclaration of ‘yaffs_InitialiseTags’ [-Wredundant-decls]
external/yaffs2/yaffs2/yaffs_guts.h:888:6: note: previous declaration of ‘yaffs_InitialiseTags’ was here
host C: parseStringTest <= external/srec/tools/parseStringTest/parseStringTest.c
<command-line>:0:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
<built-in>:0:0: note: this is the location of the previous definition
external/yaffs2/yaffs2/utils/mkyaffs2image.c: In function ‘write_object_header’:
external/yaffs2/yaffs2/utils/mkyaffs2image.c:195:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:195:19: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:196:26: warning: array subscript is above array bounds [-Warray-bounds]
external/yaffs2/yaffs2/utils/mkyaffs2image.c:196:19: warning: array subscript is above array bounds [-Warray-bounds]
host C++: post_trace <= sdk/emulator/qtools/post_trace.cpp
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<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/EXECUTABLES/obbtool_intermediates/Main.o] Error 1
make: *** Waiting for unfinished jobs....
<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
<built-in>:0:0: note: this is the location of the previous definition
?\*\*\* 11060,7 Bot