Host requirements to build the Tools binaries
Jan-Benedict Glaw <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
Hi! Building with latest Debian "unstable" containers doesn't work for me right now, as strptime() (used in bin/date/date.c) isn't made visible through features.h pulled in via tools/compat/compat_defs.h . After discussing this topic a bit with Christos, he suggested to bring up this discussion on tech-toolchain. The header tools/compat/compat_defs.h seems to be crafted to enable a "reasonable" set of host features. I didn't find (with libc6-dev 2.39-6) a set of flags to provide everyting all the tools require / expect to be there. Looking at what *is* there, my impression is that it has been "made to work", with only a loosely defined set of expected APIs in mind. This way, it's kind of hard for me now to decide whether this is just a simple GNU libc bug, or if NetBSD expects something that outside the requested APIs. So this boils down to: What APIs / standards does NetBSD (while building `tools`) expect to be implemented? (Just to mention a few: While experimenting with different settings, I was usually bitten by missing declarations for `strptime`, `bsd_signal`, `htobe16` (and friends) and others.) MfG, JBG --
signature.asc
(application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQQlDTvPcScNjKREqWEdvV51g5nhuwUCZruzsgAKCRAdvV51g5nh ux3KAJ9VmJTt171d03EQ2ZpqMa79HDZsnQCeOYk6yvV8Dxyh/2KbPczM/mPtj3I= =Ds+o -----END PGP SIGNATURE-----