tools/build: Provide sys/linker_set.h when cross-buildingThis is needed for kldxref, which will shortly become a bootstrap tool.Linux can use the same one as FreeBSD (provided the cross-buildings
tools/build: Provide sys/linker_set.h when cross-buildingThis is needed for kldxref, which will shortly become a bootstrap tool.Linux can use the same one as FreeBSD (provided the cross-buildingsys/cdefs.h is augmented appropriately), whilst macOS needs its ownMach-O-specific implementation.Reviewed by: brooksDifferential Revision: https://reviews.freebsd.org/D43049(cherry picked from commit 881ec81372e0748f2869fe6c18e909afa8304e7a)
show more ...
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Revert "tools/build: Unbreak bmake bootstrap on Linux"Now that make.py no longer has the described hack on Linux we can dropthis ugly workaround.This reverts commit fba998a3d897e6297baca74068e4e
Revert "tools/build: Unbreak bmake bootstrap on Linux"Now that make.py no longer has the described hack on Linux we can dropthis ugly workaround.This reverts commit fba998a3d897e6297baca74068e4ec1db7adaeec.
tools/build: Unbreak bmake bootstrap on LinuxCurrently make.py has a hack to add the cross-build headers to theinclude search path when bootstrapping bmake on Linux (but not macOS).This is a bit
tools/build: Unbreak bmake bootstrap on LinuxCurrently make.py has a hack to add the cross-build headers to theinclude search path when bootstrapping bmake on Linux (but not macOS).This is a bit of an abuse of these headers, and e9ba1fd5eda2 was notprepared for this, since sys/bitcount.h won't exist in that instance (itgets copied into WORLDTMP during the legacy build). Work around thisuntil we can wean the bmake bootstrap off using these headers by notincluding sys/bitcount.h when it doesn't exist.Fixes: e9ba1fd5eda2 ("tools/build: Provide FreeBSD's bitstring API when cross-building")
tools/build: Provide FreeBSD's bitstring API when cross-buildingThis is needed for building makefs as a cross-tool since the ZFS codeuses these APIs.Reviewed by: emasteFixes: 240afd8c1fcc ("ma
tools/build: Provide FreeBSD's bitstring API when cross-buildingThis is needed for building makefs as a cross-tool since the ZFS codeuses these APIs.Reviewed by: emasteFixes: 240afd8c1fcc ("makefs: Add ZFS support")Differential Revision: https://reviews.freebsd.org/D36133
cross-build: Add __weak_symbol definition for libdwarf bootstrapFixes: 3aa0bc89c6a1 ("libdwarf: Add a weak uncompress() symbol")MFC after: 1 week
Fix cross-builds after 4e5d32a445f90d37966cd6de571978551654e3f3Add alignment macros to cross-build's sys/cdefs.hPull Request: https://github.com/freebsd/freebsd-src/pull/531MFC after: immediatel
Fix cross-builds after 4e5d32a445f90d37966cd6de571978551654e3f3Add alignment macros to cross-build's sys/cdefs.hPull Request: https://github.com/freebsd/freebsd-src/pull/531MFC after: immediately (build fix)
Allow bootstrapping llvm-tblgen on macOS and LinuxThis 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.
Allow bootstrapping llvm-tblgen on macOS and LinuxThis is needed in order to build various LLVM binutils (e.g. addr2line)as well as clang/lld/lldb.Co-authored-by: Jessica Clarke <[email protected]>Test Plan: Compiles on ubuntu 18.04 and macOS 11.4Reviewed By: dimDifferential Revision: https://reviews.freebsd.org/D31057
Fix warnings during bootstrap on Linux systemsMost warnings are currently off for the boostrap phase, but once D27598lands they will be enabled again.
Fix more -Wundef warnings during bootstrap
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS importThis required surprisingly few build system changes and only two changes to theopenZFS compat headers which have been upstreamed asht
Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS importThis required surprisingly few build system changes and only two changes to theopenZFS compat headers which have been upstreamed ashttps://github.com/openzfs/zfs/pull/10863Reviewed By: #zfs, freqlabsDifferential Revision: https://reviews.freebsd.org/D26193
Add Linux/macOS compatibility system headers to tools/build/cross-buildThese headers are required in order to build the bootstrap tools on macOSand Linux. A follow-up commit will add implementatio
Add Linux/macOS compatibility system headers to tools/build/cross-buildThese headers are required in order to build the bootstrap tools on macOSand Linux. A follow-up commit will add implementations of functions thatdon't exist on those operating systems to -legacy when bootstrapping.Reviewed By: brooksDifferential Revision: https://reviews.freebsd.org/D14316