nixpkgs/pkgs/development/compilers/gcc
sternenseemann 2d176b593b gcc*: force building a cross compiler if host and target platform differ
gcc's configure system has the nasty habit (for us) of judging for
itself if it is building a cross compiler (or cross compiling), but on
the limited information of the build, host and target platforms' config
which only contains a subset of the information we encode in
`stdenv.*Platform`. The practical consequence was that prior to this
change building `pkgsLLVM.buildPackages.gcc` actually fails because it
refuses to use `--with-headers` with something it believes to not be a
cross compiler.

As a workaround we force the appropriate variable in the configure
script to always be `yes` regardless of its own conditional check.

At some point we probably should report this issue in some capacity, so
future gcc versions don't force us into workarounds like this and
acdc783418.
2021-05-18 00:16:54 +02:00
..
4.8 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
4.9 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
6 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
7 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
8 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
9 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
10 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
11 gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
common gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
builder.sh
gfortran-darwin-NXConstStr.patch
gfortran-driving.patch
gnat-cflags-11.patch gnat11: extract gnat-cflags-11.patch from gnat-cflags.patch 2021-05-04 20:14:01 -07:00
gnat-cflags.patch
libgomp-dont-force-initial-exec.patch
libphobos.patch
libstdc++-netbsd-ctypes.patch
libstdc++-target.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