From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: "Huacai Chen" <chenhuacai@loongson.cn>,
"Huacai Chen" <chenhuacai@kernel.org>
Cc: loongarch@lists.linux.dev, "Xuefeng Li" <lixuefeng@loongson.cn>,
"Guo Ren" <guoren@kernel.org>, "Xuerui Wang" <kernel@xen0n.name>,
linux-kernel@vger.kernel.org,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"kernel test robot" <lkp@intel.com>,
"Rui Wang" <wangrui@loongson.cn>
Subject: Re: [PATCH] LoongArch: Fix build errors for CONFIG_RANDSTRUCT
Date: Tue, 25 Nov 2025 21:49:22 +0800 [thread overview]
Message-ID: <9c732952-2ff6-4672-ab9a-76ac8590bf88@app.fastmail.com> (raw)
In-Reply-To: <20251125082559.488612-1-chenhuacai@loongson.cn>
On Tue, 25 Nov 2025, at 4:25 PM, Huacai Chen wrote:
> When CONFIG_RANDSTRUCT enabled, members of task_struct are randomized.
> There is a chance that TASK_STACK_CANARY be out of 12bit immediate's
> range and causes build errors. TASK_STACK_CANARY is naturally aligned,
> so fix it by replacing ld.d/st.d with ldptr.d/stptr.d which have 14bit
> immediates.
Hi Huacai,
What about 32bit build in this case?
Thanks
Jiaxun
>
next prev parent reply other threads:[~2025-11-25 13:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-25 8:25 Huacai Chen
2025-11-25 13:49 ` Jiaxun Yang [this message]
2025-11-26 7:09 ` Huacai Chen
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=9c732952-2ff6-4672-ab9a-76ac8590bf88@app.fastmail.com \
--to=jiaxun.yang@flygoat.com \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=guoren@kernel.org \
--cc=kernel@xen0n.name \
--cc=linux-kernel@vger.kernel.org \
--cc=lixuefeng@loongson.cn \
--cc=lkp@intel.com \
--cc=loongarch@lists.linux.dev \
--cc=stable@vger.kernel.org \
--cc=wangrui@loongson.cn \
/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®