From nobody Mon Jun 26 21:30:21 2023 X-Original-To: ports-bugs@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 4QqgxC1Jd2z4kBlB for ; Mon, 26 Jun 2023 21:30:23 +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 4QqgxB11jDz4NG2 for ; Mon, 26 Jun 2023 21:30:22 +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=1687815022; 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=4z/JnmGT1cB6wm+BC1TLKnfwBIwmq2qdRrHmnzG+4aA=; b=sDFFWxJdjKYywVI4TE1CZEHLaiScoPOztEb/+d4OjYRb4AWnTLe0RcFm3dXGCuue+wIKoq Ofz0C9sVTy39HQr99DuWUauGNSqDkfTWbw8vT3Crk5zC9OG5yoEoq9ruT63yoqwI0bS4Xb LT+ut0uUtWYxyjHMLKdiCSbGXQuCYECDAXt6T4BELUZZ1HGcCx5kneFwfQ9JPoTsJMxrzk szhj174k2hg94rBMIcwpXNQCyZy8Gly++yKu7y/LVs7ipl7MYZcbTQEpi+9mi/cyKc2Wnk a+0w40QT2Pql2woizhlc/43WbRfvhfsfNkzGLSdQaA69D9mITNAULm5k6natOQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687815022; a=rsa-sha256; cv=none; b=tv91Tg8tafy32QYf4Fdfixx8rYBBHrit4BnLmr2d4W/e2WEJbV4n9pUQYaZ99O2ei6AHKQ KBTPCMabIAF2cke99Rwp4zspdFtWIBvjF+ECEQA6Fm/TjtgeA6PNCR0RvBSxy6vlBQ2giS 1vLoxI0WZZHVG9QeD+Bv1lPqJUXhjk8U9sdqiZvPzhYmJ33RXqCyqzRIXhFvV7gUyUZ5ur eJdpqc73SbbgJOLIrFgfr8oOc+EQ9wwSQuNDLMwsBd4wqCSuuPMlnrEdxxBKvZ9V5OPAuE CDbycLvQeDI3vEhEJMwUflPYrulKOcOS8au6tNMr9DlxwA9jIPnRQTZLZA1Drg== 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 4Qqgx9748SzQmN for ; Mon, 26 Jun 2023 21:30:21 +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 35QLULUH092624 for ; Mon, 26 Jun 2023 21:30:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35QLULi2092623 for ports-bugs@FreeBSD.org; Mon, 26 Jun 2023 21:30:21 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: ports-bugs@FreeBSD.org Subject: [Bug 272235] devel/llvm-devel: Build error on CURRENT due to cpuset size change Date: Mon, 26 Jun 2023 21:30:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272235 Bug ID: 272235 Summary: devel/llvm-devel: Build error on CURRENT due to cpuset size change Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jfc@mit.edu Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Created attachment 243022 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243022&action= =3Dedit cpuset is 1024 rather than 256 since FreeBSD version 1400090 The sanitizer libraries in llvm-devel fail to build on CURRENT because of t= he recent change to the size of cpuset. See LLVM bug https://github.com/llvm/llvm-project/issues/63485 The build error looks like /wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-9d1bcb70ec883= 0ad85c0756a03022d3811537284/compiler-rt/lib/sanitizer_common/sanitizer_plat= form_limits_freebsd.cpp:569:1: error: static assertion failed due to requirement 'sizeof(__sanitizer::__sanitizer_cpuset) >=3D sizeof(_cpuset)':=20 COMPILER_CHECK(sizeof(__sanitizer_cpuset_t) >=3D sizeof(cpuset_t)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I attached a fix to make it build. I have not tested the sanitizer librari= es built with this patch. In the context of the llvm sanitizer libraries it does not seem to be possi= ble to include the correct header files to get the cpuset size definition. The sanitizer libraries wrap library calls and the wrappers definitions conflic= t. --=20 You are receiving this mail because: You are the assignee for the bug.=