Re: git: 0817c8dc2a48 - main - Avoid adding -d to kernel module link command lines for lld >= 14

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 22 May 2022 05:36:10 UTC
When I build kernels for armv7 on (output line split
for readability):

# uname -apKU
FreeBSD CA72_16Gp_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #53
main-n255638-0817c8dc2a48-dirty: Sat May 14 16:50:12 PDT 2022
root@CA72_16Gp_ZFS:/usr/obj/BUILDs/main-CA72-nodbg-clang/usr/main-src/arm64.aarch64/sys/GENERIC-NODBG-CA72
arm64 aarch64 1400059 1400059

as part of upgrading things to:

# ~/fbsd-based-on-what-commit.sh -C /usr/main-src/
branch: main
merge-base: 77649f35a7e53e3cbbd5b416e8802f70e21a99f6
merge-base: CommitDate: 2022-05-21 18:30:35 +0000
77649f35a7e5 (HEAD -> main, freebsd/main, freebsd/HEAD) boot/zfs: Extend zfsimpl.h and make it easier to use
n255745 (--first-parent --count for merge-base)

I still get notices about:

Building /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/sys/GENERIC-NODBG-CA7/sdma-imx6q.fwo
--- sdma-imx6q.fwo ---
ld: warning: -d, -dc, -dp, and --[no-]define-common will be removed. See https://github.com/llvm/llvm-project/issues/53660


Such is not true for targeting amd64 or aarch64, just
for targeting armv7. (My context is limited to those 3.)

===
Mark Millard
marklmi at yahoo.com