Date: Wed, 22 Sep 2021 19:48:41 +0200 From: FreeBSD User <freebsd@walstatt-de.de> To: FreeBSD CURRENT <freebsd-current@freebsd.org> Cc: freebsd-toolchain@freebsd.org Subject: WITH_LLVM_BINUTILS: objcopy: error: invalid output format: 'efi-app-x86_64' *** [boot1.efi] Message-ID: <20210922194904.363c239a@thor.intern.walstatt.dynvpn.de>
next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello list, Trying to "crosscompile" a 13-STABLE appliance on 14-CURRENT ( FreeBSD 14.0= -CURRENT #8 main-n249550-8db1669959ce: Wed Sep 22 05:39:53 CEST 2021 amd64) with WITH_LLVM_BINUTILS=3DYES set in /etc/src.conf (and a complete fresh rebuild of the whole OS afterwar= ds) results in some serious fallout lately. Compiling a recent, just updated this minute, 13-STABLE source, I face this= error now and relate this to the llvm-binutils:=20 [...] - --- boot1.efi --- if nm boot1.sym | grep ' U '; then echo "Undefined symbols in boot1.sym"; = exit 1; fi SOURCE_DATE_EPOCH=3D1451606400 objcopy -j .peheader -j .text -j .sdata -j = .data -j .dynamic -j .dynsym -j .rel.dyn -j .rela.dyn -j .reloc -j .eh_frame --output-target= =3Defi-app-x86_64 boot1.sym boot1.efi=20 objcopy: error: invalid output format: 'efi-app-x86_64' *** [boot1.efi] Error code 1 I guess this is fallout from the binutils migration and compiling 13-STABLE= on 14-CURRENT host is a special case. Can this be fixed easily or is the migration process to = immature at this point? Kind regards, Oliver Hartmann=20 - --=20 O. Hartmann Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Abs.= 4 BDSG). -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCYUtsZgAKCRA4N1ZZPba5 R9JSAQDozG5xwFhGxPTbhOPCJ731/GrxdI0lfjERziGMbXbg7QEApvkWChAKg9NM Ztgos3LH/+1Q9/gQ9CTYQbebxgcRgQM=3D =3D8J4u -----END PGP SIGNATURE----- --=20 O. Hartmann
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210922194904.363c239a>