Now that is weird. I tried building a second time and... It worked! -Bruno Bruno Albuquerque wrote:
Just FYI, when trying to compile without linux32, I get this:make[1]: Leaving directory `/usr/local/google/home/bga/haiku/haiku/generated/cross-tools-build/binutils'Configuring for a x86_64-unknown-linux-gnu host.Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognizedUnrecognized host system name x86_64-unknown-linux-gnu. This is all with the legacy GCC, BTW. -Bruno Bruno Albuquerque wrote:Hey Ingo.At some point you mentioned that building the crosstools was broken but recent commits led me to thing that you have sorted it up. So, just in case, I am getting this when trying to compile the crosstools in a Ubuntu-based distribution (mixed 32/64 bits):Building the C and C++ compilermake[1]: Entering directory `/usr/local/google/home/bga/haiku/haiku/generated/cross-tools-build/gcc/gcc'cd /home/bga/haiku/src/buildtools/legacy/gcc/gcc && autoheaderautoheader: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot' autoheader: WARNING: and `config.h.top', to define templates for `config.h.in'autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of `AC_DEFINE' andautoheader: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template withoutautoheader: WARNING: `acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function `main' is needed.]) autoheader:autoheader: WARNING: More sophisticated templates can also be produced, see theautoheader: WARNING: documentation.echo timestamp > /home/bga/haiku/src/buildtools/legacy/gcc/gcc/cstamp-h.in(cd intl && make all)make[2]: Entering directory `/usr/local/google/home/bga/haiku/haiku/generated/cross-tools-build/gcc/gcc/intl'make[2]: Nothing to be done for `all'.make[2]: Leaving directory `/usr/local/google/home/bga/haiku/haiku/generated/cross-tools-build/gcc/gcc/intl' gcc -c -DCROSS_COMPILE -DIN_GCC -O2 -DHAVE_CONFIG_H -I. -I/home/bga/haiku/src/buildtools/legacy/gcc/gcc -I/home/bga/haiku/src/buildtools/legacy/gcc/gcc/config -I/home/bga/haiku/src/buildtools/legacy/gcc/gcc/../include \/home/bga/haiku/src/buildtools/legacy/gcc/gcc/gencheck.c In file included from ./hconfig.h:2,from /home/bga/haiku/src/buildtools/legacy/gcc/gcc/gencheck.c:21:./auto-host.h:369: error: syntax error before '<<' tokenIn file included from /home/bga/haiku/src/buildtools/legacy/gcc/gcc/config/i386/haiku.h:23,from ./tm.h:6,from /home/bga/haiku/src/buildtools/legacy/gcc/gcc/config/i386/xm-i386.h:43,from ./hconfig.h:8,from /home/bga/haiku/src/buildtools/legacy/gcc/gcc/gencheck.c:21: /home/bga/haiku/src/buildtools/legacy/gcc/gcc/config/i386/i386.h:65: error: syntax error before '}' tokenmake[1]: *** [gencheck.o] Error 1make[1]: Leaving directory `/usr/local/google/home/bga/haiku/haiku/generated/cross-tools-build/gcc/gcc'make: *** [cross] Error 2 ERROR: Building gcc failed. bga@librarian:~/haiku/src/haiku$ I am using the following configure line, just in case:linux32 ./configure --build-cross-tools ../buildtools --include-gpl-addons --target=haiku --use-gcc-pipe(linux32 just makes it use the linux 32 personality) Note that it used to build before your changes. Ideas? -Bruno