History log of /freebsd-current/tools/build/cross-build/include/common/sys/cdefs.h
Revision Date Author Comments
# 881ec813 13-Dec-2023 Jessica Clarke <jrtc27@FreeBSD.org>

tools/build: Provide sys/linker_set.h when cross-building

This is needed for kldxref, which will shortly become a bootstrap tool.
Linux can use the same one as FreeBSD (provided the cross-building
sys/cdefs.h is augmented appropriately), whilst macOS needs its own
Mach-O-specific implementation.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D43049


# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# d752d10e 14-Dec-2021 Jessica Clarke <jrtc27@FreeBSD.org>

cross-build: Add __weak_symbol definition for libdwarf bootstrap

Fixes: 3aa0bc89c6a1 ("libdwarf: Add a weak uncompress() symbol")
MFC after: 1 week


# 94d9439b 30-Aug-2021 Jose Luis Duran <jlduran@users.noreply.github.com>

Fix cross-builds after 4e5d32a445f90d37966cd6de571978551654e3f3

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)


# 4e64fb9f 14-Dec-2020 Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>

Fix warnings during bootstrap on Linux systems

Most warnings are currently off for the boostrap phase, but once D27598
lands they will be enabled again.


# a5252831 13-Oct-2020 Alex Richardson <arichardson@FreeBSD.org>

Fix more -Wundef warnings during bootstrap


# 79e02149 18-Sep-2020 Alex Richardson <arichardson@FreeBSD.org>

Fix dtrace tools bootstrap on non-FreeBSD after OpenZFS import

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


# d1d32c3d 25-Aug-2020 Alex Richardson <arichardson@FreeBSD.org>

Add Linux/macOS compatibility system headers to tools/build/cross-build

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