NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/61079: ld compat linker warnings considered harmful



The following reply was made to PR toolchain/61079; it has been noted by GNATS.

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: toolchain/61079: ld compat linker warnings considered harmful
Date: Wed, 25 Nov 2026 22:27:25 +0000 (UTC)

 On Wed, 25 Nov 2026, Thomas Klausner via gnats wrote:
 
 > On Wed, Nov 25, 2026 at 04:10:01PM +0100, Christos Zoulas wrote:
 > > - take the plunge, make no-copy-dt-needed the default,
 > > 	- and  fix whatever breaks in pkgsrc
 >
 > I'm for this. Can you come up with a patch for src so I can try in a
 > limited bulk build how much would break?
 >
 
 Revert this:
 
 https://github.com/NetBSD/src/commit/d138d9f7e9bad645835c789d42405d05fb3dd84b
 
 See PR lib/57615 for how Linux and FreeBSD handle this same problem: linker
 scripts for the libcurses.so file:
 
 Linux:
 
 ```
 $ cat /usr/lib/x86_64-linux-gnu/libncurses.so
 INPUT(libncurses.so.6 -ltinfo)
 ```
 
 FreeBSD:
 
 ```
 $ cat /usr/lib/libncursesw.so 
 INPUT(/lib/libncursesw.so.9 AS_NEEDED(-ltinfow))
 ```
 
 -RVP
 



Home | Main Index | Thread Index | Old Index