nixpkgs/pkgs/development/compilers/gcc
Will Dietz e845be1756 gcc: fix libgomp to not use initial-exec
Only apply w/musl since while it's wrong everywhere it apparently
hasn't broken things entirely w/glibc so keep things as they were.

Patch regenerated from original so that it applies
which isn't saying much since it's simple :).

Source:

https://patchwork.ozlabs.org/patch/154298/

IRC chat on #musl with Rich and others endorses this,
at least at the conceptual level of no shared library
should be using initial-exec TLS.

Fixes various uses of libgomp that previously crashed (before 1.1.20)
or encounter errors (post-1.1.20), such as pythonPackages.cython .
2018-09-25 00:04:33 -05:00
..
4.8 gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
4.9 gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
5 gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
6 gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
7 gcc: fix libgomp to not use initial-exec 2018-09-25 00:04:33 -05:00
8 gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
common [RFC] ppc64le enablement (#45340) 2018-08-21 15:31:34 -04:00
snapshot gcc: Clarify Disabling libmpx in cross stage static 2018-09-18 16:27:04 -04:00
builder.sh treewide: Remove gnat support. 2018-03-08 13:56:36 -05:00
gfortran-darwin-NXConstStr.patch gcc: fix #12836: build on darwin 2016-02-17 09:42:10 +01:00
gfortran-driving.patch gcc: Remove duplicate files 2015-05-12 15:05:01 +02:00
libstdc++-hook.sh treewide: Use pkgs/build-support/roles.bash to remove copy pasta 2018-05-07 15:10:37 -04:00
libstdc++-target.patch gcc: Remove duplicate files 2015-05-12 15:05:01 +02:00
no-sys-dirs.patch gcc: Remove duplicate files 2015-05-12 15:05:01 +02:00
parallel-bconfig.patch gcc: Remove duplicate files 2015-05-12 15:05:01 +02:00
ppc-musl.patch [RFC] ppc64le enablement (#45340) 2018-08-21 15:31:34 -04:00
res_state-not-declared.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
sigsegv-not-declared.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
struct-sigaltstack-4.9.patch gcc-4.9: fixup build with glibc-2.26 2017-11-07 12:56:57 +01:00
struct-sigaltstack.patch gcc6: fix build with new glibc, by upstream patches 2017-11-05 19:09:53 +01:00
struct-ucontext-4.5.patch gcc-4.5: fixup build with glibc-2.26 2017-11-07 15:39:24 +01:00
struct-ucontext-4.8.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
struct-ucontext-libjava.patch gcj: fix build with glibc 2.26 2017-11-09 20:50:21 +00:00
struct-ucontext.patch gcc6: fix build with new glibc, by upstream patches 2017-11-05 19:09:53 +01:00
use-source-date-epoch.patch gcc: Respect $SOURCE_DATE_EPOCH 2016-01-05 17:21:48 +01:00