aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/linux/sys
Commit message (Collapse)AuthorAgeFilesLines
* cross-build: Add comment missing from 9e5b0d9eac5bJessica Clarke2021-12-151-0/+16
| | | | | | | | | Whilst the commit message documented some of the details, I had intended to include this comment in the actual header, but failed to amend the commit properly. Fixes: 9e5b0d9eac5b ("cross-build: Fix bmake bootstrap with glibc 2.34") MFC after: 1 week
* cross-build: Fix bmake bootstrap with glibc 2.34Jessica Clarke2021-12-151-0/+31
| | | | | | | | | | | | | 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
* cross-build: fix some redeclaration warnings during bootstrapAlex Richardson2021-10-111-3/+0
| | | | MFC after: 3 days
* Fix warnings during bootstrap on Linux systemsAlex Richardson2021-01-071-42/+0
| | | | | Most warnings are currently off for the boostrap phase, but once D27598 lands they will be enabled again.
* Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS importAlex Richardson2020-09-191-0/+3
| | | | | | | | | | | | This required surprisingly few build system changes and only two changes to the openZFS compat headers which have been upstreamed as https://github.com/openzfs/zfs/pull/10863 Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26193 Notes: svn path=/head/; revision=365901
* Add Linux/macOS compatibility system headers to tools/build/cross-buildAlex Richardson2020-08-2512-0/+669
These headers are required in order to build the bootstrap tools on macOS and Linux. A follow-up commit will add implementations of functions that don't exist on those operating systems to -legacy when bootstrapping. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D14316 Notes: svn path=/head/; revision=364757