| 548f8a65 | 18-Aug-2022 |
Jessica Clarke <[email protected]> |
tools/build: Provide fls* when cross-building on Linux
flsll is needed for makefs's new ZFS support, and the others are added for completeness.
Reviewed by: emaste, arichardson Fixes: 240afd8c1fcc
tools/build: Provide fls* when cross-building on Linux
flsll is needed for makefs's new ZFS support, and the others are added for completeness.
Reviewed by: emaste, arichardson Fixes: 240afd8c1fcc ("makefs: Add ZFS support") Differential Revision: https://reviews.freebsd.org/D36134
show more ...
|
| 9e5b0d9e | 15-Dec-2021 |
Jessica Clarke <[email protected]> |
cross-build: Fix bmake bootstrap with glibc 2.34
As of glibc 2.34, our unistd.h wrapper's inclusion of stdlib.h exposes fragility in glibc's sys/wait.h and corresponding part of stdlib.h, leading to
cross-build: Fix bmake bootstrap with glibc 2.34
As of glibc 2.34, our unistd.h wrapper's inclusion of stdlib.h exposes fragility in glibc's sys/wait.h and corresponding part of stdlib.h, leading to "error: use of undeclared identifier 'WNOHANG'" and similar errors when bootstrapping bmake.
Work around this by wrapping sys/wait.h to force stdlib.h's inclusion first before it's implicitly included during the problematic window in sys/wait.h.
MFC after: 1 week
show more ...
|
| e0cb1fe7 | 06-Dec-2021 |
Jessica Clarke <[email protected]> |
cross-build: Provide _PASSWORD_EFMT1 for libcrypt on Linux
Linux's pwd.h does not define _PASSWORD_EFMT1 (macOS's does), so we need to define it in order to be able to bootstrap libcrypt (crypt-des.
cross-build: Provide _PASSWORD_EFMT1 for libcrypt on Linux
Linux's pwd.h does not define _PASSWORD_EFMT1 (macOS's does), so we need to define it in order to be able to bootstrap libcrypt (crypt-des.c uses it) on non-FreeBSD, which will be done in a subsequent commit.
MFC after: 1 week
show more ...
|