This updates musl to version 1.2.2 and removes some compatibility headers which are not needed any more. This was prepared by Rosen Penev and most changes for packages are already included in master. musl 1.2 changes time_t from 32 bit to 64 bit also on 32 bit architectures. This is needed to prepare for the year 2038 problem when the 32 bit time_t will overflow. We also have to update to continue to get updates.
After applying these changes the toolchain has to get rebuild. When I did not rebuild the toolchain my system was crashing with random memory problems. I do not know how to enforce a rebuild of the toolchain. I would like to apply these patches in about 10 days if there are no objections. Thank you Rosen for working on this. Hauke Mehrtens (1): toolchain/musl: Remove extra format attribute patch Rosen Penev (3): toolchain/musl: update to 1.2.2 toolchain/musl: remove several GNU headers bpftools: fix compilation with musl 1.2.x .../utils/bpftools/patches/006-musl-120.patch | 20 + toolchain/musl/common.mk | 6 +- toolchain/musl/include/bits/wordsize.h | 1 - toolchain/musl/include/features.h | 48 --- toolchain/musl/include/sgidefs.h | 73 ---- toolchain/musl/include/sys/cdefs.h | 378 ------------------ toolchain/musl/include/sys/glibc-types.h | 35 -- .../musl/patches/100-add_glob_onlydir.patch | 11 - .../patches/110-read_timezone_from_fs.patch | 4 +- .../patches/200-add_libssp_nonshared.patch | 8 +- toolchain/musl/patches/300-relative.patch | 2 +- ...ribute-to-some-function-declarations.patch | 197 --------- ...ist-unlink-in-pthread_exit-after-all.patch | 51 --- ...hreads_minus_1-as-relaxed-atomic-for.patch | 69 ---- ...own-size-of-some-libc-struct-members.patch | 25 -- ...pping-for-processes-that-return-to-s.patch | 90 ----- ...00-nftw-support-common-gnu-extension.patch | 12 +- .../700-wcsnrtombs-cve-2020-28928.diff | 63 --- .../musl/patches/901-crypt_size_hack.patch | 2 +- 19 files changed, 37 insertions(+), 1058 deletions(-) create mode 100644 package/network/utils/bpftools/patches/006-musl-120.patch delete mode 100644 toolchain/musl/include/bits/wordsize.h delete mode 100644 toolchain/musl/include/features.h delete mode 100644 toolchain/musl/include/sgidefs.h delete mode 100644 toolchain/musl/include/sys/cdefs.h delete mode 100644 toolchain/musl/include/sys/glibc-types.h delete mode 100644 toolchain/musl/patches/100-add_glob_onlydir.patch delete mode 100644 toolchain/musl/patches/400-Add-format-attribute-to-some-function-declarations.patch delete mode 100644 toolchain/musl/patches/500-0001-reorder-thread-list-unlink-in-pthread_exit-after-all.patch delete mode 100644 toolchain/musl/patches/500-0002-don-t-use-libc.threads_minus_1-as-relaxed-atomic-for.patch delete mode 100644 toolchain/musl/patches/500-0003-cut-down-size-of-some-libc-struct-members.patch delete mode 100644 toolchain/musl/patches/500-0004-restore-lock-skipping-for-processes-that-return-to-s.patch delete mode 100644 toolchain/musl/patches/700-wcsnrtombs-cve-2020-28928.diff -- 2.30.2 _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
