From: Madhavan Srinivasan <maddy@linux.ibm.com>
To: linuxppc-dev@lists.ozlabs.org, Amit Machhiwal <amachhiw@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>,
Nicholas Piggin <npiggin@gmail.com>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Antonio Alvarez Feijoo <antonio.feijoo@suse.com>,
Vaibhav Jain <vaibhav@linux.ibm.com>,
Harsh Prateek Bora <harshpb@linux.ibm.com>,
Anushree Mathur <anushree.mathur@linux.ibm.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] powerpc/boot: Allow text relocations for pseries wrapper with binutils 2.46+
Date: Sat, 20 Jun 2026 03:29:14 +0530 [thread overview]
Message-ID: <178190618808.653308.18352486691343110152.b4-ty@linux.ibm.com> (raw)
In-Reply-To: <20260525161601.32097-1-amachhiw@linux.ibm.com>
On Mon, 25 May 2026 21:46:01 +0530, Amit Machhiwal wrote:
> Binutils 2.46 changed the default linker behavior from '-z notext' to
> '-z text', which treats dynamic relocations in read-only segments as
> errors rather than warnings. This causes the pseries boot wrapper build
> to fail with:
>
> /usr/bin/ld.bfd: arch/powerpc/boot/wrapper.a(crt0.o): warning:
> relocation against `_platform_stack_top' in read-only section `.text'
> /usr/bin/ld.bfd: error: read-only segment has dynamic relocations
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/boot: Allow text relocations for pseries wrapper with binutils 2.46+
https://git.kernel.org/powerpc/c/97f902dd4c99f8d085da5343dc58ae4f6ce7bdd9
cheers
prev parent reply other threads:[~2026-06-19 21:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 16:16 Amit Machhiwal
2026-05-26 6:44 ` Anushree Mathur
2026-06-19 21:59 ` Madhavan Srinivasan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178190618808.653308.18352486691343110152.b4-ty@linux.ibm.com \
--to=maddy@linux.ibm.com \
--cc=amachhiw@linux.ibm.com \
--cc=antonio.feijoo@suse.com \
--cc=anushree.mathur@linux.ibm.com \
--cc=chleroy@kernel.org \
--cc=harshpb@linux.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=npiggin@gmail.com \
--cc=vaibhav@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®