At Sun, 01 Sep 2024 11:57:47 +1200, Lloyd Parkes <lloyd%must-have-coffee.gen.nz@localhost> wrote: Subject: Re: Host requirements to build the Tools binaries > > On Thu, 2024-08-29 at 16:53 +0200, Jan-Benedict Glaw wrote: > > I will of course happily to test builds in any direction, but in > > which direction do we want to proceed? Just do a few small patches to > > avoid those functions that aren't declared easily? Update the stuff > > that needs further updates and go for -D_GNU_SOURCE? > > I do not believe that it is right to use -D_GNU_SOURCE because we > aren't writing GNU software. The definitions I added seem to be what > GNU/Linux documents and they seem to work if you want to get the > current code working with GCC 14. kre has raised an important issue > with this approach though, and I'll discuss that in a separate email. Some NetBSD tools _are_ GNU Software. To me that means their source should define _GNU_SOURCE by definition and by default, but if they don't then NetBSD _MUST_ do it for them when building on a GNU or GNU-like platform. -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgptXjj3s26_m.pgp
Description: OpenPGP Digital Signature