Luca wrote: > Thanks for the reply Jakub and for pointing me your patch in the src.rpm. > > Right it changes the LINK_SPEC. > > > Luca > > Now I have just tried to compile gcc-4.3.0-20061201 with the hash patch applied and when configuring for stage 2 I receive: Configuring stage 2 in ./intl configure: creating cache ./config.cache checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether NLS is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for i686-pc-linux-gnu-gcc... /mnt/lfs/sources/gnu-gcc/gcc-build/./prev-gcc/xgcc -B/mnt/lfs/sources/gnu-gcc/gcc-build/./prev-gcc/ -B/tools/i686-pc-linux-gnu/bin/ checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. make[2]: *** [configure-stage2-intl] Error 1 make[2]: Leaving directory `/mnt/lfs/sources/gnu-gcc/gcc-build' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/mnt/lfs/sources/gnu-gcc/gcc-build' make: *** [all] Error 2 Linux-Headers-2.6.19, binutils-2.17.50 and glibc-20061106-headers installed. The config.log in intl dir outputs this: configure:2118: checking for C compiler default output file name configure:2121: /mnt/lfs/sources/gnu-gcc/gcc-build/./prev-gcc/xgcc -B/mnt/lfs/sources/gnu-gcc/gcc-build/./prev-gcc/ -B/tools/i686-pc-linux-gnu/bin/ -O2 -g -fomit-frame-pointer conftest.c >&5 configure:2124: $? = 0 configure:2170: result: a.out configure:2175: checking whether the C compiler works configure:2181: ./a.out /mnt/lfs/sources/gnu-gcc/gcc/intl/configure: line 2182: 31539 Floating point exception./$ac_file configure:2184: $? = 136 configure:2193: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. I'm not cross-compiling; processor is an AMD64, but the system I'm on is configured like a i686 (kernel too; uname -m outputs i686). I didn't pass --host=, --target=; I had some floating point errors with some pre-compiled rpms but never when building from sources. Luca