From nobody Tue Jun 27 17:25:30 2023 X-Original-To: dev-commits-ports-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 4QrBSC1nCxz4g8VQ; Tue, 27 Jun 2023 17:25:31 +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 4QrBSC1NwJz3ktr; Tue, 27 Jun 2023 17:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687886731; 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=MU3EOUquLxh6oNw5MNe3Z6uTWxD9i0oQp1Hi74a6BGI=; b=XTzN4EasYDIiDaCeOEm6/qVYm7y5GHoy/zYgiSEgZaPtHrfCficChzOSwFPl5ID1ykZGsM EZ5HAYUoxk2uAmXfV5Ox71pe605gmmWm52eXCkBSakuHKmiFJFCoDTmwg0YS+gju0kEtKb CVnr1XAzzdRdrDOOq1cuqRdUR3m4Qb2H7eeonBOC15ZsJcykZIg1vl/hwATOT7SAo1S+0H MQ+Zrr5vp66ESJWtYZLICA0ni8pRS3hwdU/lRMPbClhCqzO/ig/jCQfNCs+vNA07r/xoMk azlekakLBd499r6Bhx08CzgeUHhch6RI4cnVcwZAURtDwMSsal//jIPosI0Ahg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687886731; 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=MU3EOUquLxh6oNw5MNe3Z6uTWxD9i0oQp1Hi74a6BGI=; b=uKKb1dLvR02dA0AgAyPCuAIt0AmVVdUUMT7mTWNrV6UhbSz4py9ImshFUAfe8A96TBxizN UzkutLFgV2zeCbUXZv/b4XbvL9WrJtzYPLSJuW7ePKgEoKX9Rc5jfbA0ll5LYLxlzyO3Px jMGKpaRprUkEcTwlLDbYugPQKYQZ90vxgy6lMNOEE+u1tjp4P/YlLkJeLR7JxGz6bAGO0m t9l1zEA+aP3R2MThysKwGFeCo0aCcbk3wh1Pd2oJl+jluJcGtH14HT5r2oIvTqcBhVzUtZ m7Zoh00d/aQK3wHs+kTU3KWPN7WGqofThWnvG4tlL/eRqXfBqBSQK+2hpMr5Zg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687886731; a=rsa-sha256; cv=none; b=Sk/9/WFIms4oBmY1VpVNpgFL+r569SAquOnnpZJrdgqjBi5gun89LYuyZOQqHpwpcMbTVj 5/cZA9ECEeQ2X2Y1ZG4ADE2wNZ3YSluZtBGbByS3ShHqPH1jWBdNlHI9GM4uL6CSZ9bRbW 0Uvo7XeH6+ViSMAeZhGHiCjqcbM7hWc98Xup7mnJECl+U/IWvCt725NcjKEX/FBmy+fXrK +qxRNL6ZDlsY4HOebcLGR6LPT2Lf6snTznwMuGXJR10BPAq9q1qmM0XXXUN5y3ErR2cjAp PsEW47WFPxMXlf2ConJ+A8X0guOnoZIcBtJQumapOzsLyUyPxEjStaMfbC0GDg== 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 4QrBSC0LK5z112Z; Tue, 27 Jun 2023 17:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35RHPU8E022708; Tue, 27 Jun 2023 17:25:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35RHPUKS022707; Tue, 27 Jun 2023 17:25:30 GMT (envelope-from git) Date: Tue, 27 Jun 2023 17:25:30 GMT Message-Id: <202306271725.35RHPUKS022707@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: d1f8dd148d22 - main - devel/llvm-devel: fix compiler-rt build on current List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d1f8dd148d220f4a205bb9ca39040616db9b7254 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=d1f8dd148d220f4a205bb9ca39040616db9b7254 commit d1f8dd148d220f4a205bb9ca39040616db9b7254 Author: Brooks Davis AuthorDate: 2023-06-27 17:12:15 +0000 Commit: Brooks Davis CommitDate: 2023-06-27 17:24:48 +0000 devel/llvm-devel: fix compiler-rt build on current Bump cpuset size to 1024 on newer current. Newly added sanitizer support for cpuset_getaffinity(2) hardcodes the size so bump it to match CPU_MAXSIZE (it's not obviously possible to extract it from sys/_cpuset.h). PR: 272235 Issue: https://github.com/llvm/llvm-project/issues/63485 Submitted by: jfc@mit.edu --- ...anitizer__common_sanitizer__platform__limits__freebsd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/devel/llvm-devel/files/patch-compiler-rt_lib_sanitizer__common_sanitizer__platform__limits__freebsd.h b/devel/llvm-devel/files/patch-compiler-rt_lib_sanitizer__common_sanitizer__platform__limits__freebsd.h new file mode 100644 index 000000000000..55417e694774 --- /dev/null +++ b/devel/llvm-devel/files/patch-compiler-rt_lib_sanitizer__common_sanitizer__platform__limits__freebsd.h @@ -0,0 +1,14 @@ +--- compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h.orig ++++ compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_freebsd.h +@@ -717,7 +717,11 @@ + extern unsigned struct_StringList_sz; + + struct __sanitizer_cpuset { ++#if __FreeBSD_version >= 1400090 ++ long __bits[(1024 + (sizeof(long) * 8) - 1) / (sizeof(long) * 8)]; ++#else + long __bits[(256 + (sizeof(long) * 8) - 1) / (sizeof(long) * 8)]; ++#endif + }; + + typedef struct __sanitizer_cpuset __sanitizer_cpuset_t;