https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385
--- Comment #4 from rguenther at suse dot de <rguenther at suse dot de> --- On Thu, 30 Jul 2020, rguenther at suse dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385 > > --- Comment #3 from rguenther at suse dot de <rguenther at suse dot de> --- > On Thu, 30 Jul 2020, hjl.tools at gmail dot com wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96385 > > > > H.J. Lu <hjl.tools at gmail dot com> changed: > > > > What |Removed |Added > > ---------------------------------------------------------------------------- > > Status|WAITING |NEW > > > > --- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> --- > > A testcase is on pr96385 branch at: > > > > https://gitlab.com/x86-gcc/gcc-bugs > > I'd like to have the _source_ to whichever of the .o files > has the bogus relocation in the .gnulto.debug_info section. > > The bug happens at the compile stage. More specifically, .rela.gnu.debuglto_.debug_info may only contain relocations to other .gnu.debuglto_.* sections and definitely _not_ relocations to UNDEF symbols.