[PATCH v3] ld: Maintain the input file order

H.J. Lu hjl.tools@gmail.com
Wed Apr 22 22:04:42 GMT 2026


On Wed, Apr 22, 2026 at 8:01 PM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 22.04.2026 10:48, H.J. Lu wrote:
> > I added
> >
> > Add a static LTO test to reference feclearexcept which is a compiler
> > builtin function and isn't in the LTO symbol table when GCC is used.
> > It triggers the run-time crash on glibc targets of a linker script
> > libm.a without this fix when GCC 13 or above is used:
> >
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124869
> >
> > in the commit message.
>
> And that behavior is independent of glibc version (and other factors
> which may influence its behavior)?

The libm.a linker script was added to glibc 2.22 for x86-64 and to glibc
2.38 for aarch64.

> > Here is the v3 patch.

Pushed.

> Okay.
>
> Jan



-- 
H.J.


More information about the Binutils mailing list