From: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
To: Brian Cain <brian.cain@oss.qualcomm.com>, linux-hexagon@vger.kernel.org
Cc: sid.manning@oss.qualcomm.com, pierrick.bouvier@oss.qualcomm.com
Subject: Re: [PATCH 3/7] hexagon: stop passing -mv${CONFIG_HEXAGON_ARCH_VERSION} to the linker
Date: Wed, 23 Sep 2026 08:08:16 +0200 [thread overview]
Message-ID: <3b97c7b5-38ca-4735-b91f-e63603974eae@oss.qualcomm.com> (raw)
In-Reply-To: <20260906021712.2498266-4-brian.cain@oss.qualcomm.com>
On 2026-09-06 4:17, Brian Cain wrote:
> ldflags-y is probed with cc-option, which checks whether the compiler
> accepts the flag, then the result is appended to KBUILD_LDFLAGS, which
> is passed straight to $(LD) -- the linker, not the compiler. This
> presumed the linker was ld.qcld (aka ld.eld), which does accept the
> -mvNN flags. ld.lld does not: it parses "-mvNN" as "-m vNN", i.e. a
> request for an emulation named "vNN", which does not exist, and fails
> with "unknown emulation: vNN".
>
> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
> ---
> arch/hexagon/Makefile | 2 --
> 1 file changed, 2 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
next prev parent reply other threads:[~2026-09-23 6:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-06 2:17 [PATCH 0/7] Hexagon build/syscall/etc fixes Brian Cain
2026-09-06 2:17 ` [PATCH 1/7] hexagon: disable the LLVM packetizer Brian Cain
2026-09-06 2:17 ` [PATCH 2/7] hexagon: define ELF_CORE_EFLAGS for V4-and-later architectures Brian Cain
2026-09-23 6:08 ` Philippe Mathieu-Daudé
2026-09-06 2:17 ` [PATCH 3/7] hexagon: stop passing -mv${CONFIG_HEXAGON_ARCH_VERSION} to the linker Brian Cain
2026-09-23 6:08 ` Philippe Mathieu-Daudé [this message]
2026-09-06 2:17 ` [PATCH 4/7] hexagon: read the thread-info register with a volatile asm Brian Cain
2026-09-06 2:17 ` [PATCH 5/7] hexagon: let do_work_pending return without pending work Brian Cain
2026-09-06 2:17 ` [PATCH 6/7] hexagon: set the user stack pointer in start_thread Brian Cain
2026-09-06 2:17 ` [PATCH 7/7] hexagon: return -ENOSYS for unimplemented syscalls Brian Cain
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=3b97c7b5-38ca-4735-b91f-e63603974eae@oss.qualcomm.com \
--to=philmd@oss.qualcomm.com \
--cc=brian.cain@oss.qualcomm.com \
--cc=linux-hexagon@vger.kernel.org \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=sid.manning@oss.qualcomm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox