path: root/tools/build/cross-build/include/common
Commit message (Collapse)AuthorAgeFilesLines
* cross-build: Add __weak_symbol definition for libdwarf bootstrapJessica Clarke2021-12-151-0/+3
| | | | | Fixes: 3aa0bc89c6a1 ("libdwarf: Add a weak uncompress() symbol") MFC after: 1 week
* cross-build: Provide _PASSWORD_EFMT1 for libcrypt on LinuxJessica Clarke2021-12-071-0/+4
| | | | | | | | 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
* cross-build: Define crypt_data in unistd.h for libcryptJessica Clarke2021-12-071-0/+5
| | | | | | | | This is where it's defined in the base system, so is where libcrypt expects it to exist when being built, and will be needed when being bootstrapped in a subsequent commit. MFC after: 1 week
* cross-build: Remove redundant lines.Warner Losh2021-10-102-4/+0
| | | | | | | | | There's two identical gid_from_group lines in a row. We only need one. Ditto for uid_from_user(). Sponsored by: Netflix Reviewed by: bapt, jrtc27 Differential Revision: https://reviews.freebsd.org/D32442
* Fix cross-builds after 4e5d32a445f90d37966cd6de571978551654e3f3Jose Luis Duran2021-09-071-0/+19
| | | | | | | Add alignment macros to cross-build's sys/cdefs.h Pull Request: https://github.com/freebsd/freebsd-src/pull/531 MFC after: immediately (build fix)
* Allow bootstrapping llvm-tblgen on macOS and LinuxAlex Richardson2021-08-021-0/+6
| | | | | | | | | | This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb. Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org> Test Plan: Compiles on ubuntu 18.04 and macOS 11.4 Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D31057
* Silence a macro-redefined warning when crossbuildingAlex Richardson2021-03-011-0/+2
| | | | | This is already defined by the ncurses headers, so just undef it before defining it again.
* Fix warnings during bootstrap on Linux systemsAlex Richardson2021-01-075-27/+29
| | | | | Most warnings are currently off for the boostrap phase, but once D27598 lands they will be enabled again.
* Fix more -Wundef warnings during bootstrapAlex Richardson2020-10-141-5/+0
| | | | Notes: svn path=/head/; revision=366699
* Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS importAlex Richardson2020-09-193-51/+12
| | | | | | | | | | | | 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-2525-0/+1425
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