bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/20882] GNU ld discards sections required by relocations in .debu


From: hjl.tools at gmail dot com
Subject: [Bug ld/20882] GNU ld discards sections required by relocations in .debug_info with --gc-sections
Date: Wed, 14 Mar 2018 13:40:57 +0000

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

--- Comment #27 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to rguenther from comment #26)
> On Wed, 14 Mar 2018, hjl.tools at gmail dot com wrote:
> 
> > https://sourceware.org/bugzilla/show_bug.cgi?id=20882
> > 
> > --- Comment #25 from H.J. Lu <hjl.tools at gmail dot com> ---
> > (In reply to rguenther from comment #24)
> > > > 
> > > > Shouldn't --gc-section tests be enabled in libstdc++ and mark them as 
> > > > XFAIL?
> > > 
> > > Not sure how reliable we can identify those.  Also we'd get
> > > XPASS then unless we have a way to check whether ld is affected by
> > > the bug or not.
> > 
> > Any unknown --gc-section test failure should be investigated.  If it is
> 
> Which is why I reported the bug originally ...
> 

This is exactly the problem.  Yes, linker bug was reported, fixed and
verified withe the provided testcase.  However, the --gc-section test
in libstdc++ is skipped and I didn't know that the linker fix was incomplete.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]