[Bug bootstrap/87130] New: [9 Regression] LTO bootstrap failed with profiledbootstrap

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 28 17:05:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87130

            Bug ID: 87130
           Summary: [9 Regression] LTO bootstrap failed with
                    profiledbootstrap
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

On x86-64, r263887 gave

/export/project/git/gcc-bisect-bootstrap/master/263887/bld/./prev-gcc/xg++
-B/export/project/git/gcc-bisect-bootstrap/master/263887/bld/./prev-gcc/
-B/export/project/git/gcc-bisect-bootstrap/master/263887/usr/x86_64-pc-linux-gnu/bin/
-nostdinc++
-B/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-B/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs

-I/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu

-I/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/include
 -I/export/project/git/gcc-bisect/gcc/libstdc++-v3/libsupc++
-L/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs
-L/export/project/git/gcc-bisect-bootstrap/master/263887/bld/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs
-no-pie   -g -O2 -fno-checking -flto=jobserver -frandom-seed=1
-fprofile-generate -flto=jobserver -frandom-seed=1 -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 gengtype \
    gengtype.o gengtype-lex.o gengtype-parse.o gengtype-state.o version.o
errors.o libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a
../libdecnumber/libdecnumber.a ../libbacktrace/.libs/libbacktrace.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a 
/export/project/git/gcc-bisect/gcc/libiberty/regex.c:1460:5: error:
‘xre_max_failures’ has already been defined
1460 | int re_max_failures = 4000;
     |     ^
/export/project/git/gcc-bisect/gcc/libiberty/regex.c:1460:5: note: previously
defined here
lto1: fatal error: errors during merging of translation units
compilation terminated.
lto-wrapper: fatal error:
/export/project/git/gcc-bisect-bootstrap/master/263887/bld/./prev-gcc/xg++
returned 1 exit status
compilation terminated.
/usr/local/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:2867: gengtype] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f Tlto-wrapper lto-wrapper
mv -f Tcollect2 collect2
rm fsf-funding.pod gcov.pod gpl.pod cpp.pod gfdl.pod gcc.pod gcov-dump.pod
gcov-tool.pod
make[3]: Leaving directory
'/export/project/git/gcc-bisect-bootstrap/master/263887/bld/gcc'
make[2]: *** [Makefile:4767: all-stageprofile-gcc] Error 2
make[2]: Leaving directory
'/export/project/git/gcc-bisect-bootstrap/master/263887/bld'
make[1]: *** [Makefile:21882: stageprofile-bubble] Error 2
make[1]: Leaving directory
'/export/project/git/gcc-bisect-bootstrap/master/263887/bld'
make: *** [Makefile:22136: profiledbootstrap] Error 2

when GCC was configured with

 --with-build-config=bootstrap-lto --disable-werror


More information about the Gcc-bugs mailing list