History log of /freebsd/tools/build/cross-build/include/linux/unistd.h (Results 1 – 7 of 7)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

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


Revision tags: release/13.2.0
# 320e7e00 02-Mar-2023 Jose Luis Duran <jlduran@gmail.com>

Revert "Fix cross-build support for Ubuntu 16.04"

This reverts commit d6327ae8c11b73765f100981baca49166b558b70.

Before version 2.25, glibc's unistd.h would define the POSIX subset of
getopt.h by de

Revert "Fix cross-build support for Ubuntu 16.04"

This reverts commit d6327ae8c11b73765f100981baca49166b558b70.

Before version 2.25, glibc's unistd.h would define the POSIX subset of
getopt.h by defining __need_getopt, including getopt.h (which would
disable the header guard) and then undefining it so later including
getopt.h explicitly would define the extensions. However, we wrap
getopt, and so the wrapper's #pragma once breaks that. Thus getopt.h was
included before the real unistd.h to ensure we get all the extensions.

However, with clang 12 that causes problems where we get a function
mismatch (since getopt can throw exceptions). If we include it after
unistd.h, it will get the full definitions since glibc no longer does
the subsetting thing. This will result in matching definitions and fix
clang 12.

Reviewed by: imp, jrtc27 (OK'd on irc)
Pull Request: https://github.com/freebsd/freebsd-src/pull/668

show more ...


Revision tags: release/12.4.0, release/13.1.0, release/12.3.0
# a89410ef 13-Sep-2021 Alex Richardson <arichardson@FreeBSD.org>

cross-build: fix some redeclaration warnings during bootstrap

MFC after: 3 days


Revision tags: release/13.0.0
# d6327ae8 23-Jan-2021 Jessica Clarke <jrtc27@FreeBSD.org>

Fix cross-build support for Ubuntu 16.04

Older glibc headers did some very nasty things that have since been
sanitised. We could also fix this by adding a linux/getopt.h wrapper
alongside the existi

Fix cross-build support for Ubuntu 16.04

Older glibc headers did some very nasty things that have since been
sanitised. We could also fix this by adding a linux/getopt.h wrapper
alongside the existing common/getopt.h that #undef's __need_getopt, but
that seems a little more hacky and complicated.

Reviewed by: arichardson

show more ...


# 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.


Revision tags: release/12.2.0
# e2515283 27-Aug-2020 Glen Barber <gjb@FreeBSD.org>

MFH

Sponsored by: Rubicon Communications, LLC (netgate.com)


# 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 implementatio

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

show more ...