Date: Sat, 11 Feb 2023 09:23:57 -0700 From: Warner Losh <imp@bsdimp.com> To: Mark Millard <marklmi@yahoo.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: devel/freebsd-gcc12 based aarch64 nono-debug buildworld buildkernel: a Failure notice at/for stand/kboot/loader.kboot Message-ID: <CANCZdfoWRXDedZcv1cqdkHTT8m3sZjT=pfhJ-usizjekQnAjPw@mail.gmail.com> In-Reply-To: <FDE03895-DAFC-4EDA-901D-CCB90D192548@yahoo.com> References: <D14D0F97-ECBA-4964-8702-F58670872458@yahoo.com> <FDE03895-DAFC-4EDA-901D-CCB90D192548@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000022d3ee05f46f0b90 Content-Type: text/plain; charset="UTF-8" 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 <marklmi@yahoo.com> 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 > > > --00000000000022d3ee05f46f0b90 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">I've never built kboot with binutils, just clang. Look= s like the names of the targets are annoyingly different.<div><br></div><di= v>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.</div><div><br><= /div><div>Warner</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"= class=3D"gmail_attr">On Fri, Feb 10, 2023 at 8:42 PM Mark Millard <<a h= ref=3D"mailto:marklmi@yahoo.com">marklmi@yahoo.com</a>> wrote:<br></div>= <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex">self hosted aarch64 Non-d= ebug buildworld Failure notice (from the .meta file):<br> <br> . . .<br> /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=3D/usr/local/libexec/gcc/aarch64-unknow<br> n-freebsd14.0/12.1.0/lto-wrapper -plugin-opt=3D-fresolution=3D/tmp//cc75dLg= J.res --sysroot=3D/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src/arm64= .aarch64/tmp -V -Bstatic -X -maarch64fbsd -EL -o loader.<br> kboot -L/usr/local/aarch64-unknown-freebsd14.0/bin -L/usr/local/lib/gcc/aar= ch64-unknown-freebsd14.0/12.1.0 -L/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/us= r/main-src/arm64.aarch64/tmp/usr/lib -zrelro booti<br> nfo.o conf.o crt1.o gfx_fb_stub.o host_syscalls.o hostcons.o hostdisk.o hos= tfs.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<br> 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<br> 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/a= rm64.aarch64/stand/fdt/libfdt.a /usr/obj/BUILDs/ma<br> in-CA72-nodbg-gccxtc/usr/main-src/arm64.aarch64/stand/libsa/libsa.a -T /usr= /main-src/stand/kboot/arch/aarch64/ldscript.aarch64<br> GNU ld (GNU Binutils) 2.39<br> =C2=A0 Supported emulations:<br> =C2=A0 =C2=A0aarch64fbsd<br> =C2=A0 =C2=A0aarch64fbsdb<br> =C2=A0 =C2=A0aarch64elf<br> /usr/local/bin/aarch64-unknown-freebsd14.0-ld: target elf64-aarch64 not fou= nd<br> collect2: error: ld returned 1 exit status<br> . . .<br> *** [loader.kboot] Error code 1<br> <br> make[4]: stopped in /usr/main-src/stand/kboot<br> .ERROR_TARGET=3D'loader.kboot'<br> .ERROR_META_FILE=3D'/usr/obj/BUILDs/main-CA72-nodbg-gccxtc/usr/main-src= /arm64.aarch64/stand/kboot/loader.kboot.meta'<br> .MAKE.LEVEL=3D'4'<br> MAKEFILE=3D''<br> . . .<br> <br> <br> (It will be some time before the debug build would get as far<br> as the above.)<br> <br> <br> =3D=3D=3D<br> Mark Millard<br> marklmi at <a href=3D"http://yahoo.com" rel=3D"noreferrer" target=3D"_blank= ">yahoo.com</a><br> <br> <br> </blockquote></div> --00000000000022d3ee05f46f0b90--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfoWRXDedZcv1cqdkHTT8m3sZjT=pfhJ-usizjekQnAjPw>