From nobody Wed Sep 22 17:48:41 2021 X-Original-To: freebsd-toolchain@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 5899817DC84F; Wed, 22 Sep 2021 17:49:18 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from smtp4-2.goneo.de (smtp4.goneo.de [IPv6:2001:1640:5::8:59]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4HF5QP2WLCz4gdG; Wed, 22 Sep 2021 17:49:17 +0000 (UTC) (envelope-from freebsd@walstatt-de.de) Received: from thor.intern.walstatt.dynvpn.de (dynamic-078-055-082-025.78.55.pool.telefonica.de [78.55.82.25]) by smtp4.goneo.de (Postfix) with ESMTPSA id 12D3B2040D8B; Wed, 22 Sep 2021 19:49:09 +0200 (CEST) Date: Wed, 22 Sep 2021 19:48:41 +0200 From: FreeBSD User To: FreeBSD CURRENT 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> Organization: walstatt-de.de List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4HF5QP2WLCz4gdG X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@walstatt-de.de has no SPF policy when checking 2001:1640:5::8:59) smtp.mailfrom=freebsd@walstatt-de.de X-Spamd-Result: default: False [-1.99 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[78.55.82.25:received]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[walstatt-de.de]; AUTH_NA(1.00)[]; HAS_ORG_HEADER(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.89)[-0.890]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25394, ipnet:2001:1640::/32, country:DE]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N -----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