bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/23397] New: internal error in emit_relocs_scan gold/reloc.cc:5


From: hjl.tools at gmail dot com
Subject: [Bug gold/23397] New: internal error in emit_relocs_scan gold/reloc.cc:518
Date: Tue, 10 Jul 2018 20:25:18 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23397

            Bug ID: 23397
           Summary: internal error in emit_relocs_scan gold/reloc.cc:518
           Product: binutils
           Version: 2.32 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at gmail dot com
          Reporter: hjl.tools at gmail dot com
                CC: ian at airs dot com, skpgkp1 at gmail dot com
  Target Milestone: ---

On Linux/x86-64, most, if not all, of gold tests failed with -Wl,-q -flto:

`echo g++ -Wl,-q -DHAVE_CONFIG_H -I.
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite -I.. 
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/..
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../include
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../elfcpp -I..
-DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall    -Wstack-usage=262144
-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2
-flto | sed -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -MT tls_test.o -MD -MP
-MF .deps/tls_test.Tpo -c -o tls_test.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/tls_test.cc
mv -f .deps/tls_test.Tpo .deps/tls_test.Po
`echo g++ -Wl,-q -DHAVE_CONFIG_H -I.
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite -I.. 
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/..
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../include
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../elfcpp -I..
-DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall    -Wstack-usage=262144
-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2
-flto | sed -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -MT tls_test_file2.o
-MD -MP -MF .deps/tls_test_file2.Tpo -c -o tls_test_file2.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/tls_test_file2.cc
mv -f .deps/tls_test_file2.Tpo .deps/tls_test_file2.Po
`echo g++ -Wl,-q -DHAVE_CONFIG_H -I.
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite -I.. 
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/..
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../include
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../elfcpp -I..
-DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall    -Wstack-usage=262144
-Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2
-flto | sed -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -MT tls_test_main.o -MD
-MP -MF .deps/tls_test_main.Tpo -c -o tls_test_main.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/tls_test_main.cc
mv -f .deps/tls_test_main.Tpo .deps/tls_test_main.Po
`echo gcc -Wl,-q -DHAVE_CONFIG_H -I.
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite -I.. 
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/..
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../include
-I/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/../../elfcpp -I..
-DLOCALEDIR="\"/usr/local/share/locale\""   -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -flto | sed -e
's/-Wp,-D_FORTIFY_SOURCE=[0-9[0-9]]*//'` -c -fopenmp -o tls_test_c.o
/export/gnu/import/git/sources/binutils-gdb/gold/testsuite/tls_test_c.c
g++ -Wl,-q -W -Wall    -Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O2 -flto -Bgcctestdir/ -pthread
-static -static-libstdc++ -static-libgcc  -o tls_static_test tls_test.o
tls_test_file2.o tls_test_main.o tls_test_c.o  -ldl -ldl 
gcctestdir/ld: internal error in emit_relocs_scan, at
/export/gnu/import/git/sources/binutils-gdb/gold/reloc.cc:518
collect2: error: ld returned 1 exit status
make: *** [Makefile:4555: tls_static_test] Error 1

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]