Re: git: eb36006fdb70 - main - net/mpich: Unbreak on CURRENT with base clang 17

From: Antoine Brodin <antoine_at_freebsd.org>
Date: Thu, 28 Dec 2023 21:21:33 UTC
On Tue, Dec 19, 2023 at 8:57 PM Rainer Hurling <rhurlin@freebsd.org> wrote:
>
> The branch main has been updated by rhurlin:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=eb36006fdb707f3f8c9df41d465cc5b89addcf78
>
> 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.

Hello,

This doesn't seem to be the right fix,  a lot of mpich consumers are
broken with this.
Maybe LDFLAGS+= -Wl,--undefined-version  would be better?

Antoine