On Tue, 2013-08-20 11:24:31 +0400, Alexander Ivchenko <aivch...@gmail.com> wrote: > Hi, thanks for cathing this. > > I certainly missed that OPTION_BIONIC is not defined for linux targets > that do not include config/linux.h in their tm.h.
Slightly different, but tic6x-uclinux (http://toolchain.lug-owl.de/buildbot/?id=9018 , with build log being available at http://toolchain.lug-owl.de/buildbot/showlog.php?id=9018&mode=view) probably also affected: g++ -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../../gcc/gcc -I../../../../gcc/gcc/. -I../../../../gcc/gcc/../include -I../../../../gcc/gcc/../libcpp/include -I../../../../gcc/gcc/../libdecnumber -I../../../../gcc/gcc/../libdecnumber/dpd -I../libdecnumber -I../../../../gcc/gcc/../libbacktrace \ ../../../../gcc/gcc/config/c6x/c6x.c -o c6x.o In file included from ./tm.h:24:0, from ../../../../gcc/gcc/config/c6x/c6x.c:25: ../../../../gcc/gcc/config/linux.h:105:34: error: ‘linux_android_libc_has_function’ was not declared in this scope #define TARGET_LIBC_HAS_FUNCTION linux_android_libc_has_function ^ ./target-hooks-def.h:1100:5: note: in expansion of macro ‘TARGET_LIBC_HAS_FUNCTION’ TARGET_LIBC_HAS_FUNCTION, \ ^ ../../../../gcc/gcc/config/c6x/c6x.c:6839:29: note: in expansion of macro ‘TARGET_INITIALIZER’ struct gcc_target targetm = TARGET_INITIALIZER; ^ MfG, JBG -- Jan-Benedict Glaw jbg...@lug-owl.de +49-172-7608481 Signature of: Ich hatte in letzter Zeit ein bißchen viel Realitycheck. the second : Langsam möchte ich mal wieder weiterträumen können. -- Maximilian Wilhelm (18. Mai 2005, #lug-owl.de)
signature.asc
Description: Digital signature