tech-toolchain archive

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

Host requirements to build the Tools binaries



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

-- 

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index