Re: Host requirements to build the Tools binaries
Lloyd Parkes <[email protected]> Wed, 14 Aug 2024 11:39:24 +1200
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <0efd3147ce1f94786e7a2cc54b63ab5bcae0b7b3.camel@must-have-coffee.gen.nz> |
On Tue, 2024-08-13 at 21:27 +0200, Jan-Benedict Glaw wrote: > So this boils down to: What APIs / standards does NetBSD (while > building `tools`) expect to be implemented? That isn't clear to me and that's at least partly because C & Unix standards themselves are a complete mess. The fact that they are often paywalled doesn't help. This complete mess is why The Open Group and IEEE pulled together the Single Unix Specification and have published it as an IEEE Standard. Wikipedia seems to say that the Single Unix Specification and POSIX are "technically identical". I seem to recall someone saying a long time ago that the basic requirement for building NetBSD is POSIX. I checked https://sourceware.org/git/?p=glibc.git;a=blame;f=time/time.h;h=b6b439a45273ff4440372a42cde8cb7b4c87b194;hb=HEAD and the strptime change was made to GNU libc in 2016. I'm going to guess that recent compiler changes have tripped up a fix we had in place to make this work. While searching the web I found references to Linux people having this same problem when changing which standard of C they were asking GCC to compile. This is a somewhat fluid area right now. I'm checking out NetBSD on my Ubuntu box to see if I can gather any more information. Ngā mihi, Lloyd