devel/freebsd-gcc12 based amd64 buildworld buildkernel: a Failure notice ( non-debug buildworld ) + Messages ( buildkernel 's)

From: Mark Millard <marklmi_at_yahoo.com>
Date: Fri, 10 Feb 2023 10:29:30 UTC
Non-debug buildworld Failure notice :

/usr/local/bin/x86_64-unknown-freebsd14.0-ld: /usr/obj/BUILDs/main-amd64-nodbg-gccxtc/usr/main-src/amd64.amd64/lib/libblacklist/libblacklist.a(bl.o): relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIE
/usr/local/bin/x86_64-unknown-freebsd14.0-ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status

(This prevented the buildkernel that was also listed on the command line. So. . .)

non-debug buildkernel (run separately, by itself) Messagees:
(I show the last of the _dwarf_info_load(229) related messages
and what follows.)

ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
Building /usr/obj/BUILDs/main-amd64-nodbg-gccxtc/usr/main-src/amd64.amd64/sys/GENERIC-NODBG/kernel.full
--- kernel.full ---
linking kernel.full
/usr/local/x86_64-unknown-freebsd14.0/bin/ld: warning: vmbus_vector.o: missing .note.GNU-stack section implies executable stack
/usr/local/x86_64-unknown-freebsd14.0/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ctfmerge -L VERSION -g -o kernel.full ...
ERROR: ctfmerge: No ctf sections found to merge
   text   data     bss     dec     hex filename
49889625 2076257 4651648 56617530 35fea3a kernel.full

(The later debug buildkernel is similar.)


debug buildworld: completed, no odd messages at the end.

debug buildkernel Messages :
(I show the last of the _dwarf_info_load(229) related messages
and what follows.)

. . .
ERROR: ctfconvert: rc = 1 Unsupported version [_dwarf_info_load(229)]
Building /usr/obj/BUILDs/main-amd64-dbg-gccxtc/usr/main-src/amd64.amd64/sys/GENERIC-DBG/kernel.full
--- kernel.full ---
linking kernel.full
/usr/local/x86_64-unknown-freebsd14.0/bin/ld: warning: vmbus_vector.o: missing .note.GNU-stack section implies executable stack
/usr/local/x86_64-unknown-freebsd14.0/bin/ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
ctfmerge -L VERSION -g -o kernel.full ...
ERROR: ctfmerge: No ctf sections found to merge
   text   data     bss     dec     hex filename
50183403 2089233 6445056 58717692 37ff5fc kernel.full


FYI:

# uname -apKU
FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT main-n260797-dc1b8c9a846e GENERIC-NODBG amd64 amd64 1400079 1400079

It was rebuilding variations of itself, but via devel/freebsd-gcc12 .

===
Mark Millard
marklmi at yahoo.com