building gcc 4.0.2 with gcc 4.6.3: version `GCC_4.2.0' not found
Ilya Basin
basinilya@gmail.com
Tue Aug 28 17:59:00 GMT 2012
Hi list! I can't build older gcc on archlinux 64.
I want to build gcc with bounds checking patches. Bu first I want to
test the build without the patches.
$ ~/gcc-4.0.2/configure --disable-multilib
$ make BOOT_CFLAGS="-O2" STAGE1_CFLAGS="-O2" CFLAGS="-O2" bootstrap
...
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [configure-fixincludes] Error 1
$ less fixincludes/config.log
configure:1782: gcc -O2 conftest.c >&5
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.3/cc1: /home/il/build_4.0.2_dir/gcc/libgcc_s.so.1: version `GCC_4.2.0' not found (required by /usr/lib/libstdc++.so.6)
More information about the Gcc-help
mailing list