summaryrefslogtreecommitdiff
path: root/pkgs/development/compilers/gcc (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrsRobin Gloster2021-05-2412-24/+714
|\
| * 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 acdc783418538f23cdfb671bc8fd4b1c076979bd. sternenseemann2021-05-189-9/+16
| * Merge master into staging-nextgithub-actions[bot]2021-05-102-1/+36
| |\
| | * gnat11: extract gnat-cflags-11.patch from gnat-cflags.patchIvan Babrou2021-05-042-1/+36
| * | Merge staging-next into staginggithub-actions[bot]2021-04-302-0/+605
| |\|
| | * gcc11: init at 11.0.0•••Pretty much copy-pasted from gcc10 with changed version and sha256. Ivan Babrou2021-04-292-0/+605
| * | Merge #119219: gcc10: 10.2 -> 10.3 (into staging)Vladimír Čunát2021-04-291-2/+2
| |\ \
| | * | gcc10: 10.2 -> 10.3Tobias Mayer2021-04-121-2/+2
| * | | Merge pull request #112928 from baloo/baloo/gcc/reproducible•••stdenv: provide a deterministically built gccArnout Engelen2021-04-267-0/+35
| |\ \ \
| | * | | stdenv: provide a deterministically built gcc•••Signed-off-by: Arthur Gautier <baloo@superbaloo.net> Arthur Gautier2021-03-017-0/+35
| * | | | Merge staging-next into staginggithub-actions[bot]2021-04-222-0/+2
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Merge staging-next into staginggithub-actions[bot]2021-04-191-0/+1
| |\ \ \ \
| * | | | | gcc*: always force --program-prefix and pass --target•••Don't rely on gcc detecting from the passed platforms which prefix to use, but always specify the prefix nixpkgs expects (or doesn't). This allows us to work around problems where the configure script would add prefix where nixpkgs doesn't expect one (if `--target` was specified, but the same as `--host`) or doesn't add one if nixpkgs expects one (if `--target` and `--host` are the same, but we are actually cross compiling, but the relevant parts of the platform are not encoded into the platform config. See also ca9be0511b0661be5255dd1fe0b05c5eaf3e56d8. sternenseemann2021-04-168-14/+22
| | |_|_|/ | |/| | |
* | | | | Merge remote-tracking branch 'upstream/master' into structured-attrsRobin Gloster2021-04-232-0/+2
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | gcc8,gcc9: fix ctypes on NetBSD•••This patch was applied to gcc7 in aab8c7ba437 ("netbsd: add cross target"), but it hasn't been brought forward to newer compilers that have the same problem. GCC 6 and (probably) GCC 4.9 also have the issue, but the patch doesn't apply cleanly to them so I'm leaving them alone for now. GCC 10, our current default, appears to have finally fixed this. Alyssa Ross2021-04-222-0/+2
| | |/ / | |/| |
* | | | Merge remote-tracking branch 'upstream/master' into structured-attrsRobin Gloster2021-04-231-1/+1
|\| | |
| * | | gcc: don't build libssp on NetBSD•••On NetBSD, this is provided by libc, and the GCC version clashes with it. Disabling it matches the behaviour of pkgsrc on NetBSD. Fixes: https://github.com/NixOS/nixpkgs/issues/119839 Alyssa Ross2021-04-191-0/+1
| |/ /
| * | Merge pull request #113747 from r-burns/nixpkgs-gcc-decfloat•••gcc: don't disable decimal-float when cross-compilingJohn Ericson2021-03-211-1/+0
| |\ \ | | |/ | |/|
| | * gcc: don't disable decimal-float when cross-compiling•••This causes some minor ugliness during stdenv bootstrap on powerpc64le using cross-compiled bootstrap tools. MPFR wants to use decimal floats by default so they have to be manually disabled in the configure flags when using cross-compiled bootstrap tools. The lineage of this particular configure flag traces back to 2010 (!) It was added in commit: 9b1d5353a951a29e33a3a137cb3d5246c1eff6a7 I've built various cross bootstrap tools and they seem to work fine, so I don't think this is needed anymore. Ryan Burns2021-02-191-1/+0
* | | treewide: structured-attrs eval fixesRobin Gloster2021-03-161-1/+1
* | | treewide: stdenv.lib -> libRobin Gloster2021-03-043-3/+3
* | | Merge remote-tracking branch 'upstream/master' into structured-attrsRobin Gloster2021-03-044-5/+17
|\| |
| * | Merge pull request #112843 from r-burns/gcc-ppc-m32•••gcc: support -m32 on ppc64leJörg Thalheim2021-02-271-0/+4
| |\ \
| | * | gcc: support -m32 on ppc64le•••This is needed to build grub2 for powerpc64le hosts. Running powerpcle code on powerpc64le is somewhat analogous to running multiarch i686 code on x86_64, so it's also useful to have in general. Ryan Burns2021-02-111-0/+4
| | |/
| * | gcc10: Pass langJit to preConfigure•••This should fix libgccjit on darwin. adisbladis2021-02-261-1/+1
| * | gcc: fix cross compilation to musl32Symphorien Gibol2021-02-122-4/+4
| * | add stackprotector support on musl32•••In order to support stackprotector on musl32, this change import a couple of patches from alpinelinux: 1. libssp_nonshared.a is built alongside musl's libc 2. the above library is automatically linked when compiling with gcc6 or gcc7 Walter Franzini2021-02-122-1/+9
| |/
* | Merge remote-tracking branch 'upstream/master' into structured-attrsRobin Gloster2021-02-2826-272/+2823
|\|
| * Merge pull request #111345 from r-burns/ppc64-big-endian•••Enable PPC64 (big-endian)John Ericson2021-01-301-1/+1
| |\
| | * gcc: fix powerpc64-linux•••Long-double-128 is a hardware feature independent of endianness Ryan Burns2021-01-301-1/+1
| * | Merge master into staging-nextgithub-actions[bot]2021-01-279-11/+10
| |\ \
| | * | treewide: remove inherited stdenv.libBen Siraphob2021-01-279-11/+10
| | |/
| * | Merge branch 'master' into staging-nextJan Tojnar2021-01-241-1/+1
| |\|
| | * Merge pull request #110544 from Ericson2314/no-platform•••top-level, lib: Remove platform attribute of platformsJohn Ericson2021-01-231-1/+1
| | |\
| | | * lib: Clean up how linux and gcc config is specified•••Second attempt of 8929989614589ee3acd070a6409b2b9700c92d65; see that commit for details. This reverts commit 0bc275e63423456d6deb650e146120c39c1e0723. John Ericson2021-01-231-1/+1
| | | * Revert "lib: Clean up how linux and gcc config is specified"•••This is a stdenv-rebuild, and should not be merged into master This reverts commit 8929989614589ee3acd070a6409b2b9700c92d65. Jonathan Ringer2021-01-221-1/+1
| | | * lib: Clean up how linux and gcc config is specified•••The `platform` field is pointless nesting: it's just stuff that happens to be defined together, and that should be an implementation detail. This instead makes `linux-kernel` and `gcc` top level fields in platform configs. They join `rustc` there [all are optional], which was put there and not in `platform` in anticipation of a change like this. `linux-kernel.arch` in particular also becomes `linuxArch`, to match the other `*Arch`es. The next step after is this to combine the *specific* machines from `lib.systems.platforms` with `lib.systems.examples`, keeping just the "multiplatform" ones for defaulting. John Ericson2021-01-211-1/+1
| * | | Merge master into staging-nextgithub-actions[bot]2021-01-239-99/+106
| |\| |
| | * | pkgs/development/compilers: stdenv.lib -> libBen Siraphob2021-01-239-99/+106
| | |/
| * / gcc: allow stripping gcc libraries•••When cross compiling to the same kernel / arch combination, it is safe to use strip of libraries. This happens when cross-compiling musl programs. dontStrip is now set in each gcc compiler instead of in gcc/builder.sh. Fixes #75476 Matthew Bauer2021-01-216-13/+13
| |/
| * treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix•••continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi. Jonathan Ringer2021-01-193-6/+6
| * Merge staging-next into staginggithub-actions[bot]2021-01-0412-21/+1518
| |\
| | * gcc10: fix MinGW build & use local copy of mcfgthread patchesKira Bruneau2021-01-0312-21/+1518
| * | Merge staging-next into staginggithub-actions[bot]2021-01-047-15/+50
| |\|
| | * gcc: Always pass `--enable-shared` by default•••I am actually a bit skeptical about this, but @matthewbauer makes the case for this in https://github.com/NixOS/nixpkgs/pull/107238#discussion_r546454453 and I'm happy to go with it not being as in the loop on static linking stuff as he is. John Ericson2021-01-037-7/+42
| | * treewide: Start to break up static overlay•••We can use use `stdenv.hostPlatform.isStatic` instead, and move the logic per package. The least opionated benefit of this is that it makes it much easier to replace packages with modified ones, as there is no longer any issue of overlay order. CC @FRidh @matthewbauer John Ericson2021-01-037-7/+7
| | * gcc 8, 10: tabs -> spacesJohn Ericson2021-01-032-8/+8
| * | Merge pull request #107596 from Mic92/fix-static-pie-take2•••bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-301-1/+4
| |\ \ | | |/ | |/|
| | * bintools-wrapper: skip dynamic linker for static binariesJörg Thalheim2020-12-271-1/+4
| * | Remove trailing whitespaces and fix indentationluc65r2020-12-281-3/+3