diff --git a/cross/gcc-aarch64/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-aarch64/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-aarch64/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-aarch64/APKBUILD b/cross/gcc-aarch64/APKBUILD index d560b2954..fa4619ee9 100644 --- a/cross/gcc-aarch64/APKBUILD +++ b/cross/gcc-aarch64/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-aarch64 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=aarch64 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-aarch64 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-aarch64 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for aarch64" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-armhf/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-armhf/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-armhf/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-armhf/APKBUILD b/cross/gcc-armhf/APKBUILD index f41b8fe40..2744998c9 100644 --- a/cross/gcc-armhf/APKBUILD +++ b/cross/gcc-armhf/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-armhf # Based on: main/gcc (from Alpine) - CTARGET_ARCH=armhf CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-armhf pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-armhf -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for armhf" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-armv7/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-armv7/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-armv7/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-armv7/APKBUILD b/cross/gcc-armv7/APKBUILD index e45be9561..de6d5d9aa 100644 --- a/cross/gcc-armv7/APKBUILD +++ b/cross/gcc-armv7/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-armv7 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=armv7 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-armv7 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-armv7 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for armv7" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-loongarch64/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-loongarch64/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-loongarch64/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-loongarch64/APKBUILD b/cross/gcc-loongarch64/APKBUILD index 7f4dbed15..ec3a70720 100644 --- a/cross/gcc-loongarch64/APKBUILD +++ b/cross/gcc-loongarch64/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-loongarch64 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=loongarch64 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-loongarch64 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-loongarch64 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for loongarch64" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-ppc64le/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-ppc64le/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-ppc64le/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-ppc64le/APKBUILD b/cross/gcc-ppc64le/APKBUILD index faf33abff..f52434b0d 100644 --- a/cross/gcc-ppc64le/APKBUILD +++ b/cross/gcc-ppc64le/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-ppc64le # Based on: main/gcc (from Alpine) - CTARGET_ARCH=ppc64le CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-ppc64le pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-ppc64le -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for ppc64le" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-riscv64/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-riscv64/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-riscv64/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-riscv64/APKBUILD b/cross/gcc-riscv64/APKBUILD index b7cbf0c0a..74ea7a964 100644 --- a/cross/gcc-riscv64/APKBUILD +++ b/cross/gcc-riscv64/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-riscv64 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=riscv64 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-riscv64 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-riscv64 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for riscv64" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-x86/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-x86/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-x86/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-x86/APKBUILD b/cross/gcc-x86/APKBUILD index d2b98ea1e..b2a432393 100644 --- a/cross/gcc-x86/APKBUILD +++ b/cross/gcc-x86/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-x86 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=x86 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-x86 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-x86 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for x86" url="https://gcc.gnu.org" arch="x86_64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch " diff --git a/cross/gcc-x86_64/0042-libsanitizer-struct_sock_fprog_sz.patch b/cross/gcc-x86_64/0042-libsanitizer-struct_sock_fprog_sz.patch new file mode 100644 index 000000000..5b7971d1e --- /dev/null +++ b/cross/gcc-x86_64/0042-libsanitizer-struct_sock_fprog_sz.patch @@ -0,0 +1,31 @@ +Provide struct_sock_fprog_sz on Linux, rather than on Linux+glibc. + +With `#include ` `struct sock_fprog` is available when +linux headers are available. It seems that glibc is just including that header +as an implementation detail, while musl does not. +--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2025-08-08 08:51:45.621434001 +0200 ++++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp 2026-02-25 20:29:28.519492722 +0100 +@@ -74,6 +74,7 @@ + #include + #include + #include ++#include + #if SANITIZER_ANDROID + #include + #endif +@@ -507,6 +508,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec); + unsigned struct_synth_info_sz = sizeof(struct synth_info); + unsigned struct_vt_mode_sz = sizeof(struct vt_mode); ++ unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + #endif // SANITIZER_LINUX + + #if SANITIZER_GLIBC +@@ -534,7 +536,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(El + + unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info); + unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats); +- unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog); + # endif // SANITIZER_GLIBC + + # if !SANITIZER_ANDROID && !SANITIZER_APPLE diff --git a/cross/gcc-x86_64/APKBUILD b/cross/gcc-x86_64/APKBUILD index a2a3347e1..6e2c234d5 100644 --- a/cross/gcc-x86_64/APKBUILD +++ b/cross/gcc-x86_64/APKBUILD @@ -1,7 +1,6 @@ # Automatically generated aport, do not edit! # Generator: pmbootstrap aportgen gcc-x86_64 # Based on: main/gcc (from Alpine) - CTARGET_ARCH=x86_64 CTARGET="$(arch_to_hostspec ${CTARGET_ARCH})" LANG_D=false @@ -23,6 +22,7 @@ CBUILDROOT="/" _cross_configure="--disable-bootstrap --with-sysroot=/usr/$CTARGET" +maintainer="Oliver Smith " pkgname=gcc-x86_64 pkgver=15.2.0 # i.e. 13.2.1, must match gcc/BASE-VER @@ -34,7 +34,7 @@ _pkgsnap="${pkgver##*_git}" [ "$CHOST" != "$CTARGET" ] && _target="-$CTARGET_ARCH" || _target="" pkgname=gcc-x86_64 -pkgrel=2 +pkgrel=3 pkgdesc="Stage2 cross-compiler for x86_64" url="https://gcc.gnu.org" arch="aarch64" @@ -279,6 +279,7 @@ source="https://gcc.gnu.org/pub/gcc/releases/gcc-$_pkgbase/gcc-$_pkgbase.tar.xz 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch + 0042-libsanitizer-struct_sock_fprog_sz.patch 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch @@ -796,6 +797,7 @@ eecc77e2a9cf956fd752693ad7f8ff8253a7bb557e00564bb488bbc1deac895e63104cc1182a0bdd 9f4c3fa0d17cfcd72626bdbaf51992ff3018f878d673ab19b9056047ee2630b581e5a5a4d4857444f08ba9bcdb0fc94f90dcda6180816e39690d1652843f0d8a 0039-except-Don-t-use-the-cached-value-of-the-gcc_except_.patch d166475e340c91bbb24cf257240aab37129b04f2609e5ce323b530ab83853a4c34c525e0072c15732717f1681db07e6b3b0a4d268720c31f460435ccf4c99b7f 0040-ada-libgnat-use-stub-symbolic-module-name-functions.patch c717764ef52c0226a23cbf434654cdefa6cbf38ec625648575d9143c5513b16d8914c25015db743033b8a46ac5b2c33ab75e1b67076128d67bb1319e5a83dd85 0041-ada-libgnat-recognize-linux-musleabi-and-linux-muslg.patch +5dd452a80c496a587a8826b04a4917045e4028631606e85cabd8e87e0460642d188a2156c4e0cf37a5d88e66ebd08a08393d48a6065045178c69eaba2edd063e 0042-libsanitizer-struct_sock_fprog_sz.patch c3b64b05332bd4dd7fad3fff3cacd4f9de0512943f1548c6f1205fab1a74c83622024f30471805f57d625198cc32f647b32172914528fd5605d0bf61cb0c3ff1 0001-tree-object-size.cc-Fix-assert-constant-offset-in-ch.patch e91873055550eba051d9297bec5c6acd27abb9ee6ce8911cdd04b5faf37d77b6b2a7607ec588d2863f13f14b48af9398cb4ac42443d8567bfa5037dc6bd50404 0001-LoongArch-Only-allow-valid-binary-op-when-optimize-c.patch "