bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections


From: hjl.tools at gmail dot com
Subject: [Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections
Date: Tue, 02 Mar 2021 23:05:08 +0000

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

--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #5)
> (In reply to H.J. Lu from comment #2)
> > So this option generates broken outputs by design.
> Not at all.  The option turns off some linker garbage collection magic in
> cases where you do not want that magic.  Saying this option generates broken
> output is a little silly.  It's like saying -z norelro is broken because I
> want relro output!

Packages, like libc.a from glibc, depend on such "magic".  How does one
know when -z start_stop_gc is safe to to use?

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