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 static glibc


From: hjl.tools at gmail dot com
Subject: [Bug ld/27495] -z start_stop_gc isn't compatible with static glibc
Date: Wed, 03 Mar 2021 02:27:30 +0000

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

--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Alan Modra from comment #7)
> 
> It is true that --start-stop-gc may break linking with current static glibc,
> a fact that limits --start-stop-gc usefulness.
> 
> BTW, this testcase also shows an interaction between section groups and
> start/stop symbol gc.  If you move the foo reference before the __start_xx
> reference then no magic linker marking of xx sections happens.
> 

It is not just static glibc.  PR 19161 has another usage.

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