------- Comment #6 from thomas dot jourdan at gmail dot com 2009-01-13 21:11 ------- Hi all,
First of all, thanks for answering so quickly. I am using crosstool-ng (http://ymorin.is-a-geek.org/dokuwiki/projects/crosstool) scripts to build my cross tool chain. It works greats (with the same gcc / binutils / libc configuration) under linux but I am trying to make it works on other OS. Today, this is OpenSolaris. I attached the full (and big) log. The error is visible at line 102477. To summarize, the compiler is configured with : CC_FOR_BUILD="i386-build_pc-solaris2.11-gcc" CFLAGS="-pipe" /export/home/thomas/workspace/cdk/i686/targets/src/gcc-4.3.2/configure --build=i386-build_pc-solaris2.11 --host=i386-build_pc-solaris2.11 --target=i686-nptl-linux-gnu --prefix=/export/home/thomas/workspace/cdk/i686/targets/i686-nptl-linux-gnu/build/gcc-core-static --with-local-prefix=/export/home/thomas/x-tools/i686-nptl-linux-gnu/i686-nptl-linux-gnu/sys-root --disable-multilib --with-sysroot=/export/home/thomas/x-tools/i686-nptl-linux-gnu/i686-nptl-linux-gnu/sys-root --with-newlib --enable-threads=no --disable-shared --with-arch=i686 --with-gmp=/export/home/thomas/x-tools/i686-nptl-linux-gnu --with-mpfr=/export/home/thomas/x-tools/i686-nptl-linux-gnu --enable-__cxa_atexit --disable-nls --enable-symvers=gnu --enable-languages=c --enable-target-optspace make all-gcc make install-gcc The configure goes fine but make all-gcc will run the configure fragment in the gcc subdirectory. You can see the problem by running make configure-host instead of make all-gcc. The same thing works fine on my ubuntu box. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38805