http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45954
Summary: --with-build-config=bootstrap-lto doesn't work
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: [email protected]
ReportedBy: [email protected]
--with-build-config=bootstrap-lto doesn't work. The problem is
cd bld; \
RUNTESTFLAGS="--target_board 'unix{-m32,}'" ../src-trunk/configure \
--enable-clocale=gnu --with-system-zlib --enable-shared
--with-demangler-in-ld --with-build-config=bootstrap-lto
-with-plugin-ld=ld.gold --enable-gold --with-fpmath=sse
....
It doesn't enable LTO for stage1 gcc and it goes downhill after
stage 1 since LTO isn't available at all:
configure:3000: /export/gnu/import/svn/gcc-test/bld/./prev-gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/./prev-gcc/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/bin/
-B/usr/local/x86_64-unknown-linux-gnu/lib/ -isystem
/usr/local/x86_64-unknown-linux-gnu/include -isystem
/usr/local/x86_64-unknown-linux-gnu/sys-include -g -O2
-fwhopr=jobserver -fuse-linker-plugin -frandom-seed=1 conftest.c
>&5
cc1: error: LTO support has not been enabled in this configuration