From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Jan Beulich <jbeulich@suse.com>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
Anthony PERARD <anthony.perard@vates.tech>,
Michal Orzel <michal.orzel@amd.com>,
Julien Grall <julien@xen.org>,
Stefano Stabellini <sstabellini@kernel.org>,
xen-devel@lists.xenproject.org
Subject: Re: [PATCH 1/5] xen/x86: always consider '/' as a division in assembly
Date: Wed, 11 Feb 2026 12:22:49 +0100 [thread overview]
Message-ID: <aYxmiU0ks4Lzrwgs@Mac.lan> (raw)
In-Reply-To: <124efc9a-b4f2-451f-8354-29ee78ac5bd5@suse.com>
On Wed, Feb 11, 2026 at 12:11:32PM +0100, Jan Beulich wrote:
> On 11.02.2026 11:46, Roger Pau Monne wrote:
> > --- a/xen/Makefile
> > +++ b/xen/Makefile
> > @@ -413,6 +413,13 @@ ifneq ($(CONFIG_CC_IS_CLANG),y)
> > CFLAGS += -Wa,--strip-local-absolute
> > endif
> >
> > +ifeq ($(CONFIG_X86),y)
> > +# The GNU assembler will interpret '/' as a comment start marker instead of a
> > +# divide for some ELF targets. Pass --divide when when available to signal '/'
> > +# is always used as an operator in assembly.
> > +$(call cc-option-add,CFLAGS,CC,-Wa$$(comma)--divide)
> > +endif
>
> As said before, I don't think this should be put here. Not even with the
> new ifeq(,) around it. It should go in x86/arch.mk, or a reason should be
> given why it can't.
My bad. I've attempted to put it there but got complains from the
build in x86/boot/. I think that was because I had leftover stale
objects in there, and nothing do to with the patch itself. I can
confirm it works when the chunk is placed in x86/arch.mk.
Thanks, Roger.
next prev parent reply other threads:[~2026-02-11 11:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-11 10:46 [PATCH 0/5] darwin: expand cross-builds to also support x86 and testing Roger Pau Monne
2026-02-11 10:46 ` [PATCH 1/5] xen/x86: always consider '/' as a division in assembly Roger Pau Monne
2026-02-11 11:01 ` Bertrand Marquis
2026-02-11 11:11 ` Jan Beulich
2026-02-11 11:22 ` Roger Pau Monné [this message]
2026-02-11 10:46 ` [PATCH 2/5] xen/tools: remove usages of `stat -s` in check-endbr.sh Roger Pau Monne
2026-02-11 11:08 ` Bertrand Marquis
2026-02-11 11:40 ` Jan Beulich
2026-02-11 12:24 ` Roger Pau Monné
2026-02-11 13:07 ` Jan Beulich
2026-02-11 13:34 ` Roger Pau Monné
2026-02-11 13:43 ` Jan Beulich
2026-02-11 10:46 ` [PATCH 3/5] xen/tools: fix grep reporting 'illegal byte sequence' " Roger Pau Monne
2026-02-11 11:10 ` Bertrand Marquis
2026-02-11 10:46 ` [PATCH 4/5] cirrus-ci: add x86 and arm64 macOS hypervisor builds Roger Pau Monne
2026-02-11 10:46 ` [PATCH 5/5] cirrus-ci: add x86 XTF self-tests for macOS build Roger Pau Monne
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=aYxmiU0ks4Lzrwgs@Mac.lan \
--to=roger.pau@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=sstabellini@kernel.org \
--cc=xen-devel@lists.xenproject.org \
/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.