https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82757
Alan Modra <amodra at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amodra at gmail dot com --- Comment #2 from Alan Modra <amodra at gmail dot com> --- > Quite surely fallout of Alans changes... Not so fast. I have a build of gcc version 8.0.0 20170921 predating any changes I made to simple-object-elf.c, that exhibits the same failure with gold. I strongly suspect the -fuse-ld=gold failure started with commit cb194cb7e741bba8741c61cdd63cc4cbe3b0c3f2 Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu Aug 31 11:21:40 2017 +0000 2017-08-31 Richard Biener <rguent...@suse.de> PR lto/81968 * simple-object-elf.c (simple_object_elf_copy_lto_debug_section): Keep names of removed global symbols. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251560 138bc75d-0d04-0410-961f-82ee72b054a4