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:27:10 +0000

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
a linker bug, it should be fixed in linker and mark the test as XFAIL.
We can use "ld --version" to check if the linker is fixed or not.

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