All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [peterz-queue:module/namespace 8/8] <inline asm>:1191:93: error: unexpected token
Date: Sun, 17 Nov 2024 12:32:12 +0100	[thread overview]
Message-ID: <20241117113212.GC27667@noisy.programming.kicks-ass.net> (raw)
In-Reply-To: <202411170618.NtapXkN9-lkp@intel.com>

On Sun, Nov 17, 2024 at 06:49:12AM +0800, kernel test robot wrote:

>     1191 | .section ".export_symbol","a" ; __export_symbol_kvm_caps: ; .asciz "GPL" ; .asciz "MODULE_" "kvm,kvm-intel,kvm-amd" ; .balign 8 ; .quad kvm_caps ; .previous
>          |                                                                                             ^

Urgh.. so GCC does the expected string concatenation here, while LLVM is
having a wobble because it expects a single string constant, and not
two.

I've tried the whole CONCATENATE() trick, but that doesn't work right
for strings.

And I'm not sure what else to try.. The whole of C is build on the
expectation that two string constants are merged into one, but LLVM
integrated assembler clearly disagrees :-/

Anybody?

  reply	other threads:[~2024-11-17 11:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-16 22:49 [peterz-queue:module/namespace 8/8] <inline asm>:1191:93: error: unexpected token kernel test robot
2024-11-17 11:32 ` Peter Zijlstra [this message]
2024-11-18 10:45   ` Peter Zijlstra

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=20241117113212.GC27667@noisy.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.