186 Commits
Author SHA1 Message Date
Alex Rønne Petersen 478b3b99d2 libc: update OpenBSD headers to 8.0 2026-10-21 19:49:26 +02:00
Alex Rønne Petersen b22be11891 libc: update Linux headers to 7.3 2026-10-19 18:02:46 +02:00
Linus Groh 9c011c6a40 libc: Add macOS non-POSIX net headers 2026-10-15 22:57:08 +02:00
Alex Rønne Petersen eb8ab541be libc: add darwin header os/os_sync_wait_on_address.h 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen 902c7bb4ff libc: remove __SIG_ATOMIC_TYPE__ workaround for riscv(32,64)-netbsd 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen 3392984789 libc: remove __WCHAR_MIN__ workaround for riscv(32,64)-netbsd 2026-10-07 00:30:52 +02:00
Alex Rønne Petersen 5e754304de remove support for wasi-libc
closes https://github.com/ziglang/zig/issues/9342
closes https://github.com/ziglang/zig/issues/15005
closes https://github.com/ziglang/zig/issues/20747
closes https://github.com/ziglang/zig/issues/22570
closes https://codeberg.org/ziglang/zig/issues/30977
2026-10-04 18:23:18 +02:00
Linus Groh 797f46d0ef libc: Update macOS headers to SDK 27.0 2026-09-11 00:11:01 +01:00
Alex Rønne Petersen 72e00c8384 libc: update Linux headers to 7.2 2026-08-18 12:28:55 +02:00
Alex Rønne Petersen 846aa04a07 libc: update NetBSD headers to 11.0-RELEASE 2026-08-02 09:48:22 +02:00
Alex Rønne Petersen 23aa045ef4 libc: update glibc headers to 2.44 2026-07-31 23:04:47 +02:00
Linus Groh 2f7e082381 libc: Add missing macOS mach-o headers 2026-07-03 13:17:25 +02:00
Alex Rønne Petersen e118484c09 libc: update MinGW-w64 headers to 31bd54ab7d5fe03c67ed2bb1a57e531b9c7f8cc4 2026-07-02 11:50:32 +02:00
Alex Rønne Petersen 17cf0ad040 libc: update Linux headers to 7.1 2026-06-15 14:51:59 +02:00
Alex Rønne Petersen bb1f225bc8 libc: backport glibc header fix to avoid __unused
https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=243bdfec8f7cd4a85a8ce6e4e9a5a5accd3ce1aa;hp=ad9784419e274cef9ba7152d7cd2490d291f837b
2026-05-29 05:44:38 +02:00
Alex Rønne Petersen 1e2bac6153 libc: update NetBSD headers to 11.0 2026-05-26 15:40:40 +02:00
Linus Groh 10bdb48a88 libc: Update macOS headers to SDK 26.5 2026-05-21 23:32:22 +01:00
Alex Rønne Petersen c13bf5d778 libc: update OpenBSD headers to 7.9 2026-05-21 03:18:46 +02:00
Alex Rønne Petersen 7ec6872cc4 libc: update Linux headers to 7.0 2026-04-22 08:37:15 +02:00
Linus Groh f19be20912 libc: Update macOS headers to SDK 26.4 2026-03-26 19:25:56 +00:00
Huang Zhichao 3e9ab94d29 FreeBSD libc: guard ssp headers and definitions introduced in FreeBSD 15 2026-03-11 16:04:16 +08:00
Huang Zhichao feaa690dc6 FreeBSD libc: prevent ssp headers from being included before FreeBSD 15 2026-03-11 16:04:16 +08:00
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
MarcandAlex Rønne Petersen 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