All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Gary Guo" <gary@garyguo.net>
To: "Miguel Ojeda" <miguel.ojeda.sandonis@gmail.com>,
	"Jan Polensky" <japo@linux.ibm.com>
Cc: "Heiko Carstens" <hca@linux.ibm.com>,
	"Vasily Gorbik" <gor@linux.ibm.com>,
	"Alexander Gordeev" <agordeev@linux.ibm.com>,
	"Christian Borntraeger" <borntraeger@linux.ibm.com>,
	"Sven Schnelle" <svens@linux.ibm.com>,
	"Miguel Ojeda" <ojeda@kernel.org>, <linux-s390@vger.kernel.org>,
	<rust-for-linux@vger.kernel.org>
Subject: Re: [PATCH v1 1/1] s390/rust: Use -Cforce-frame-pointers instead of -Ctarget-feature=+backchain
Date: Wed, 02 Dec 2026 17:05:23 +0000	[thread overview]
Message-ID: <DNAESICFLPTB.1WNSVCP5H9PH1@garyguo.net> (raw)
In-Reply-To: <CANiq72mbU5Tkb9BW4W2UNa-aJR+W6R6w2Gj5vbsq_2it0JyVWQ@mail.gmail.com>

On Wed Dec 2, 2026 at 4:48 PM GMT, Miguel Ojeda wrote:
> On Wed, Dec 2, 2026 at 5:37 PM Jan Polensky <japo@linux.ibm.com> wrote:
>>
>> Newer rustc releases reject -Ctarget-feature=+backchain on s390x with
>>
>>   error: target feature `backchain` cannot be enabled with
>>   `-Ctarget-feature`: use `-Cforce-frame-pointers` compiler flag instead
>>
>> On s390x, -Cforce-frame-pointers now enables the "backchain" LLVM function
>> attribute instead of the generic "frame-pointer" attribute.
>
> But it didn't before, no? So what about older versions?
>
> i.e. should we switch based on the version like we do often with these flags?

Or switch on probe so that as long as `-Ctarget-feature=+backchain` is accepted
then still pass it.

We can unconditionally enable -Cforce-frame-pointers.

Best,
Gary


      reply	other threads:[~2026-12-02 17:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 16:37 [PATCH v1 1/1] s390/rust: Use -Cforce-frame-pointers instead of -Ctarget-feature=+backchain Jan Polensky
2026-12-02 16:47 ` sashiko-bot
2026-12-02 16:48 ` Miguel Ojeda
2026-12-02 17:05   ` Gary Guo [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=DNAESICFLPTB.1WNSVCP5H9PH1@garyguo.net \
    --to=gary@garyguo.net \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=japo@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=miguel.ojeda.sandonis@gmail.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=svens@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.