mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
8f00857bf9
Without the change gcc-12 on musl fails to build due to system headers poisoning: /build/build/./prev-gcc/xg++ ... ../../gcc-13-20220626/gcc/cp/mapper-resolver.cc In file included from /<<NIX>>/musl-1.2.3-dev/include/pthread.h:30, from /build/build/prev-x86_64-unknown-linux-musl/libstdc++-v3/include/x86_64-unknown-linux-musl/bits/gthr-default.h:35, .... from /build/build/prev-x86_64-unknown-linux-musl/libstdc++-v3/include/memory:77, from ../../gcc-13-20220626/gcc/../libcody/cody.hh:24, from ../../gcc-13-20220626/gcc/cp/../../c++tools/resolver.h:25, from ../../gcc-13-20220626/gcc/cp/../../c++tools/resolver.cc:23, from ../../gcc-13-20220626/gcc/cp/mapper-resolver.cc:32: /<<NIX>>/musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc" 84 | void *calloc(size_t, size_t); | ^ /<<NIX>>/musl-1.2.3-dev/include/sched.h:124:36: error: attempt to use poisoned "calloc" 124 | #define CPU_ALLOC(n) ((cpu_set_t *)calloc(1,CPU_ALLOC_SIZE(n))) | ^ The change pulls upstream fix as is. |
||
---|---|---|
.. | ||
4.8 | ||
4.9 | ||
6 | ||
7 | ||
8 | ||
9 | ||
10 | ||
11 | ||
12 | ||
common | ||
builder.sh | ||
gcc-12-gfortran-driving.patch | ||
gcc-12-no-sys-dirs.patch | ||
gfortran-darwin-NXConstStr.patch | ||
gfortran-driving.patch | ||
gnat-cflags-11.patch | ||
gnat-cflags.patch | ||
libgomp-dont-force-initial-exec.patch | ||
libphobos.patch | ||
libsanitizer-no-cyclades-9.patch | ||
libsanitizer-no-cyclades.patch | ||
libstdc++-netbsd-ctypes.patch | ||
libstdc++-target.patch | ||
no-sys-dirs-riscv-gcc9.patch | ||
no-sys-dirs-riscv.patch | ||
no-sys-dirs.patch | ||
parallel-bconfig.patch | ||
ppc-musl.patch | ||
res_state-not-declared.patch | ||
sigsegv-not-declared.patch | ||
struct-sigaltstack-4.9.patch | ||
struct-sigaltstack.patch | ||
struct-ucontext-4.5.patch | ||
struct-ucontext-4.8.patch | ||
struct-ucontext-libjava.patch | ||
struct-ucontext.patch | ||
update-mcfgthread-patches.sh | ||
use-source-date-epoch.patch |