From: bugzilla-daemon@kernel.org
To: linuxppc-dev@lists.ozlabs.org
Subject: [Bug 215862] New: clang-14 fails 5.18-rc3 ppc64 BE kernel build - <unknown>:0: error: expected relocatable expression
Date: Mon, 18 Apr 2022 14:12:39 +0000 [thread overview]
Message-ID: <bug-215862-206035@https.bugzilla.kernel.org/> (raw)
https://bugzilla.kernel.org/show_bug.cgi?id=215862
Bug ID: 215862
Summary: clang-14 fails 5.18-rc3 ppc64 BE kernel build -
<unknown>:0: error: expected relocatable expression
Product: Platform Specific/Hardware
Version: 2.5
Kernel Version: 5.18-rc3
Hardware: PPC-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PPC-64
Assignee: platform_ppc-64@kernel-bugs.osdl.org
Reporter: erhard_f@mailbox.org
Regression: No
Created attachment 300776
--> https://bugzilla.kernel.org/attachment.cgi?id=300776&action=edit
kernel .config (kernel 5.18-rc3, Talos II)
# make LLVM=1
[...]
AR usr/built-in.a
CC arch/powerpc/kernel/ptrace/ptrace.o
CC arch/powerpc/kernel/ptrace/ptrace-view.o
CC arch/powerpc/kernel/ptrace/ptrace-fpu.o
CC arch/powerpc/kernel/ptrace/ptrace32.o
CC arch/powerpc/kernel/ptrace/ptrace-vsx.o
CC arch/powerpc/kernel/ptrace/ptrace-altivec.o
CC arch/powerpc/kernel/ptrace/ptrace-tm.o
CC arch/powerpc/kernel/ptrace/ptrace-noadv.o
AR arch/powerpc/kernel/ptrace/built-in.a
AR arch/powerpc/kernel/trace/built-in.a
AS arch/powerpc/kernel/head_64.o
<unknown>:0: error: expected relocatable expression
make[2]: *** [scripts/Makefile.build:389: arch/powerpc/kernel/head_64.o] Fehler
1
make[1]: *** [scripts/Makefile.build:550: arch/powerpc/kernel] Fehler 2
make: *** [Makefile:1834: arch/powerpc] Fehler 2
Toolchain used was llvm/clang/lld-14.0.1. Same kernel builds fine with
gcc-11.2, binutils-2.37.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
next reply other threads:[~2022-04-18 14:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 14:12 bugzilla-daemon [this message]
2022-11-15 18:48 ` [Bug 215862] clang-15 fails ppc64 BE kernel build - ld.lld: error: undefined symbol: .early_setup bugzilla-daemon
2022-11-15 18:49 ` bugzilla-daemon
2022-11-15 20:08 ` bugzilla-daemon
2022-11-15 23:11 ` bugzilla-daemon
2023-07-31 10:22 ` bugzilla-daemon
2023-07-31 10:23 ` bugzilla-daemon
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=bug-215862-206035@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linuxppc-dev@lists.ozlabs.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).