All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>
Cc: Derek Parker <parkerderek86@gmail.com>,
	llvm@lists.linux.dev, Nick Desaulniers <ndesaulniers@google.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Dmitrii Okunev <xaionaro@gmail.com>,
	linuxppc-dev@lists.ozlabs.org
Subject: LLVM/clang ias build fails with unsupported arguments '-mpower4' and '-many' to option 'Wa,'
Date: Mon, 13 Sep 2021 11:48:21 +0200	[thread overview]
Message-ID: <62cc7e62-d072-7b16-8b6c-006f067b1ed7@molgen.mpg.de> (raw)

Dear Linux folks,


Building Linux with LLVM’s integrated assembler fails with the error 
below [1].

```
$ ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make LLVM=1 
LLVM_IAS=1 -j72 pseries_defconfig arch/powerpc/kernel/vdso32/gettimeofday.o
...
arch/powerpc/kernel/vdso32/gettimeofday.S:72:8: error: unsupported 
directive '.stabs'
.stabs "_restgpr_31_x:F-1",36,0,0,_restgpr_31_x; .globl _restgpr_31_x; 
_restgpr_31_x:
        ^
arch/powerpc/kernel/vdso32/gettimeofday.S:73:8: error: unsupported 
directive '.stabs'
.stabs "_rest32gpr_31_x:F-1",36,0,0,_rest32gpr_31_x; .globl 
_rest32gpr_31_x; _rest32gpr_31_x:
        ^
```

The LLVM developers are not planning on implementing this, as Stab has 
been succeeded by DWARF [2].


Kind regards,

Paul


[1]: https://github.com/ClangBuiltLinux/linux/issues/1418
[2]: https://bugs.llvm.org/show_bug.cgi?id=31134

WARNING: multiple messages have this Message-ID (diff)
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Michael Ellerman <mpe@ellerman.id.au>,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>
Cc: linuxppc-dev@lists.ozlabs.org,
	Derek Parker <parkerderek86@gmail.com>,
	Dmitrii Okunev <xaionaro@gmail.com>,
	Nathan Chancellor <nathan@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>,
	llvm@lists.linux.dev
Subject: LLVM/clang ias build fails with unsupported arguments '-mpower4' and '-many' to option 'Wa,'
Date: Mon, 13 Sep 2021 11:48:21 +0200	[thread overview]
Message-ID: <62cc7e62-d072-7b16-8b6c-006f067b1ed7@molgen.mpg.de> (raw)

Dear Linux folks,


Building Linux with LLVM’s integrated assembler fails with the error 
below [1].

```
$ ARCH=powerpc CROSS_COMPILE=powerpc64le-linux-gnu- make LLVM=1 
LLVM_IAS=1 -j72 pseries_defconfig arch/powerpc/kernel/vdso32/gettimeofday.o
...
arch/powerpc/kernel/vdso32/gettimeofday.S:72:8: error: unsupported 
directive '.stabs'
.stabs "_restgpr_31_x:F-1",36,0,0,_restgpr_31_x; .globl _restgpr_31_x; 
_restgpr_31_x:
        ^
arch/powerpc/kernel/vdso32/gettimeofday.S:73:8: error: unsupported 
directive '.stabs'
.stabs "_rest32gpr_31_x:F-1",36,0,0,_rest32gpr_31_x; .globl 
_rest32gpr_31_x; _rest32gpr_31_x:
        ^
```

The LLVM developers are not planning on implementing this, as Stab has 
been succeeded by DWARF [2].


Kind regards,

Paul


[1]: https://github.com/ClangBuiltLinux/linux/issues/1418
[2]: https://bugs.llvm.org/show_bug.cgi?id=31134

             reply	other threads:[~2021-09-13  9:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13  9:48 Paul Menzel [this message]
2021-09-13  9:48 ` LLVM/clang ias build fails with unsupported arguments '-mpower4' and '-many' to option 'Wa,' Paul Menzel

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=62cc7e62-d072-7b16-8b6c-006f067b1ed7@molgen.mpg.de \
    --to=pmenzel@molgen.mpg.de \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=llvm@lists.linux.dev \
    --cc=mpe@ellerman.id.au \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=parkerderek86@gmail.com \
    --cc=paulus@samba.org \
    --cc=xaionaro@gmail.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.