Re: clang 17 and ports fallout

2024-01-10 Thread Dimitry Andric
On 8 Jan 2024, at 21:40, mike tancsa wrote: > > After today's MFC of clang17, I am seeing some fallout from a few ports that > build with clang16 on RELENG_13 but now fail. Any ideas what might be going > on ? I have nothing in /etc/make.conf nor /etc/src.conf .. > ld: error: version script

Re: clang 17 and ports fallout

2024-01-10 Thread Dimitry Andric
On 10 Jan 2024, at 13:16, mike tancsa wrote: > > On 1/10/2024 2:53 AM, Antoine Brodin wrote: >> 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

Re: clang 17 and ports fallout

2024-01-10 Thread mike tancsa
On 1/10/2024 2:53 AM, Antoine Brodin wrote: 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

Re: clang 17 and ports fallout

2024-01-09 Thread Antoine Brodin
On Tue, Jan 9, 2024 at 2:19 PM mike tancsa 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 v

Re: clang 17 and ports fallout

2024-01-09 Thread mike tancsa
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 diffic

Re: clang 17 and ports fallout

2024-01-08 Thread Dimitry Andric
On 8 Jan 2024, at 21:57, mike tancsa wrote: > > On 1/8/2024 3:40 PM, mike tancsa wrote: >> After today's MFC of clang17, I am seeing some fallout from a few ports >> that build with clang16 on RELENG_13 but now fail. Any ideas what might be >> going on ? I have nothing in /etc/make.conf nor

Re: clang 17 and ports fallout

2024-01-08 Thread mike tancsa
On 1/8/2024 3:40 PM, mike tancsa wrote: After today's MFC of clang17,  I am seeing some fallout from a few ports that build with clang16 on RELENG_13 but now fail.  Any ideas what might be going on ?   I have nothing in /etc/make.conf nor /etc/src.conf These build on RELENG_14, so perhaps som