From nobody Wed Sep 18 07:26:03 2024 X-Original-To: dev-commits-ports-all@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 4X7qvH6RpKz5WS7j; Wed, 18 Sep 2024 07:26:03 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X7qvH4ND2z486H; Wed, 18 Sep 2024 07:26:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726644363; 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=U8DPWPPuk80z0wozOt4JnNhPm5t0aRSBvfpFnhmq5S8=; b=vLQ8Wk8TVCTEuh0M6Ix8SJff8TfLhCSgYYyLVcB08LOiIh4LQgMYlB9GVkusnbcslANTGW G5RhIvncQu5N0VXaJ20OjYRh2HnICHk4cJPVY77cEAKcVPpKL5rxEdp1+hexFNZSxIEkiF hufH4lHwegk4YSgkeUCPwdGKQea4ZNTexYD3Zx78L2AgeYxgFYFcmyCp7nqSy4YwOoW2Oi Mg5Jm7nmY4kMQ/irEl25R3fcCmhFS5dY+lgM1R1t9mog71HgwNmVx9KAJrvxmo96gGTGuS 4XQsuSe7WZIXh5SaFxfJI44wSXu4CaSEfWkXNNRn69RiwRRAJwy/ijktYgrWkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726644363; a=rsa-sha256; cv=none; b=iEEQqyVbskicwNgOm2dKTlOsbseyk1ZdilaUBT4JMZDUR3AzAFhBkZlN4XhO649ayn+bIt GgitgdM+z7n81G+xHrlqmHpyF/gOzBsJLyFvUXVFqi7dJiWl4hGdg28opP5ozVbW2FVXii Ke/7HCVdGSMLObnKLqKUUh+e5sD/eNmQhAPqqUWs7DXpAYq506zPrtR8d/YBW76aM26qr0 NcuF3Nbz3cEV3BrOe8ZCNCXSGB+SXmx3sjESx3A1dV0QJqTWmK/iI6zwtCxLNcrcTqyCOg qSP1zeZb/xJ/Uf1f5zJTvZYiJjae2fTRHDXjA7x4HR9dyuatLvV070EPcysb7w== 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=1726644363; 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=U8DPWPPuk80z0wozOt4JnNhPm5t0aRSBvfpFnhmq5S8=; b=KZkj2ySZ4c6ZLmOteMxBIPEVx1t0V6d5GQvoMuA57Ydxxh0gy+6gkE3L1A1+pMjt9Ic55s QfioHUEMH6Ru5Y22Y1oYXsaGrNtc8w6fCr4AMwZ3V5sJAqr7J+5wuapWLSEcLbs8Vs+Wo1 o+P0+bXe6GT2zh6BPZApkqYlzPOyMGZnrjuhvR5b9uO9wOj1/pcTUpzdNAqCLov/LXCGGb sNW7r/rCIQWqZl93Q57zmKLkGkhikO3hXfgF39eJdU6iYB8bJ0uuX19FXpGokdAfPQqfzq lPGI6EVkycnVsyjznVcNMxCXGXZCQI/9ki1iOLyyQIcPsqaJBQ0vhY4pGCovIQ== 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 4X7qvH2q57z1CPN; Wed, 18 Sep 2024 07:26:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 48I7Q3WJ072244; Wed, 18 Sep 2024 07:26:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I7Q3uH072241; Wed, 18 Sep 2024 07:26:03 GMT (envelope-from git) Date: Wed, 18 Sep 2024 07:26:03 GMT Message-Id: <202409180726.48I7Q3uH072241@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 9d5e42894b39 - main - net/mpich: fix build with clang 19 on i386 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9d5e42894b39c428c6241efb1a053f7e571a6fee Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9d5e42894b39c428c6241efb1a053f7e571a6fee commit 9d5e42894b39c428c6241efb1a053f7e571a6fee Author: Dimitry Andric AuthorDate: 2024-09-17 20:30:17 +0000 Commit: Dimitry Andric CommitDate: 2024-09-18 07:24:55 +0000 net/mpich: fix build with clang 19 on i386 In bug 276035 this was already handled once, but with clang 19 on i386 we get similar link errors: ld: error: undefined reference: __addtf3 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) ld: error: undefined reference: __gttf2 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) ld: error: undefined reference: __lttf2 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) ld: error: undefined reference: __multf3 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) ld: error: undefined reference: __extendxftf2 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) ld: error: undefined reference: __trunctfxf2 >>> referenced by lib/.libs/libmpi.so (disallowed by --no-allow-shlib-undefined) Again the cause is that the mpich configure script detects partial float128 support on i386 (i.e. the compile doesn't immediately choke on defining variables of that type). It then enables HAVE_FLOAT128, which leads to the above errors, because compiler-rt does not support float128 on i386. PR: 281557 Approved by: laurent.chardon@gmail.com (maintainer) MFH: 2024Q3 --- net/mpich/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mpich/Makefile b/net/mpich/Makefile index a502f2d03a8c..d9ee832c4ebe 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -85,7 +85,7 @@ PORTDOCS= * IGNORE= is currently not working with the L0 option. Unset L0 .endif -.if ${COMPILER_TYPE} == clang && (${COMPILER_VERSION} == 170 || ${COMPILER_VERSION} == 181 && ${ARCH} == "i386") +.if ${COMPILER_TYPE} == clang && (${COMPILER_VERSION} == 170 || ${COMPILER_VERSION} >= 181 && ${ARCH} == "i386") # linker error when compiling with llvm 17.0.6 on CURRENT - PR 276035 # To be removed when all RELEASE and CURRENT no longer need it # Error remains for i386 and llvm-181 on CURRENT