History log of /freebsd/tools/build/cross-build/include/linux/sys/wait.h (Results 1 – 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0, release/13.2.0, release/12.4.0, release/13.1.0
# aee99ab4 15-Dec-2021 Jessica Clarke <jrtc27@FreeBSD.org>

cross-build: Add comment missing from 9e5b0d9eac5b

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
comm

cross-build: Add comment missing from 9e5b0d9eac5b

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

show more ...


# 9e5b0d9e 15-Dec-2021 Jessica Clarke <jrtc27@FreeBSD.org>

cross-build: Fix bmake bootstrap with glibc 2.34

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

cross-build: Fix bmake bootstrap with glibc 2.34

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

show more ...