From nobody Tue Oct 04 10:16:26 2022 X-Original-To: riscv@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 4MhYWt34CQz4d10M for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MhYWt1zHFz3NN5 for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MhYWt0ksyzXKH for ; Tue, 4 Oct 2022 10:16:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 294AGQnN025213 for ; Tue, 4 Oct 2022 10:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 294AGQ4Q025212 for riscv@FreeBSD.org; Tue, 4 Oct 2022 10:16:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: riscv@FreeBSD.org Subject: [Bug 258358] Fails to build on riscv: arm_bf16.h: sh: clang-tblgen: Exec format error Date: Tue, 04 Oct 2022 10:16:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: riscv X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: arichardson@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD on the RISC-V instruction set architecture List-Archive: https://lists.freebsd.org/archives/freebsd-riscv List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-riscv@freebsd.org X-BeenThere: freebsd-riscv@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664878586; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cCR3jlYS4LutTaPsSTmxXWZA1ShjApCjigk44Fl4un0=; b=h1Pt7ONBEC89lxE87tk+gIgz1MFg4uUB9ja9UmPh3OaXhsgMxHwcsC9cJXQDT1kj7NeTVy VBRsW5PRV1th3h7+wej0Mm2Ku8gK3nSs6fWelIz43YwrcfyFlOURMrDNLl7rjXIcRidOIk PtwSn7vyAk7gaPw22DxgxBziGL8fLWHt3fua+9iNvOcho0IfTWG3fd3NnJpUl4C7Iziviw A35HqZnuClHbSuCrJfZoZfDGL3a75OGMZn/yjOfWwFW6gProwEuaatw1+Hc+UPe5yxbNnY +An6EuNbHtmM9qZZCt/hv1/cYfKU3FMoLl/F/jfk9GgXQ5ngfyljW5miHD0Avg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664878586; a=rsa-sha256; cv=none; b=mYPmd5evFNTc6xC2VH/Mrj6SLFi3WfFchsoerAwR6E8WY6qKNS7BTpgpxal+eD9d8Qs6+9 g7cBuRspHfIblKuOdJxvHJH0UH9HRsr9u7wqatL/pplKhHR+lM15109DomiHiRxE6Uh9+V lMjAw9a9sfF6YRCTn18bNVWzX0PuGUvbO/SsrcBO0Iw7OlgOLS+rcrNKeaVd/td78jTNP9 g1a8+fPM2kEflcoHjGio1IEQ1yETYbX2mNEv6ehZDeKzFMMlx/HmZGSehzE0JjfNaSWe0N AyLcNuQqsRlvo7M4ppHeuKCskvaY4+ambtYPxAPjJFU8lpztGo9pPKToARqf1g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358 --- Comment #10 from Alex Richardson --- I am aware a least two workarounds, but none of those can really be committ= ed as is: - Remove -Wl,--gc-sections from all makefiles (will result in larger binari= es) - Rebuilding lib/csu with https://reviews.freebsd.org/D35534 (breaks the bu= ild with older linkers/compilers - not a big deal for RISC-V, but it is for oth= er architecture). As jrtc27@ said in https://reviews.freebsd.org/D35534, the real solution wo= uld be to move the ELF notes so they can't be GC'd, but someone needs to do that work (I don't have time right now). --=20 You are receiving this mail because: You are on the CC list for the bug.=