On Fri, Feb 27, 2015 at 2:11 PM, Uros Bizjak <ubiz...@gmail.com> wrote: > On Wed, Feb 25, 2015 at 8:18 PM, Richard Henderson <r...@redhat.com> wrote: >> On 02/25/2015 09:02 AM, Uros Bizjak wrote: >>> The patch was tested on alpha-linux-gnu and alphaev68-linux-gnu for >>> all default languages plus obj-c++ and go. >>> >>> OK for mainline? >> >> Ok. Thanks. > > Unfortunately, while "normal" bootstrap works OK with alpha-linux-gnu > and alphaev68-linux-gnu, the bootstrap still fails when configured > --with-build-config=bootstrap-lto: > > libbackend.a(tree-data-ref.o): In function `non_affine_dependence_relation': > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1661:(.text+0x1b8): > relocation truncated to fit: GPREL16 against symbol `dump_file' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1661:(.text+0x1d0): > relocation truncated to fit: GPREL16 against symbol `dump_flags' > defined in .sbss section in libbackend.a(dumpfile.o) > libbackend.a(tree-data-ref.o): In function > `compute_overlap_steps_for_affine_1_2': > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:2265:(.text+0x72a8): > relocation truncated to fit: GPREL16 against symbol `dump_file' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:2265:(.text+0x72b4): > relocation truncated to fit: GPREL16 against symbol `dump_flags' > defined in .sbss section in libbackend.a(dumpfile.o) > libbackend.a(tree-data-ref.o): In function `analyze_siv_subscript_cst_affine': > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1953:(.text+0x8a5c): > relocation truncated to fit: GPREL16 against symbol `dump_file' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1953:(.text+0x8a74): > relocation truncated to fit: GPREL16 against symbol `dump_flags' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1968:(.text+0x8bc0): > relocation truncated to fit: GPREL16 against symbol `dump_file' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:1968:(.text+0x8bd8): > relocation truncated to fit: GPREL16 against symbol `dump_flags' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:2049:(.text+0x8db8): > relocation truncated to fit: GPREL16 against symbol `dump_file' > defined in .sbss section in libbackend.a(dumpfile.o) > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:2049:(.text+0x8dd0): > relocation truncated to fit: GPREL16 against symbol `dump_flags' > defined in .sbss section in libbackend.a(dumpfile.o) > libbackend.a(tree-data-ref.o): In function > `dr_analyze_innermost(data_reference*, loop*)': > /space/uros/gcc-build-profiled/gcc/../../gcc-svn/trunk/gcc/tree-data-ref.c:802:(.text+0xb54c): > additional relocation overflows omitted from the output > collect2: error: ld returned 1 exit status > ../../gcc-svn/trunk/gcc/lto/Make-lang.in:71: recipe for target 'lto1' failed > gmake[3]: *** [lto1] Error 1
I just noticed that this error is from LTO profiledbootstrap build, with the failed command: /space/uros/gcc-build-profiled/./prev-gcc/xg++ -B/space/uros/gcc-build-profiled/./prev-gcc/ -B/usr/local/alphaev68-unknown-linux-gnu/bin/ -nostdinc++ -B/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs -B/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -I/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/include/alphaev68-unknown-linux-gnu -I/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/include -I/space/uros/gcc-svn/trunk/libstdc++-v3/libsupc++ -L/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/src/.libs -L/space/uros/gcc-build-profiled/prev-alphaev68-unknown-linux-gnu/libstdc++-v3/libsupc++/.libs -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -fno-lto -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 -L../zlib -lz libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a The LTO bootstrap works OK also without -Wl,--no-relax. Uros.