From nobody Sun Apr 07 18:21:25 2024 X-Original-To: dev-commits-src-main@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 4VCLC95V6Gz5HHfp; Sun, 7 Apr 2024 18:21:25 +0000 (UTC) (envelope-from git@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 4VCLC94bchz4VNy; Sun, 7 Apr 2024 18:21:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712514085; 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; bh=KgCHsdcq2zkZd6/CizMc2xfIH2lLZDrlJd0GX2WCxJw=; b=mlRkdLojfNACThXuI0eOmm0nNpD4Uj1zqkn0a0MiAhxdfzYJzda6OnlX0W62NrmgEeQbPq v3Ac9nmozudjv2aghRXO0DXf0YGM5QKlmD4mpHgnOOgvDmdAeu7CI5wnsFtK8320Og1oRE j4EbGzIlPQRLGnuhzcA2smN06SOutw1Dk85zydfypQVK6PKeip5dK+QjL7bqpHtTMD4++z hfHyvcp4XyNOCCBnA/a+XXKmxhBXUrwyafC+QUpOwji/PIJGTYAzJQDjHP6jLmAcSJnAOT 73+/OdNurwXfyd5amQtghaNT7iPjbKGkH0kfhKwE7RhKnueMC39kKjj+8oH3ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1712514085; a=rsa-sha256; cv=none; b=MomeHhU65lnRoRtJbrZf+pM/kc3aQm79Y8Sde0+EusDqa4CwAqp0PdFzCsG0FCVaEVxlID WPioRr9utOcw3uoGVSy4YYipXyOWUv531+UvMI4YcGpnUkHjuYZayy1rjWYmyuIkpx+ck0 Md6v++cFB+1p5TzZR1ffsYDk8TPXAwLm6C9SzfY2sGjgasRxDu4zJd7VmHP6strn8LABWo 549BIEk83Lg8+4LZY3+Qh569zAfNSrrmAtr/hXHPrjIp3YxZa2CgOMjG1XeKO66XYwzqEk sZNRa3VUgEPTLTKJIyQ+VRXxruUteHsLVgpf7zLLOhWOVO0fL/1cwXyJzeLAFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1712514085; 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; bh=KgCHsdcq2zkZd6/CizMc2xfIH2lLZDrlJd0GX2WCxJw=; b=ftFA0NaBjDwvB4HE9w+N4nGAGvgojUV2gHjTI3faeDZJYsE+Y37v1Y8Y945olNwwqPhEwh FKUO+9XicMeS7y11R1ELz/F1wGQDFCaF5FEBG69YhYf+YZFAsPZkCi8aPDRVKrqMp6slr9 niCJyEDq1J1fhbesrVmk+hCMPKnX3b0K0hKwwAlqwTeKQn+3u9iVXX6mBWyVFfgX8kNFxl XEMTRS63NWVpCUrnokDvj3FJDMwnWv8h2/dtetc8ibPYipgtbs2CcIypV5xJaG4cTryD4N xjGVEkw8CjHW5P4ihTgd66BxGeBOvmFQRYQjw7a9G6oITUrrRJSltT3nYikrRw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4VCLC94Bz6zdTh; Sun, 7 Apr 2024 18:21:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 437ILPej072021; Sun, 7 Apr 2024 18:21:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 437ILPef072017; Sun, 7 Apr 2024 18:21:25 GMT (envelope-from git) Date: Sun, 7 Apr 2024 18:21:25 GMT Message-Id: <202404071821.437ILPef072017@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 2e226748a961 - main - libcompiler_rt Makefile.inc: don't build bfloat16 support for gcc < 13 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2e226748a961329471f5b51483318b94c8735f34 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=2e226748a961329471f5b51483318b94c8735f34 commit 2e226748a961329471f5b51483318b94c8735f34 Author: Dimitry Andric AuthorDate: 2024-04-07 18:21:01 +0000 Commit: Dimitry Andric CommitDate: 2024-04-07 18:21:01 +0000 libcompiler_rt Makefile.inc: don't build bfloat16 support for gcc < 13 Older versions of gcc produce "error: unknown type name '__bf16'". PR: 276104 MFC after: 1 month --- lib/libcompiler_rt/Makefile.inc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc index d9fe3d8bc8f2..2c756f4ad21f 100644 --- a/lib/libcompiler_rt/Makefile.inc +++ b/lib/libcompiler_rt/Makefile.inc @@ -228,9 +228,10 @@ SRCF+= comparesf2 # # bfloat16 support, only used on some architectures. # -.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ - ${MACHINE_CPUARCH} == "arm" || (${MACHINE_CPUARCH} == "i386" && \ - !empty(MACHINE_CPU:Msse2)) || ${MACHINE_CPUARCH} == "riscv" +.if (${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "arm" || (${MACHINE_CPUARCH} == "i386" && \ + !empty(MACHINE_CPU:Msse2)) || ${MACHINE_CPUARCH} == "riscv") && \ + !(${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} < 130000) SRCF+= truncdfbf2 SRCF+= truncsfbf2 .endif