From nobody Sun Aug 13 17:50:03 2023 X-Original-To: freebsd-current@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 4RP4n818hSz4mST5 for ; Sun, 13 Aug 2023 17:50:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4RP4n74F36z3Cc6 for ; Sun, 13 Aug 2023 17:50:19 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691949017; bh=+26y6wO7CYoL4i6O7JQ6A1XwA2Nz8ZRKlBW0/XrBe2s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=UPpGMXp8SD5LkEK5l95LVZUdhnffd+OQ4l8VMWZDo/YKRHrEdfaknvp+ep/cCV3m7Ph4V81aEpMsKCMCkByH4FMb5wQaKjpC7VXt6hSwJzG/yRfqgdTcPG+pQ9K4q5mU5UnUxu74dmrfu+LeQr1rTPKyaWjIByJ9HD1g/t06AT21XfJl4t5T6UQmEQuMUuwrg9+fj0L8d12eN2lubRcQt/NawE5z+fF64QIp4jhipMKjkd2tMPemnMrYCGZLkM8awQKCYbB1avdaKOXtvFTeKiqhNYi937I2R+tMxv5ii6EhAEoXtGvKu1gu6rfoSUHsCqCE7FAM7P7W69/CperaXA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691949017; bh=lNfor5b+0xo+TMyR4b1QYlLROXTsT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H2ylQOvDqDtdVHZqXxcLDiSOHxbSw37487XRd3.gb7wCTeGl2pgUS4HsSmiIoy V5Z5SWRPU4.E4byLRW_gx.CgG8w_gYCCZ1zcta.qbJeKTK9aeZiyXSEtQDcdUouASV3p8N1cxxCy D_e_hEkB8KnEM8uhcmN30fXGMbyLlbPLXTZmrmwF9qRRY88CITuhZtY0QO0FePzOQsIEf5v7QGFb z01NTXJXSJFhzTfi5xjDQT0XbGtZJuBlEvZ.mi.gh4VN4glyj7h7kVHdg4Pv36czQwTlL1qyJTY3 QwgGiq5U8MjKd4cikbEjSsEVK678N_DZIaejJRv97XfzpCGDd1drBwbCW9qmDz.jukDbRuO6a1O8 1v9jw8GOMRc2naif8VfpQdMJNTanruduFJoxyADNLFgAjhDpBvC9eo3XlRCoGFpbkVpB8aFtsAa8 g4_6lSXn05cM5GmjNb13IgRjcPCqcLntiaJ814i0Ber9Mp0tJ8M5dWdbjdgXcLOI9qsd8twokOzq M3MeEHZh9Hfstm2kI1coZWt6B2iiOVNyAOUbWwCuUDdXdlPMa6.EF8dhC3acE4nUaOZkpOrkO.e6 s X-Sonic-MF: X-Sonic-ID: 4180bfcf-a491-46fa-962e-27ad91874074 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 13 Aug 2023 17:50:17 +0000 Received: by hermes--production-bf1-865889d799-r6v2w (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 152c06392a2b898d44c06c6173da6628; Sun, 13 Aug 2023 17:50:16 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: Error crosscompiling 14.0-ALPHA1 on amd64 for arm64.aarch64 From: Mark Millard In-Reply-To: <3D94C0A3-0231-4C04-8C69-5516A4A41B03@FreeBSD.org> Date: Sun, 13 Aug 2023 10:50:03 -0700 Cc: Current FreeBSD , FreeBSD Toolchain , Mike Karels Content-Transfer-Encoding: quoted-printable Message-Id: References: <2A8F9F90-B03C-4A7B-9B03-B54386CEBBAE.ref@yahoo.com> <2A8F9F90-B03C-4A7B-9B03-B54386CEBBAE@yahoo.com> <3D94C0A3-0231-4C04-8C69-5516A4A41B03@FreeBSD.org> To: Juraj Lutter X-Mailer: Apple Mail (2.3731.700.6) X-Rspamd-Queue-Id: 4RP4n74F36z3Cc6 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Aug 13, 2023, at 10:10, Juraj Lutter wrote: > Mark, >=20 >> On 13 Aug 2023, at 19:04, Mark Millard wrote: >>=20 >> No arm64.aarch64/tmp/ SYSTEM_COMPILER or SYSTEM_LINKER bootstrap = compiler/linker were built. >>=20 >> =46rom what I can tell, this leads to: >>=20 >> cc -march=3Darmv7 -m32 -target armv7-unknown-freebsd14.0-gnueabihf = -DCOMPAT_LIBCOMPAT=3D\"32\" -DCOMPAT_libcompat=3D\"32\" -DCOMPAT_LIB32 = --sysroot=3D/usr/obj/usr/src/arm64.aarch64/tmp = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/bin = -B/usr/obj/usr/src/arm64.aarch64/tmp/usr/lib32 -O2 -pipe -fno-common = -fPIC -g -gz=3Dzlib -MD -MF.depend.libssp_nonshared.o = -MTlibssp_nonshared.o -std=3Dgnu99 -Wno-format-zero-length = -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k = -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts = -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time = -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable = -Wno-error=3Dunused-but-set-parameter -Qunused-arguments -c = /usr/src/lib/libssp_nonshared/libssp_nonshared.c -o libssp_nonshared.o >>=20 >> using the pre-existing system compiler that, in your context, gets: >>=20 >> error: unable to create target: 'No available targets are compatible = with triple "armv7-unknown-freebsd14.0-gnueabihf"' >> 1 error generated. >>=20 >=20 > True, exactly the same error I=E2=80=99m getting. It was extracted from a copy of your log file. >> I doubt that "make package" was tested for being able to handle >> the lib32 addition to aarch64 builds for SYSTEM_COMPILER or >> SYSTEM_LINKER bootstrap cases. >>=20 >=20 > I=E2=80=99m getting it in buildworld, not in packages (it does not = come to packages target) >=20 Sorry. Looks like I misapplied one of your messages mentioning use of "make package" as specifying the context for the log file. Still, your log file does not show an arm64.aarch64/tmp/ time frame build of the SYSTEM_COMPILER or SYSTEM_LINKER bootstrap compiler/linker. There should have also been: tmp/obj-tools/lib/clang/libllvm...] tmp/obj-tools/lib/clang/libclang...] tmp/obj-tools/lib/clang/headers...] tmp/obj-tools/usr.bin/clang/clang...] tmp/obj-tools/usr.bin/clang/lld...] to go with: make[1]: "/usr/src/Makefile.inc1" line 340: SYSTEM_COMPILER: libclang = will be built for bootstrapping a cross-compiler. make[1]: "/usr/src/Makefile.inc1" line 345: SYSTEM_LINKER: libclang will = be built for bootstrapping a cross-linker. So it still looks to me like a build infrastructure problem: it did not do what it said it would do. I've no clue about why at this point. I'll note that clang and lld do not get per-target builds like gcc does. "bootstrap" means for getting version differences early on in this context, not the targeting. =E2=80=94 Juraj Lutter otis@FreeBSD.org =3D=3D=3D Mark Millard marklmi at yahoo.com