FS#42929 - [binutils] ld.gold sometimes generates invalid .eh_frames

Attached to Project: Arch Linux
Opened by Dave Reisner (falconindy) - Thursday, 27 November 2014, 16:10 GMT
Last edited by Allan McRae (Allan) - Monday, 29 December 2014, 23:58 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Upstream bug report:

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

Fix: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=9ec85a27138aefcd3fc35ddbd7727f384fe299b1

This bug results in all debugging sections being dropped from systemd libraries (libudev.so, libsystemd.so, etc) due to a combination of -Wl,-fuse-ld=gold -flto, -O2 and --gc-sections. This fix will be provided as part of binutils 2.25. It seems the 2.25 release branch was created back in September, but it's unclear to me what that actually means for a release date. If you happen to know that the release (and Arch package) will be landing Soon™, then feel free to just defer this. If not, it'd be nice to have this available sooner, as I provide debug packages for systemd.
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 29 December 2014, 23:58 GMT
Reason for closing:  Fixed
Comment by Allan McRae (Allan) - Friday, 28 November 2014, 04:04 GMT
The patch does not apply directly to the 2.24 branch so I will backport properly when I get time. I think 2.25 will be released in December.

Loading...