Bug 60887 - [4.10 Regression] LTO bootstrap failed with profiledbootstrap
Summary: [4.10 Regression] LTO bootstrap failed with profiledbootstrap
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 5.0
: P3 normal
Target Milestone: 5.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 14:56 UTC by H.J. Lu
Modified: 2014-05-09 20:49 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2014-04-18 14:56:36 UTC
On Linux/x86-64, r209484 caused LTO bootstrap failed with bootstrap-profiled.
GCC is configured with

--prefix=/usr/local --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld MAKEINFO=/usr/bin/false --enable-languages=c,c++ --enable-bootstrap --with-build-config=bootstrap-lto --disable-werror

and built with profiledbootstrap.
Comment 1 H.J. Lu 2014-04-18 14:58:01 UTC
I got

/export/project/git/gcc-regression-bootstrap/master/209484/bld/./prev-gcc/xg++ -B/export/project/git/gcc-regression-bootstrap/master/209484/bld/./prev-gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -nostdinc++ -B/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -B/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs  -I/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include/x86_64-unknown-linux-gnu  -I/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/include  -I/export/project/git/gcc-regression/gcc/libstdc++-v3/libsupc++ -L/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/src/.libs -L/export/project/git/gcc-regression-bootstrap/master/209484/bld/prev-x86_64-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs   -g -O2 -flto=jobserver -frandom-seed=1 -ffat-lto-objects -fprofile-use -DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o lto1 \
	lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a  -lmpc -lmpfr -lgmp -rdynamic -ldl  -lz libcommon.a ../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
/tmp/ccR2WYVX.ltrans4.ltrans.o:(.debug_info+0x988e2): undefined reference to `.L958'
collect2: error: ld returned 1 exit status
make[3]: *** [lto1] Error 1
Comment 2 H.J. Lu 2014-05-09 20:49:31 UTC
Bootstrap worked since wide-int merge.