From nobody Fri Oct 18 13:01:45 2024 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 4XVPwq0qfhz5ZBNg for ; Fri, 18 Oct 2024 13:01:47 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XVPwp5Qv5z4LkR for ; Fri, 18 Oct 2024 13:01:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729256506; 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=eiHiV/Ok/SN1SAlH+AvTHGlWfm+6QBxwUn/frGp+d2Y=; b=O3GVN3DJRdxvUiytFPxxKR1eayJIG0FySOvsJ5tJxgrhFDybCBrHkUt3do7CEppGTgW2bq 5Yq6197N/k0n34EarsWr1aqHlbwiA3+1SNtaLFBXkBEwriaTfe07HNrchaIOM8RHyVJnm3 FCbe1BzSTP6DMicQVlIekDmdq0rGqgjnvXXxYrJgOGLHqhOJcqJoD8uUZE4OnFXLv2V/T2 6Su/aexOY0Fu2XsbzTef/jLPmYfZMgh8Vu9tFojlC3GumR+IOxkTBe8wbGA5huAUiVSDgx CBaEqELoQSsn61C4raqzc2ONNigHf7xABfmL4ckZLV+1sl2SJzdalAGkljzNJg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729256506; a=rsa-sha256; cv=none; b=Xb52wedo1wRuYHtg/VxqmOCe/XbS4jHri/BgKvhm2ucmdMKMMTEpLs7EX2TVO3vbY2cCHU gpsYFhL+Tlwfp+n0oKwOjREGGYbHxYp+HDQA27fJ81sOYtouIGmmO71j1K5Yhn80PXG9f0 d7tcb3BdzCES243UfSS/fw+GCWUTIthuUkDp+P2m2c7c9vzwyvS3ENFCtjsElLqODz824E LULhI86i4GHBDnJy1pSxolX+Dhg9bGUJL3PpDTEq/auAF5rL6zJ3xOTgUSoqhhKYuoivVp B2hQZgVXcYBCAVuKB2ACDIC+yAGaDu5ccZOh2q6n3QQ+c7vyI5+rE6EgO0E/5Q== 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 4XVPwp4XfmzZdB for ; Fri, 18 Oct 2024 13:01:46 +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 49ID1ksC045807 for ; Fri, 18 Oct 2024 13:01:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49ID1kHC045806 for riscv@FreeBSD.org; Fri, 18 Oct 2024 13:01:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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: Fri, 18 Oct 2024 13:01:45 +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: commit-hook@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: X-BeenThere: freebsd-riscv@freebsd.org Sender: owner-freebsd-riscv@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258358 --- Comment #20 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D7aa6667623bef7306009d50a571e5e8c7= 766a174 commit 7aa6667623bef7306009d50a571e5e8c7766a174 Author: Jessica Clarke AuthorDate: 2024-10-18 12:59:48 +0000 Commit: Jessica Clarke CommitDate: 2024-10-18 12:59:48 +0000 lib/clang: Commit cleaned-up workaround for building on RISC-V There is a long-standing issue on RISC-V around --gc-sections when statically linking, which affects the bootstrap build of LLVM. Since fixing this properly has remained a TODO for years, commit the workaround with documentation so that building natively from source works out of the box. PR: 258358 MFC after: 1 week lib/clang/llvm.build.mk | 8 ++++++++ 1 file changed, 8 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=