From nobody Wed Sep 18 07:29:35 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 4X7qzN2s6dz5WScm; Wed, 18 Sep 2024 07:29:36 +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 4X7qzN0QjKz49TF; Wed, 18 Sep 2024 07:29:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726644576; 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=7Qm9pVBdI+qc8UijVvw/cxobyBLsYDaQvcKm2Q64+ag=; b=Mc6eP9Zf6r8VJKyydCS6lsmywZr1k4FmhcR1aucCqW9gU2Lw0Wg0RfvnswfWautyPeDdvj /4hGsiI3TBSLXCggbUsL1TWVCe9YY8hRh/aXHR+d0fYqEynRpg7CnAJWuyA5EIDwj57UC8 q9gd1jniF8MHLSCDD96fnncAq0Js9RZgu8UmQbkAkpL/OMdaUhbWweorGSbJpY+trcvpGY 2REhEYIlsH888Y8z/N8vNMeJ7afN846YHAix3gf9Dt2O9ShPEi1o8pH+ixAn+OfNIR8XZW CxbvdUe/WBujNewfiYjem6BiLRgixc0Wztvdl9ldJTNaza30/bP4ZMq6/qHvUg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726644576; a=rsa-sha256; cv=none; b=rEe/lkQ57O2prIXsvDj0L/8f4WD5+90LhRMmqKUH5a+ajePrMteQs8sccLooLjzySK9Cx/ 8XquUkqvlA5rVV3kX0s1TL5CRWz5hg1QSL+D4dVRsm8jssaKHs1DkCn+e+zyeGSYER7TU5 I8ZuQFE0+oJaPdMSQkmzqPNWpv7DZDzUrsIAUYLnD1RKVmo9O7g4W2GkRTzlPjwgFpq8Tn yo/325NNNTkZ4HGX0YYjnTXQewcjC1LUceoF1hAHaNxKOxvTvBLSHAa4CoNcesngqhyE+F LCZgZfOEnbcp8oYFWEl32s0FmstmaOFZuapubWOH1RkBVwDdIv+q22Sd4JhU4A== 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=1726644576; 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=7Qm9pVBdI+qc8UijVvw/cxobyBLsYDaQvcKm2Q64+ag=; b=X2Rsx9xO9lygHoh6CLdLp3QZ4xwVwtlJT/2qXcn5pX8KThWqiDfPi7d9jb/+p3CdXMkigs qKwuKDINOs7nzpZArgwHbsZU8NBks4Fo/BetqHennyAzFajqAYrXX4IMEiuah1wEdImsMD wNECm/kQtvsb1NiZUoerAZp9Zx6LtQFNXbaOElpKqCMDcpY4ZYFftvkU88wKs4NRAC0TWE ZWQMwsltSsiH+1sF5SDFyUF81p2P8ZmmcD2ssLjD4YVRJbAjoXlkR0GjuhHkSQORnuZ7jX MjqEWa3IYOOe1HE8SRqDl5I36xgGQTCePClwsctsIrTC8gIpvEAQ3lVuhdGB0w== 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 4X7qzN02K4z1Brx; Wed, 18 Sep 2024 07:29:36 +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 48I7TZW1072929; Wed, 18 Sep 2024 07:29:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 48I7TZPR072926; Wed, 18 Sep 2024 07:29:35 GMT (envelope-from git) Date: Wed, 18 Sep 2024 07:29:35 GMT Message-Id: <202409180729.48I7TZPR072926@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dimitry Andric Subject: git: 9c4f1fcbf3fe - 2024Q3 - 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/2024Q3 X-Git-Reftype: branch X-Git-Commit: 9c4f1fcbf3fe4f6642b19a250a1cf4d47aa754da Auto-Submitted: auto-generated The branch 2024Q3 has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9c4f1fcbf3fe4f6642b19a250a1cf4d47aa754da commit 9c4f1fcbf3fe4f6642b19a250a1cf4d47aa754da Author: Dimitry Andric AuthorDate: 2024-09-17 20:30:17 +0000 Commit: Dimitry Andric CommitDate: 2024-09-18 07:28:09 +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 (cherry picked from commit 9d5e42894b39c428c6241efb1a053f7e571a6fee) --- net/mpich/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/mpich/Makefile b/net/mpich/Makefile index 9644466d877d..3c143306d76e 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -81,7 +81,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