From nobody Fri Dec 29 09:22:30 2023 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 4T1g5M6rsWz55jPb; Fri, 29 Dec 2023 09:27:35 +0000 (UTC) (envelope-from thierry@pompo.net) Received: from erza.lautre.net (erza.lautre.net [80.67.160.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "lautre.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T1g5M4vFtz4rMM; Fri, 29 Dec 2023 09:27:35 +0000 (UTC) (envelope-from thierry@pompo.net) Authentication-Results: mx1.freebsd.org; none Received: from graf.pompo.net (graf.pompo.net [82.66.0.218]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by erza.lautre.net (Postfix) with ESMTPSA id 8CF41E9DCA; Fri, 29 Dec 2023 10:22:31 +0100 (CET) Received: by graf.pompo.net (Postfix, from userid 1001) id C903B1454DB; Fri, 29 Dec 2023 10:22:30 +0100 (CET) Date: Fri, 29 Dec 2023 10:22:30 +0100 From: Thierry Thomas To: Antoine Brodin Cc: Rainer Hurling , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: eb36006fdb70 - main - net/mpich: Unbreak on CURRENT with base clang 17 Message-ID: Mail-Followup-To: Antoine Brodin , Rainer Hurling , ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org References: <202312192057.3BJKvApN067485@gitrepo.freebsd.org> 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: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="K3DCUxcxqsQ+X2Ir" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 14.0-STABLE amd64 Organization: Kabbale Eros X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc;y=\ipKMNm<1J>lv@PP~7Z<.tKjAnXLs: X-PGP: 0xF1C516B3C8359753 X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20766, ipnet:80.67.160.0/19, country:FR] X-Spamd-Bar: ---- X-Rspamd-Queue-Id: 4T1g5M4vFtz4rMM --K3DCUxcxqsQ+X2Ir Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Le jeu. 28 d=C3=A9c. 23 =C3=A0 22:21:33 +0100, Antoine Brodin =C3=A9crivait=C2=A0: > On Tue, Dec 19, 2023 at 8:57=E2=80=AFPM Rainer Hurling wrote: > > > > The branch main has been updated by rhurlin: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Deb36006fdb707f3f8c9df4= 1d465cc5b89addcf78 > > > > commit eb36006fdb707f3f8c9df41d465cc5b89addcf78 > > Author: Rainer Hurling > > AuthorDate: 2023-12-19 20:53:31 +0000 > > Commit: Rainer Hurling > > CommitDate: 2023-12-19 20:53:31 +0000 > > > > net/mpich: Unbreak on CURRENT with base clang 17 > > > > clang version 17.0.6 causes linker errors that break the build on > > 15.0-CURRENT. Work around this by building with an older llvm from > > ports. This patch is same as commit f25b169ac895. > > > > Thanks to thierry@ for the hint. >=20 > Hello, Hello, > This doesn't seem to be the right fix, a lot of mpich consumers are > broken with this. > Maybe LDFLAGS+=3D -Wl,--undefined-version would be better? The problem is that the default compiler (clang-17) has issues with linking. Rainer=E2=80=99s patch sets USES+=3Dllvm, and by default this means USES+=3Dllvm,build, but really the choosen compiler should be kept for run. The following should work: USES+=3D llvm:lib,max=3D16 Anyways, this is just a work-around, untill clang-17 is clean=E2=80=A6 --=20 Th. Thomas. --K3DCUxcxqsQ+X2Ir Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJljo/WXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRFNTM2QkU4NTM4NTM5OUQwMEI2RkFBNzZG MUM1MTZCM0M4MzU5NzUzAAoJEPHFFrPINZdT6+EP/RUsIKYyU+IEPZu/1EMhekA8 g/E40QTRuM5EwWnlsxWgycqn/puprF/VZ2mFeOe4mhfs3Yu1PVHb9JLdIUe9cvr+ 7v/NQAFWa6WaV2nKCX4SrO5pYGngH6aRxkdoXvnghstRT7Luo+kIyvHsSQxIZoob Ueaty1DQizzmRbhYpIgCD/XTpMQHfAaBbsL6+2m9sDmlYccQsdTQszGqHOt7AoTJ 3OKVEfPh3FuTu6rgKS4QxC38FpGliY2gz2H8jdwGR4Sar7sCW2EE+h6nYWxV0bfX X2kUO9NC1R99wUv7zkODhoSTgWh5Q2Ws8xG94hsI2XuWXc57ftoqSEzoYCB0LZXo Zmyt70X+lectUWage3YTpOZIEU7zVebOVLPQvsJqaNgsYrPjKVaGMqRue3Ci2TPb 51cEVjRqJ0xb1+J+Tc/G+lnjUaGNKjytmorBWu2H/xLB9cI/HvLqfbCU8bNKdsLV JlqLYoD5yz1H8lmaXTSTRj9eW+whCtlwkFvCDhUAu3nvGKujbicT2eaaev6OWxkB eLFIuvuab3CBDDVEP4a/yVMqgWKQsEKX7ecNUP8cDJslZSFffxmUN4yA5HdvkEyh q/bqJL0WJFD5enHmdZaEjo/Dan53wHcrjopEDaxEiKCQYUc7mInf1o1g1ilkC7an WLB5fni6x6J0Z++op5x3 =z52+ -----END PGP SIGNATURE----- --K3DCUxcxqsQ+X2Ir--