[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/27741] New: Using --emit-relocs with --gc-sections or -flto en
From: |
806251055 at qq dot com |
Subject: |
[Bug gold/27741] New: Using --emit-relocs with --gc-sections or -flto ends in failure |
Date: |
Fri, 16 Apr 2021 07:50:41 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27741
Bug ID: 27741
Summary: Using --emit-relocs with --gc-sections or -flto ends
in failure
Product: binutils
Version: 2.27
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: 806251055 at qq dot com
CC: ian at airs dot com
Target Milestone: ---
test.c:
main(){ return 0; }
1) CFLAGS="-fuse-ld=gold -Wl,--emit-relocs -Wl,--gc-sections" make test
2) CFLAGS="-fuse-ld=gold -Wl,--emit-relocs -flto" make test
1)
/usr/bin/ld.gold: internal error in do_layout, at object.cc:1821
collect2: error: ld returned 1 exit status
2)
/usr/bin/ld.gold: internal error in emit_relocs_scan, at reloc.cc:518
collect2: error: ld returned 1 exit status
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/27741] New: Using --emit-relocs with --gc-sections or -flto ends in failure,
806251055 at qq dot com <=