Alex Rønne Petersen
7af9882c6d
libc: update Linux headers to 6.19
2026-02-09 23:54:30 +01:00
Alex Rønne Petersen
0f51f663f0
musl: update some hexagon headers from the quic fork
2026-01-27 23:24:57 +01:00
Alex Rønne Petersen
49afd7eee0
libc: update glibc headers to 2.43
2026-01-26 05:56:54 +01:00
Alex Rønne Petersen
3245eddcb1
musl: fix typo in 171b104640
2026-01-21 17:53:11 +01:00
Alex Rønne Petersen
081888286b
musl: patch riscv bits/fenv.h for soft float
2026-01-16 13:29:34 +01:00
Alex Rønne Petersen
171b104640
musl: patch loongarch bits/fenv.h for soft float
...
This change was missed in 1f7ee99b35 .
2026-01-16 13:25:21 +01:00
Alex Rønne Petersen
66d97267c7
libc: add openbsd 7.8 headers
...
This excludes all headers in /usr/include/dev because that directory is bonkers
huge (18M). We can add these on an as-needed basis.
2026-01-05 14:52:48 +01:00
Alex Rønne Petersen
b27bdd5af0
libc: add back freebsd bsm headers
...
Accidentally removed in #30135 .
2025-12-21 03:54:17 +01:00
Linus Groh
648c1c5d28
libc: Update macOS headers to SDK 26.2
2025-12-14 20:35:07 +00:00
Alex Rønne Petersen
5b8545e4d9
libc: update headers from freebsd 15
2025-12-07 09:32:28 +01:00
Alex Rønne Petersen
ca7523742f
libc: rename any-macos-any to any-darwin-any
2025-11-14 19:19:00 +01:00
Linus Groh
f55eb18abb
libc: Add mach-o/getsect.h and mach/exception.h macOS headers
...
Closes #18257 .
2025-11-04 21:51:48 +00:00
Linus Groh
e2fb103ce1
libc: Add all macOS CommonCrypto headers
...
Closes #23795 .
2025-11-04 21:48:06 +00:00
Linus Groh
abca5bd588
libc: Update macOS headers to SDK 26.1
2025-11-04 21:40:21 +00:00
Alex Rønne Petersen
df1909900c
libc: update Linux headers to 6.17
2025-09-29 22:53:06 +02:00
Kyle Schwarz
6260d2772f
glibc: guard inet-fortified.h
2025-09-24 02:55:50 +02:00
Linus Groh
93218eacaa
libc: Update macOS headers to SDK 26.0
2025-09-16 21:15:13 +01:00
Alex Rønne Petersen
07cc32b004
wasi-libc: update to c89896107d7b57aef69dcadede47409ee4f702ee
2025-08-20 19:18:11 +02:00
Alex Rønne Petersen
234630bb8d
netbsd: add some missing system headers
...
The Lua headers are needed because, yes, NetBSD has a kernel module for Lua
support. soundcard.h is technically a system header but is installed by
libossaudio and so was missed previously.
This also removes some riscv headers that shouldn't have been added because
NetBSD does not yet officially support the riscv32/riscv64 ports.
Closes #24737 .
2025-08-14 08:25:08 +02:00
Alex Rønne Petersen
1804251dfb
glibc: update headers to 2.42
2025-07-31 22:02:37 +02:00
DubbleClick
c7bcdb4802
fix glibc version for single_threaded.h (2.32 instead of 2.35)
2025-07-16 19:18:15 +02:00
Marc
75d6d4c3f2
add glibc versioning for a number of headers ( #24237 )
...
* getrandom was added in glibc 2.25
https://sourceware.org/bugzilla/show_bug.cgi?id=17252
* copy_file_range was added in glibc 2.27
https://sourceware.org/git/?p=glibc.git;a=commit;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f
* threads.h should not exist for glibc < 2.28
* single_threaded.h should not exist for glibc < 2.35
* Apply suggestions from code review
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
* 2.35 instead of 35
* before 2.35 instead of 2.34 and before
---------
Co-authored-by: Alex Rønne Petersen <alex@alexrp.com>
2025-06-24 16:14:00 +00:00
Alex Rønne Petersen
0979e56bd2
mingw: Update MinGW-w64 headers to 38c8142f660b6ba11e7c408f2de1e9f8bfaf839e.
2025-06-11 15:28:36 +02:00
Alex Rønne Petersen
3b2bef8a95
Merge pull request #24025 from alexrp/glibc-deduplication
...
`libc`: Merge header directories for glibc and NetBSD libc where applicable
2025-06-04 05:14:21 +02:00
Andrew Kelley
826e1c30ba
Merge pull request #24013 from alexrp/test-matrix
...
More target coverage in the module test matrix
2025-06-03 17:05:15 -04:00
Linus Groh
c907866d55
libc: update macOS headers to SDK 15.5
2025-05-31 22:40:38 +02:00
Alex Rønne Petersen
63a9048baf
libc: Merge header directories for glibc and NetBSD libc where applicable.
...
Manual patches:
* lib/libc/include/csky-linux-gnu/gnu/{lib-names,stubs}.h
* lib/libc/include/powerpc-linux-gnu/bits/long-double.h
Takes lib/libc/include from 115.5 MB to 113.4 MB.
Closes #21258 .
2025-05-30 00:15:39 +02:00
Alex Rønne Petersen
cbf9d3c570
libc: Remove riscv32-netbsd-none and riscv64-netbsd-none headers.
...
These were not intended to be included as NetBSD's RISC-V port has not had an
official release yet.
2025-05-29 16:48:28 +02:00
Alex Rønne Petersen
553cb3ed46
libc: Add NetBSD system and libc headers from 10.1.
...
sys/param.h was manually adjusted to not define __NetBSD_Version__ since it will
be defined by the compiler.
2025-05-17 04:41:27 +02:00
Linus Groh
abbead1fb8
libc: update macOS headers to SDK 15.2
2025-05-12 16:50:17 +02:00
Alex Rønne Petersen
6e64bc845f
libc: Add FreeBSD system and libc headers from 14.2.0.
...
osreldate.h and sys/param.h were manually adjusted to not __FreeBSD_version
since it will be defined by the compiler.
2025-05-10 12:19:26 +02:00
Alex Rønne Petersen
7f20b9f9db
musl: Add hexagon-linux-musl headers.
2025-04-11 02:28:35 +02:00
Alex Rønne Petersen
c2f5515fb0
glibc: Add missing stubs-lp64s.h for loongarch64-linux-gnusf.
...
https://sourceware.org/bugzilla/show_bug.cgi?id=32776
2025-04-06 14:24:49 +02:00
TCROC
d590b87b6f
glibc: fix uninitialized memory in __pthread_cond_s for <=2.40
...
* https://sourceware.org/bugzilla/show_bug.cgi?id=32786
* https://inbox.sourceware.org/libc-alpha/87zfhpfqsm.fsf@oldenburg.str.redhat.com
2025-03-13 20:23:27 +00:00
Alex Rønne Petersen
bedf806672
Merge pull request #22999 from alexrp/mingw-update
2025-02-25 12:54:55 +01:00
Alex Rønne Petersen
37706cc1d9
libc: Update Linux headers to 6.13.4.
2025-02-25 11:24:18 +01:00
Alex Rønne Petersen
ed10a5db58
mingw: Update MinGW-w64 headers to 3839e21b08807479a31d5a9764666f82ae2f0356.
2025-02-24 11:59:10 +01:00
Alex Rønne Petersen
05d8b565ad
wasi-libc: Deduplicate sources and headers with regards to upstream musl.
...
Unfortunately some duplicate files must remain in lib/libc/wasi/libc-top-half
because they include internal headers *in the same directory* which have edits
relative to upstream musl. Because C is an amazing language, there is no way to
make it so that e.g. upstream musl's src/stdio/fputc.c includes wasi-libc's
src/stdio/putc.h instead of the upstream putc.h. The preprocessor always
searches the current directory first for quote includes.
Anyway, this still takes us from 2.9M to 1.4M for the combination of
lib/libc/wasi and lib/libc/include/wasm-wasi-musl, so I still call it a win.
2025-02-21 09:23:50 +01:00
Hugo Beauzée-Luyssen
462d26171b
glibc: don't redirect fts to fts64 before glibc 2.23
2025-02-14 02:11:26 +01:00
Andrew Kelley
1d8857bbe3
Merge pull request #22695 from alexrp/glibc-2-41
...
glibc 2.41
2025-02-10 17:32:55 -08:00
Hugo Beauzée-Luyssen
a06a7108c8
generic glibc: guard memfd_create & mlock2 declarations
...
They were introduced in glibc 2.27
2025-02-08 01:02:28 +01:00
Hugo Beauzée-Luyssen
edee702a7f
generic glibc: guard pidfd_spawn(p) declarations
2025-02-06 18:00:45 +01:00
Hugo Beauzée-Luyssen
9d85c79f2f
generic glibc: guard pidfd function declarations
...
They were introduced in 2.36 & 2.39
2025-02-06 18:00:44 +01:00
Hugo Beauzée-Luyssen
e716d13555
generic glibc: guard definitions of functions introduced in 2.36
2025-02-06 18:00:43 +01:00
Hugo Beauzée-Luyssen
5d2584e53e
generic glibc: guard statx declaration
...
It was added in glibc 2.28
2025-02-06 10:08:12 +01:00
Hugo Beauzée-Luyssen
fdef5c564d
generic glibc: guard close_range declaration
...
It is only available starting from glibc 2.34
2025-02-06 10:08:12 +01:00
Alex Rønne Petersen
2ba137b02b
glibc: Update header files to 2.41.
2025-01-31 14:30:32 +01:00
Frank Denis
e60072635e
Add libdl shims from wasi-libc
2025-01-29 12:48:56 +01:00
Frank Denis
8a8da49b52
Re-add lazy preopen changes
2025-01-29 11:54:08 +01:00
Frank Denis
3f4c43b0aa
Update wasi-libc to d03829489904d38c624f6de9983190f1e5e7c9c5
2025-01-29 11:54:02 +01:00