Re: clang 17 and ports fallout
- Reply: mike tancsa : "Re: clang 17 and ports fallout"
- In reply to: mike tancsa : "Re: clang 17 and ports fallout"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Jan 2024 07:53:38 UTC
On Tue, Jan 9, 2024 at 2:19 PM mike tancsa <mike@sentex.net> wrote: > > 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 ? Hello, databases/rrdtool builds fine on stable/13 here: https://pkg-status.freebsd.org/gohan04/data/stable13amd64-default-foo/2024-01-09_21h18m24s/logs/rrdtool-1.8.0_2.log Antoine