Clarification on Backporting Fix for Bug 32603 (ld -w SEGV) to binutils-2.44

Dora, Sunil Kumar SunilKumar.Dora@windriver.com
Wed Apr 23 10:56:20 GMT 2025


Hi Alan,

Thank you for the clarification and for your help with the backport to the 2_44 branch.

I noticed that you also submitted another commit that currently exists only in the master branch: (Bug 32603<https://sourceware.org/bugzilla/show_bug.cgi?id=32603>)

git branch -r --contains 6d74c1f313df5e82bb9ef0940a477cba5d76db00
  origin/HEAD -> origin/master
  origin/master

Could you please confirm if this commit is also required for the 2_44 branch?
Thanks again for your support.

Thanks,
Sunil Dora
________________________________
From: Alan Modra <amodra@gmail.com>
Sent: Wednesday, April 23, 2025 5:35 AM
To: Dora, Sunil Kumar <SunilKumar.Dora@windriver.com>
Cc: binutils@sourceware.org <binutils@sourceware.org>
Subject: Re: Clarification on Backporting Fix for Bug 32603 (ld -w SEGV) to binutils-2.44

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Mon, Apr 21, 2025 at 04:46:27AM +0000, Dora, Sunil Kumar wrote:
> I’ve been working on backporting the fix for Bug 32603<https://sourceware.org/bugzilla/show_bug.cgi?id=32603> (ld segv with -w -o and permission issues) to the binutils-2_44-branch for our product.
>
> I noticed that the initial fix in commit 8d97c1a53f3d<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8d97c1a53f3dc9fd8e1ccdb039b8a33d50133150> addressed the issue in the ld/ directory, while the follow-up commit d26161914cf2<https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d26161914cf286171b29767916a212685f9aadf3> extended the fix to bfd/.
>
> To ensure the backport is complete, I wanted to confirm:
> Should both commits be combined for the 2.44 backport, or is the ld/ fix sufficient for the issue as reported?
>
> If both are needed, would you recommend squashing them into a single backport commit? Thank you for your time.

I think generally it is better to keep backport patches separate,
unless there was something badly wrong with an earlier patch
(eg. it caused a build error).

I've done the backport myself.

--
Alan Modra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250423/bc5805ff/attachment-0001.htm>


More information about the Binutils mailing list