------- Comment #3 from andi-gcc at firstfloor dot org 2010-07-10 08:30 -------
What happens during the config stage is:
configure:2978: checking for C compiler default output file name
configure:3000: /home/andi/gcc/git/obj/./prev-gcc/xgcc
-B/home/andi/gcc/git/obj/./prev-gcc/
-B/pkg/gcc-4.6-100710/x86_64-unknown-linux-gnu/bin/
-B/pkg/gcc-4.6-100710/x86_64-unknown-linux
-gnu/bin/ -B/pkg/gcc-4.6-100710/x86_64-unknown-linux-gnu/lib/ -isystem
/pkg/gcc-4.6-100710/x86_64-unknown-linux-gnu/include -isystem
/pkg/gcc-4.6-100710/x86_64-unknown-linux-gnu/sys-inclu
de -g -O2 -flto conftest.c >&5
cc1: error: LTO support has not been enabled in this configuration
configure:3004: $? = 1
configure:3041: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3047: error: in `/home/andi/gcc/git/obj/intl':
configure:3051: error: C compiler cannot create executables
Full configure arguments:
'--prefix=/pkg/gcc-4.6-100710' '--enable-checking=release' '--disable-nls'
'--enable-lto' '--enable-gold' '--with-plugin-ld=/usr/local/bin/gold'
'--with-build-config=bootstrap-lto' '--with-elf-include=/usr/include/libelf'
'--enable-languages=c,c++,lto (the lto is added by configure)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44899