nixpkgs/pkgs/development/compilers
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
..
4th 4th: fix darwin build 2021-03-03 19:19:07 +07:00
abcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
acme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
adoptopenjdk-bin doptopenjdk: set CLASSPATH 2021-05-02 16:19:30 +09:00
adoptopenjdk-icedtea-web adoptopenjdk-icedtea-web: 1.8.5 -> 1.8.6 2021-02-28 07:40:36 +00:00
aldor treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
aliceml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
apache-flex-sdk pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
arachne-pnr arachne-pnr: patchPhase -> postPatch, cleanup 2021-03-05 16:22:00 +01:00
asn1c pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
aspectj pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ats pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ats2 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
avra pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bigloo pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
binaryen pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
bluespec bluespec: unstable-2021.02.14 -> 2021.03.29 2021-04-03 09:58:05 -05:00
bs-platform bs-platform: remove myself from maintainers 2021-03-21 11:21:10 -07:00
bupc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cakelisp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
carp carp: 0.3.0 -> 0.5.0 (#113376) 2021-02-19 18:51:52 +01:00
cc65 cc65: add platforms 2021-01-28 18:13:42 -03:00
ccl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
chez pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
chicken chickenPackages_{4,5}: recurseIntoAttrs 2021-03-03 13:40:47 +01:00
ciao ciao: 1.19.0 -> 1.20.0 2021-04-10 06:44:18 +00:00
clasp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
clean clean: change to bsd2 license 2021-03-17 15:07:48 +01:00
closure pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
cmdstan cmdstan: use python3 2021-03-25 11:48:24 +01:00
cmucl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
colm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
compcert compcert: add support for Coq 8.13 2021-05-07 08:35:13 +02:00
computecpp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
copper copper: broken on darwin (#123030) 2021-05-14 17:35:55 -04:00
coreclr pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
crystal crystal: fix llvm_config 2021-05-08 01:29:18 -07:00
crystal2nix crystal2nix: 0.1.0 -> 0.1.1 2021-03-29 18:12:25 +08:00
cudatoolkit cudatoolkit-{9,9_0,9_1,9_2}: remove 2021-04-18 11:55:10 +02:00
dale dale: fix build 2021-05-08 01:29:18 -07:00
dasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dev86 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
dmd dmd: mark unbroken (#119647) 2021-04-16 21:33:08 +02:00
dotnet dotnetCorePackages.sdk_5_0: 5.0.200 -> 5.0.202 2021-04-15 19:44:38 +08:00
dtc dtc: add yaml support and enable tests (#118700) 2021-04-09 02:02:36 +02:00
ecl ecl: add changelog 2021-04-01 17:59:49 +02:00
edk2 edk2: 202011 -> 202102 2021-03-30 02:20:31 +02:00
eli pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
elm elm-instrument: fix build 2021-05-13 09:36:51 -07:00
emscripten pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
eql pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
factor-lang treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
fasm fasm: 1.73.25 -> 1.73.27 2021-02-04 07:56:11 +00:00
fasmg pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
flasm flasm: fix cross-compilation 2021-02-16 16:35:04 +07:00
flutter flutter: remove patchelf 2021-03-23 21:00:23 +01:00
flux treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
fpc lazarus: 2.0.10-2 -> 2.0.12 2021-02-26 11:45:51 +00:00
fsharp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fsharp41 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
fstar pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gambit gambit: fix compiler paths 2021-03-22 10:58:48 -04:00
gavrasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gcc gcc*: force building a cross compiler if host and target platform differ 2021-05-18 00:16:54 +02:00
gcc-arm-embedded pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gerbil gambit: refactor (#113405) 2021-03-09 10:52:26 +01:00
gforth pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ghc haskell.compiler.ghcHEAD: 8.11.20200824 -> 9.3.20210504 2021-05-08 13:03:55 +02:00
ghcjs-ng treewide: use https for github URIs 2021-04-17 17:59:08 +02:00
ghdl ghdl-llvm: fix llvm output selection 2021-05-12 10:51:11 +02:00
gleam gleam: 0.15.0 -> 0.15.1 2021-05-09 14:37:43 +09:00
glslang pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gnatboot pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
gnu-cobol gnu-cobol: 2.2 -> 3.1.2 2021-01-25 19:16:20 +01:00
gnu-smalltalk treewide: gnome2.gtk -> gtk2 2021-03-17 00:00:16 +01:00
go go_1_15: 1.15.11 -> 1.15.12 2021-05-08 07:03:21 +10:00
go-jsonnet go-jsonnet: 0.16.0 -> 0.17.0 2020-11-26 05:56:06 +00:00
gprolog gprolog: expand platforms to unix 2021-03-03 19:19:07 +07:00
graalvm lzma: deprecate alias 2021-04-04 19:49:52 +02:00
gwt treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
halide halide: Enable on platforms.all (#110106) 2021-01-25 15:48:16 +01:00
haxe haxe: build versions < 4.2 with OCaml 4.10 2021-04-27 08:42:50 +02:00
hhvm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
hop pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
iasl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
idris2 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
inform6 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
inform7 pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
intel-graphics-compiler llvmPackages: Multuple outputs for everythting 2021-04-30 05:41:00 +00:00
intercal pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ios-cross-compile treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ispc ispc: fix llvm build 2021-05-08 18:13:45 -07:00
jasmin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
javacard-devkit pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
jetbrains-jdk jetbrains.jdk: 11.0.10-b37 -> 11.0.10-b1427 2021-04-14 21:54:58 +02:00
jsonnet jsonnet: 0.16.0 -> 0.17.0 2020-11-26 08:26:57 +00:00
julia julia: add README 2021-04-28 06:55:53 +00:00
juniper juniper: init at 2.3.0 2021-04-11 14:51:54 -04:00
jwasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
koka koka: make sure runtime dependencies are host -> target 2021-04-25 12:36:06 +02:00
kotlin kotlin: 1.4.21 -> 1.4.32 2021-05-02 14:08:43 +02:00
ldc ldc: fix build 2021-05-08 01:29:18 -07:00
llvm llvmPackages_{10,11,12}.compiler-rt: install resource txts to $out/share 2021-05-15 17:40:24 +02:00
lobster lobster: unstable-2020-10-04 -> unstable-2020-12-25 2021-02-09 22:21:24 +01:00
manticore treewide: editorconfig fixes 2021-01-20 09:11:11 +10:00
matter-compiler treewide: add final newline 2021-01-22 07:18:04 +10:00
mcpp pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mercury treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
meta-environment/meta-build-env treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
mezzo pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
microscheme microscheme: refactor, fix build on darwin and cross-compilation 2021-02-17 15:50:52 +07:00
mint mint: 0.9.0 -> 0.11.0 2021-04-01 11:12:47 +08:00
miranda miranda: add meta.platforms 2021-03-03 19:19:07 +07:00
mit-scheme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mkcl pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mlkit mlkit: 4.5.6 -> 4.5.7 2021-02-11 19:43:27 +00:00
mlton pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
mono mono5: 5.20.1.27 -> 5.20.1.34 2021-01-31 10:38:13 +01:00
mosml treewide: drop conditional makeFlag for darwin when specifiying cross-compiler 2021-02-20 01:02:08 +07:00
mozart treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
mruby mruby: 2.1.2 -> 3.0.0 2021-03-12 03:10:25 +00:00
mrustc mrustc: fix llvm_config path 2021-05-08 01:29:18 -07:00
muon muon: fix darwin build 2021-03-03 19:19:08 +07:00
nasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
neko neko: try to list applying licenses more accurately 2021-03-25 22:11:00 +01:00
nextpnr treewide: remove implicit use of stdenv.lib 2021-01-27 20:04:57 +07:00
nim nim: 1.4.4 -> 1.4.6 2021-05-02 10:52:26 +02:00
nvidia-cg-toolkit treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
obliv-c pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ocaml Merge pull request #114526 from bobrik/ivan/ocaml-4.10.2 2021-03-22 21:31:23 +01:00
opa opa: build with OCaml 4.04 2021-03-12 08:51:50 +01:00
open-watcom-bin treewide: stdenvNoCC.lib -> lib 2021-01-27 13:01:51 +07:00
opendylan pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
openjdk openjfx: Fix for CA derivations 2021-05-03 18:01:02 +02:00
openspin pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ophis ophis: fix build 2021-05-01 21:22:32 +02:00
oraclejdk oraclejdk*: add meta.mainProgram 2021-04-29 16:01:18 +02:00
orc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
osl treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
owl-lisp treewide: add targetPrefix to hardcoded references to CC=cc 2021-02-20 01:01:46 +07:00
paco paco: init at 1.0 2020-09-30 11:05:45 +02:00
pakcs treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
pforth pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
picat pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
polyml pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
ponyc pony-corral: 0.4.1 -> 0.5.0 2021-05-08 17:45:16 -07:00
purescript purescript: 0.13.8 -> 0.14.0 2021-02-26 14:55:45 +09:00
qbe qbe: unstable-2019-07-11 → unstable-2020-10-05 2021-02-09 19:54:57 +00:00
rasm rasm: fix darwin build 2021-03-03 19:19:08 +07:00
reason reason: 3.6.2 → 3.7.0 2021-04-07 20:34:26 +02:00
rgbds pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
roslyn roslyn: regenerate deps 2021-04-15 19:44:38 +08:00
rust Merge master into staging-next 2021-05-16 06:22:05 +00:00
sagittarius-scheme pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
sbcl sbcl: init 2.1.2, default 2.0.8 -> 2.1.2 2021-03-28 16:41:53 +02:00
scala dotty: 0.26.0-RC1 -> 3.0.0-RC3 2021-04-27 22:26:25 +02:00
sdcc Merge pull request #119701 from Stekke/sdcc 2021-04-18 20:18:31 +01:00
seexpr pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
serpent serpent: fix darwin build 2021-03-03 22:35:06 +07:00
shaderc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
sjasmplus sjasmplus: init at 1.18.2 2021-03-18 18:33:35 +00:00
smlnj treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
solc solc: make linux only 2021-03-14 17:06:47 -07:00
souffle pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
spasm-ng pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
spirv-llvm-translator spirv-llvm-translator: fix llvm build 2021-05-08 18:13:45 -07:00
squeak pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
stalin treewide: fix double quoted strings in meta.description 2021-01-24 19:56:59 +07:00
swi-prolog swiProlog: fix darwin build 2021-05-11 21:10:57 +02:00
swift swift: mark as broken 2021-01-29 22:59:37 +01:00
terra pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
teyjus pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
tinycc tinycc: fixup perms for generated .pc file 2019-10-12 14:45:17 +02:00
tinygo treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
tvm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
unison pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
urn urn: all platforms 2021-03-22 15:05:16 +07:00
urweb pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
vala Merge #121780: treewide meta.maintainers tweaks 2021-05-08 10:47:08 +02:00
vlang pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
vyper python38Packages.vyper: 0.2.8 -> 0.2.11 2021-03-10 09:30:27 +00:00
wcc pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
wla-dx pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
x11basic pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
xa dxa: add fallback download url 2021-04-14 07:45:10 +02:00
yap pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
yasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
yosys yosys: 0.9+3962 -> 0.9+4052 2021-03-31 23:11:34 +02:00
z88dk z88dk: 2.0 -> 2.1 2021-05-11 19:46:01 +07:00
zasm pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
zig Merge branch 'master' into staging-next 2021-05-14 22:27:34 +02:00
zulu zulu*: add meta.mainProgram 2021-04-29 15:28:57 +02:00
zz Merge pull request #115361 from SuperSandro2000/fix-collection24 2021-03-08 02:23:48 +01:00