Fix PR 31956 causes new --wrap problems

Nick Clifton nickc@redhat.com
Thu Aug 1 11:11:59 GMT 2024


Hi Sam,

> Now, as the reporter of PR31956, it is OK as far as I'm concerned if
> we revert the patch on the branch *but* I will note that -Wl,--wrap with
> LTO has always been pretty brittle (several packages fail for us
> pre-PR31956) and I would argue it would be an OK workaround downstream
> to disable LTO there too.

Agreed.  My current plan is to leave the 2.43 branch sources alone, but
to apply a reversion patch to the Fedora Rawhide binutils instead.  This will
allow the PCP package to be built in rawhide, but obviously will not solve
whatever issues may actually be underlying the problem.

> Could you or Nathan file a Binutils PR with some instructions that
> reproduce the failure from a pcp tarball? I will try a bit more later but
> so far no luck.

I have not yet found an easy way to reproduce the problem outside of
the Fedora ecosystem.  But I am continuing to have a look.

Cheers
   Nick



More information about the Binutils mailing list