Re: ld compat linker warnings considered harmful

David Holland <[email protected]>
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Wed, Aug 19, 2026 at 11:42:37PM +0000, RVP wrote:
 > On Wed, 19 Aug 2026, Thomas Klausner wrote:
 > > I last asked about this in February

...apparently I didn't see it then, not as on top of things as I used
to be and don't watch current-users as closely as tech-toolchain :-(

 > I don't get this error at all. The only function that libroken's using from
 > libutil is pidfile(3), so why are those warning being triggered.

Thanks for the simple example; that was sufficient to determine that
it's being caused by the LTO plugin. As in, if you take the LTO plugin
material out of the link line, it stops happening.

Going to look into that further once I figure out how to build the LTO
plugin with debug...

-- 
David A. Holland
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.