Re: hacks for cc (GCC) 14.2.1 20240912 + glibc-2.39

"David H. Gutteridge" <[email protected]> Sun, 13 Oct 2024 21:21:43 -0400
Newsgroups gmane.os.netbsd.devel.toolchain
Message-ID <[email protected]>
On Wed, 9 Oct 2024 at 12:45:34 -0400, Andrew Cagney wrote:
> (It's Fedora 40)
> Trying to build the tip of 10:
> 
> strptime() needed _XOPEN_SOURCE
> setenv() needed _POSIX_C_SOURCE
> le32toh() needed _DEFAULT_SOURCE
> bsd_signal() needs _XOPEN_SOURCE but beware of ! (_POSIX_C_SOURCE >= 
> 200809L)
> alloca() needed <alloca.h>
[...]

This was already reported against HEAD and dealt with differently; it
needs to be pulled up. (In summary, _XOPEN_SOURCE isn't considered
viable for a tools build, so workarounds were applied.)

See https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=58674

Regards,

Dave