Re: devel/freebsd-gcc12 based aarch64 nono-debug buildworld buildkernel: a Failure notice at/for stand/kboot/loader.kboot
On Feb 11, 2023, at 08:23, Warner Losh wrote: > I've never built kboot with binutils, just clang. Looks like the names of the > targets are annoyingly different. > > I have 0 time to look at this, however, since gcc12 isn't officially > supported. Best I can do is not build loader.kboot for gcc. > > Warner Given that ci.freebsd.org <http://ci.freebsd.org/> was having some recent "manages to build via gcc12" success for amd64, I was just exploring. (I'm not aware of any operational testing by anyone/anything.) I expect disabling various things for devel/gcc* based builds is reasonable. Last I managed to build and use FreeBSD based on a gcc* not part of FreeBSD's own materials was when I had access to old PowerMacs and clang was more of a problem for that context at the time. (I did clang experiments and machine code analysis at the time as well.) I was not really expecting to find that I could build and operate FreeBSD via my recent activity. But, some build issues can point to something unintended that someone might want to adjust for more general reasons, such as less likely to break in the future. I assume that this is part of why devel/gcc* ports exist. Otherwise: why have them? > On Fri, Feb 10, 2023 at 8:42 PM Mark Millard wrote: > self hosted aarch64 Non-debug buildworld Failure notice (from the .meta file): > > . . . > /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/collect2 -plugin > /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/liblto_plugin.so > -plugin-opt=/usr/local/libexec/gcc/aarch64-unknow > n-freebsd14.0/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp//cc75dLgJ.res > --sysroot=/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp > -V -Bstatic -X -maarch64fbsd -EL -o loader. > kboot -L/usr/local/aarch64-unknown-freebsd14.0/bin > -L/usr/local/lib/gcc/aarch64-unknown-freebsd14.0/12.1.0 > -L/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp/usr/lib > -zrelro booti > nfo.o conf.o crt1.o gfx_fb_stub.o host_syscalls.o hostcons.o hostdisk.o > hostfs.o init.o kbootfdt.o main.o seg.o termios.o util.o vers.o > host_syscall.o tramp.o exec.o load_addr.o fdt_arch.o cache.o boo > t.o commands.o console.o devopen.o interp.o interp_backslash.o interp_parse.o > ls.o misc.o modinfo.o module.o nvstore.o pnglite.o tslog.o load_elf64.o > reloc_elf64.o disk.o part.o vdisk.o interp_lua.o z > fs_cmd.o > /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/liblua/liblua.a > > /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/fdt/libfdt.a > /usr/obj/BUILDs/ma > in-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/libsa/libsa.a -T > /usr/main-src/stand/kboot/arch/aarch64/ldscript.aarch64 > GNU ld (GNU Binutils) 2.39 > Supported emulations: >aarch64fbsd >aarch64fbsdb >aarch64elf > /usr/local/bin/aarch64-unknown-freebsd14.0-ld: target elf64-aarch64 not found > collect2: error: ld returned 1 exit status > . . . > *** [loader.kboot] Error code 1 > > make[4]: stopped in /usr/main-src/stand/kboot > .ERROR_TARGET='loader.kboot' > .ERROR_META_FILE='/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/kboot/loader.kboot.meta' > .MAKE.LEVEL='4' > MAKEFILE='' > . . . > > > (It will be some time before the debug build would get as far > as the above.) === Mark Millard marklmi at yahoo.com
Re: devel/freebsd-gcc12 based aarch64 nono-debug buildworld buildkernel: a Failure notice at/for stand/kboot/loader.kboot
I've never built kboot with binutils, just clang. Looks like the names of the targets are annoyingly different. I have 0 time to look at this, however, since gcc12 isn't officially supported. Best I can do is not build loader.kboot for gcc. Warner On Fri, Feb 10, 2023 at 8:42 PM Mark Millard wrote: > self hosted aarch64 Non-debug buildworld Failure notice (from the .meta > file): > > . . . > /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/collect2 -plugin > /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/liblto_plugin.so > -plugin-opt=/usr/local/libexec/gcc/aarch64-unknow > n-freebsd14.0/12.1.0/lto-wrapper > -plugin-opt=-fresolution=/tmp//cc75dLgJ.res > --sysroot=/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp > -V -Bstatic -X -maarch64fbsd -EL -o loader. > kboot -L/usr/local/aarch64-unknown-freebsd14.0/bin > -L/usr/local/lib/gcc/aarch64-unknown-freebsd14.0/12.1.0 > -L/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp/usr/lib > -zrelro booti > nfo.o conf.o crt1.o gfx_fb_stub.o host_syscalls.o hostcons.o hostdisk.o > hostfs.o init.o kbootfdt.o main.o seg.o termios.o util.o vers.o > host_syscall.o tramp.o exec.o load_addr.o fdt_arch.o cache.o boo > t.o commands.o console.o devopen.o interp.o interp_backslash.o > interp_parse.o ls.o misc.o modinfo.o module.o nvstore.o pnglite.o tslog.o > load_elf64.o reloc_elf64.o disk.o part.o vdisk.o interp_lua.o z > fs_cmd.o > /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/liblua/liblua.a > /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/fdt/libfdt.a > /usr/obj/BUILDs/ma > in-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/libsa/libsa.a -T > /usr/main-src/stand/kboot/arch/aarch64/ldscript.aarch64 > GNU ld (GNU Binutils) 2.39 > Supported emulations: >aarch64fbsd >aarch64fbsdb >aarch64elf > /usr/local/bin/aarch64-unknown-freebsd14.0-ld: target elf64-aarch64 not > found > collect2: error: ld returned 1 exit status > . . . > *** [loader.kboot] Error code 1 > > make[4]: stopped in /usr/main-src/stand/kboot > .ERROR_TARGET='loader.kboot' > > .ERROR_META_FILE='/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/kboot/loader.kboot.meta' > .MAKE.LEVEL='4' > MAKEFILE='' > . . . > > > (It will be some time before the debug build would get as far > as the above.) > > > === > Mark Millard > marklmi at yahoo.com > > >
devel/freebsd-gcc12 based aarch64 nono-debug buildworld buildkernel: a Failure notice at/for stand/kboot/loader.kboot
self hosted aarch64 Non-debug buildworld Failure notice (from the .meta file): . . . /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/collect2 -plugin /usr/local/libexec/gcc/aarch64-unknown-freebsd14.0/12.1.0/liblto_plugin.so -plugin-opt=/usr/local/libexec/gcc/aarch64-unknow n-freebsd14.0/12.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp//cc75dLgJ.res --sysroot=/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp -V -Bstatic -X -maarch64fbsd -EL -o loader. kboot -L/usr/local/aarch64-unknown-freebsd14.0/bin -L/usr/local/lib/gcc/aarch64-unknown-freebsd14.0/12.1.0 -L/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/tmp/usr/lib -zrelro booti nfo.o conf.o crt1.o gfx_fb_stub.o host_syscalls.o hostcons.o hostdisk.o hostfs.o init.o kbootfdt.o main.o seg.o termios.o util.o vers.o host_syscall.o tramp.o exec.o load_addr.o fdt_arch.o cache.o boo t.o commands.o console.o devopen.o interp.o interp_backslash.o interp_parse.o ls.o misc.o modinfo.o module.o nvstore.o pnglite.o tslog.o load_elf64.o reloc_elf64.o disk.o part.o vdisk.o interp_lua.o z fs_cmd.o /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/liblua/liblua.a /usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/fdt/libfdt.a /usr/obj/BUILDs/ma in-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/libsa/libsa.a -T /usr/main-src/stand/kboot/arch/aarch64/ldscript.aarch64 GNU ld (GNU Binutils) 2.39 Supported emulations: aarch64fbsd aarch64fbsdb aarch64elf /usr/local/bin/aarch64-unknown-freebsd14.0-ld: target elf64-aarch64 not found collect2: error: ld returned 1 exit status . . . *** [loader.kboot] Error code 1 make[4]: stopped in /usr/main-src/stand/kboot .ERROR_TARGET='loader.kboot' .ERROR_META_FILE='/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/kboot/loader.kboot.meta' .MAKE.LEVEL='4' MAKEFILE='' . . . (It will be some time before the debug build would get as far as the above.) === Mark Millard marklmi at yahoo.com
devel/freebsd-gcc12 based amd64 buildworld buildkernel: a Failure notice ( non-debug buildworld ) + Messages ( buildkernel 's)
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
Re: failure notice
[EMAIL PROTECTED] wrote: > Hi. This is the qmail-send program at norton.palomine.net. > I'm afraid I wasn't able to deliver your message to the following addresses. > This is a permanent error; I've given up. Sorry it didn't work out. GRRR. a spammer is sending out a batch of spam right now and using forged @freebsd.org addresses in the From: line. Cheers, -Peter -- Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] "All of this is for nothing if we don't go to the stars" - JMS/B5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"