bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/25968] New: plugin_test_1 fails when --gc-sections is on by de


From: hjl.tools at gmail dot com
Subject: [Bug gold/25968] New: plugin_test_1 fails when --gc-sections is on by default
Date: Sun, 10 May 2020 19:45:42 +0000

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

            Bug ID: 25968
           Summary: plugin_test_1 fails when --gc-sections is on by
                    default
           Product: binutils
           Version: 2.35 (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
  Target Milestone: ---

[hjl@gnu-cfl-2 testsuite]$ `echo g++ -fcf-protection -W -Wall   
-Wstack-usage=262144 -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fmerge-constants -g -O2 -fno-use-linker-plugin   -o plugin_test_1 | sed -e
's/\([^ ]*\)\(.*\)/\1 -Bgcctestdir\/\2/' -e
's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'`
-Wl,--no-demangle,--emit-relocs,--plugin,"./plugin_test.so",--plugin-opt,"_Z4f13iv"
two_file_test_main.o two_file_test_1.o.syms two_file_test_1b.o.syms
two_file_test_2.o.syms empty.o.syms -Wl,--gc-sections
API version:   1
gold version:  116
option: _Z4f13iv
Number of wrap symbols = 0
/usr/lib/gcc/x86_64-redhat-linux/10/../../../../lib64/crt1.o: claim file hook
called (offset = 0, size = 10584)
gcctestdir/collect-ld: internal error in do_layout, at
/export/gnu/import/git/gitlab/x86-binutils/gold/object.cc:1933
cleanup hook called
collect2: error: ld returned 1 exit status
[hjl@gnu-cfl-2 testsuite]$

-- 
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]