Re: clang 17 and ports fallout

From: mike tancsa <mike_at_sentex.net>
Date: Tue, 09 Jan 2024 13:18:46 UTC
On 1/8/2024 5:50 PM, Dimitry Andric wrote:
> I fixed a lot of ports in the run-up to merging llvm-17 in 15-CURRENT,
> but I could not get them all.
>
> The preferred way is fixing the port by removing the undefined symbols
> from the linker version script in the port, but if that is not possible
> or difficult, add -Wl,--undefined-version to the linker flags suppresses
> the error. E.g. in the port Makefile:
>
> LDFLAGS+=	-Wl,--undefined-version
>
> For an example, see:
>
> https://github.com/freebsd/freebsd-ports/commit/37790b26cbda11cd4bb6f237b86cd94739c4059c

Thanks very much!  That did indeed fix databases/rrdtool and and 
sysutils/flashrom builds.   What is the best way to flag any such issues 
? Just open a PR for each individual port ?

     ---Mike