Sponsored by: Klara, Inc.
Details
- Reviewers
imp allanjude - Group Reviewers
Klara - Commits
- rG783c318fd118: zoneinfo: On amd64, include 32-bit data.
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 49189 Build 46078: arc lint + arc unit
Event Timeline
A little background: by default, old zic produces zoneinfo files containing both 32-bit and 64-bit data, while new zic produces only 64-bit data. Dynamic i386 binaries should work correctly since they will be using a 32-bit version of new libc, but static i386 binaries will not work.
BTW, I'm also tempted to drop the -p ${POSIXRULES} part, which (with POSIXRULES=America/New_York) effectively means “when in doubt, assume you're in New York”. The hardcoded default has the same effect, there is no value in enshrining it in the Makefile.
share/zoneinfo/Makefile | ||
---|---|---|
82 | Don't we also need this for aarch64 and powerpc64? Both of them have 32-bit binary compat stuff. |
I think that might also be fine. IIRC, years ago (like in the 90s or early 2000s) this was needed because we didn't have a default... but it's been a very very long time and I didn't go back and spelunk the repo to see if this memory is right or not.
share/zoneinfo/Makefile | ||
---|---|---|
82 | Do their 32-bit counterparts have a 32-bit time_t? |
share/zoneinfo/Makefile | ||
---|---|---|
82 | Only i386. |
share/zoneinfo/Makefile | ||
---|---|---|
82 | That's what I thought, so only amd64 needs 32-bit timezone data. |
share/zoneinfo/Makefile | ||
---|---|---|
82 | ah, it's 32-bit time_t not 32-bit in general... So never mind. |