Date: Fri, 29 Dec 2023 10:22:30 +0100 From: Thierry Thomas <thierry@pompo.net> To: Antoine Brodin <antoine@freebsd.org> Cc: Rainer Hurling <rhurlin@freebsd.org>, 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: <ZY6P1mzP-K4_lRl5@graf.pompo.net> In-Reply-To: <CAALwa8k5QL6JQKCeOOLWeiLfQsiOrLzzJxB=CwEXRv8BkX3vgQ@mail.gmail.com> References: <202312192057.3BJKvApN067485@gitrepo.freebsd.org> <CAALwa8k5QL6JQKCeOOLWeiLfQsiOrLzzJxB=CwEXRv8BkX3vgQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <antoine@free= bsd.org> =C3=A9crivait=C2=A0: > On Tue, Dec 19, 2023 at 8:57=E2=80=AFPM Rainer Hurling <rhurlin@freebsd.o= rg> wrote: > > > > The branch main has been updated by rhurlin: > > > > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Deb36006fdb707f3f8c9df4= 1d465cc5b89addcf78 > > > > commit eb36006fdb707f3f8c9df41d465cc5b89addcf78 > > Author: Rainer Hurling <rhurlin@FreeBSD.org> > > AuthorDate: 2023-12-19 20:53:31 +0000 > > Commit: Rainer Hurling <rhurlin@FreeBSD.org> > > 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZY6P1mzP-K4_lRl5>