http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45958
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; \
../src-trunk/configure \
--enable-clocale=gnu --with-system-zlib --enable-shared
--with-demangler-in-ld --with-build-config=bootstrap-lto
--enable-stage1-languages=c,lto -with-plugin-ld=ld.gold --enable-gold
--with-fpmath=sse
....
--with-demangler-in-ld will make gcc to pass "--demangle -plugin ..." to ld.
But exec-tool.in has
collect-ld)
# when using a linker plugin, gcc will always pass '-plugin' as the
# first option to the linker.
if test x"$1" = "x-plugin"; then
original=$ORIGINAL_PLUGIN_LD_FOR_TARGET
else
original=$ORIGINAL_LD_FOR_TARGET
fi
It doesn't work with "--demangle -plugin ...".