From nobody Tue Oct 04 10:16:26 2022 X-Original-To: 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 4MhYWt159Zz4d0pC 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 4MhYWs6pzcz3N8Z for ; Tue, 4 Oct 2022 10:16:25 +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 4MhYWs5h7XzXNx for ; Tue, 4 Oct 2022 10:16:25 +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 294AGP1w025193 for ; Tue, 4 Oct 2022 10:16:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 294AGPNM025192 for toolchain@FreeBSD.org; Tue, 4 Oct 2022 10:16:25 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: toolchain@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: AssignedTo 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: 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 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=ZPmgZY57N4NWTvOhUXA+VlGaFVNq7ZO6bNHQ2wz3ehw=; b=cVo+QWqtJYf9r5lkXJbxnkphTnYf6eDF4Rhh0RkVktMnC5cmm5GWQcs99Sco3Hoakhicar RHKcFS0vLFWcxo4Zk32WZJtvEiL7SCYxEmGUyflFTtij0sTHAbcbEEUiRU/zBpH4DWAC93 /FqMRjkV6XvYX1ID9ABDHZkzFbb3UQ9is3CcEtHT5RfUy8rcTvL/cM5350oY1Jp3VvLXie gF0c3+Of/flA2oEn18uC0TrYxNPvKFNCAbdFjhzxprDss0CI7S6/bSts6qqTQx55pUCTuq wd/i62SGKWhXy6Kb5nIKZfxemquY7AZSaN1cw9njKcsRD8NS3bIkiSLkqopY+A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664878586; a=rsa-sha256; cv=none; b=ZqkS41y1zJJY+pCvXEkAY2XqDjawCNbVmKisnk0UX3cBeqQZQK2pxBNi8e+sKY9daJyQkN p8v9bKKsWU8ba/klYKOYmAVv4HlcrKRIO56V7ksV161rChMWvoK4Ghnvr12d33MJUVJLnx wE3s8Vrkt09igchqI0ph1TTV38/HBEaSf7U++ZfNWXqfRbx20LrbRFMZZfc/+UNHZud6UT +khahPb9D8NBc3SJvjp88w33In37Ts7R3LFAAYyYHs0cSaFR7V5aqjm5Po1VatimXVZXTl pwyyV3Sbv4Pf1+8KqwAOIyoJa25nQdLSXdCkCQwaxj4lYhu8HPeDYFdG61wGNw== 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 the assignee for the bug. You are on the CC list for the bug.=