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: rguenther at suse dot de
Subject: [Bug ld/20882] GNU ld discards sections required by relocations in .debug_info with --gc-sections
Date: Wed, 14 Mar 2018 13:37:18 +0000

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

--- Comment #26 from rguenther at suse dot de ---
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 ...

> a linker bug, it should be fixed in linker and mark the test as XFAIL.

But we expect it to PASS now...

> We can use "ld --version" to check if the linker is fixed or not.

Yeah, but I just backported the rev. to a 2.29.1 based package so
that doesn't work.  You need to perform functional tests.

IMHO not worth the trouble.

-- 
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]