|
From: | hjl.tools at gmail dot com |
Subject: | [Bug ld/22836] New: "-r -s" doesn't work with -g3 using GCC 7 |
Date: | Mon, 12 Feb 2018 13:47:40 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22836 Bug ID: 22836 Summary: "-r -s" doesn't work with -g3 using GCC 7 Product: binutils Version: 2.31 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: hjl.tools at gmail dot com Target Milestone: --- address@hidden tmp]$ cat x.c void foo () { } address@hidden tmp]$ gcc -c -g3 x.c address@hidden tmp]$ ld.bfd -r -s x.o ld.bfd: BFD (Linux/GNU Binutils) 2.30.51.0.1.20180210 assertion fail /net/gnu-bdx-1/export/linux/src/binutils/binutils/bfd/elf.c:3565 ld.bfd: BFD (Linux/GNU Binutils) 2.30.51.0.1.20180210 assertion fail /net/gnu-bdx-1/export/linux/src/binutils/binutils/bfd/elf.c:3565 Gold gives reason, but still fails: address@hidden tmp]$ ld.gold -r -s x.o ld.gold: error: x.o: section group retained but group element discarded ld.gold: error: x.o: section group retained but group element discarded ld.gold: error: x.o: section group retained but group element discarded ld.gold: error: x.o: section group retained but group element discarded address@hidden tmp]$ -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |