| Commit message (Expand) | Author | Age | Files | Lines |
| * | Merge remote-tracking branch 'upstream/master' into structured-attrsorigin/structured-attrs | Robin Gloster | 2021-05-24 | 12 | -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.
| sternenseemann | 2021-05-18 | 9 | -9/+16 |
| | * | Merge master into staging-next | github-actions[bot] | 2021-05-10 | 2 | -1/+36 |
| | |\ |
|
| | | * | gnat11: extract gnat-cflags-11.patch from gnat-cflags.patch | Ivan Babrou | 2021-05-04 | 2 | -1/+36 |
| | * | | Merge staging-next into staging | github-actions[bot] | 2021-04-30 | 2 | -0/+605 |
| | |\| |
|
| | | * | gcc11: init at 11.0.0•••Pretty much copy-pasted from gcc10 with changed version and sha256.
| Ivan Babrou | 2021-04-29 | 2 | -0/+605 |
| | * | | Merge #119219: gcc10: 10.2 -> 10.3 (into staging) | Vladimír Čunát | 2021-04-29 | 1 | -2/+2 |
| | |\ \ |
|
| | | * | | gcc10: 10.2 -> 10.3 | Tobias Mayer | 2021-04-12 | 1 | -2/+2 |
| | * | | | Merge pull request #112928 from baloo/baloo/gcc/reproducible•••stdenv: provide a deterministically built gcc | Arnout Engelen | 2021-04-26 | 7 | -0/+35 |
| | |\ \ \ |
|
| | | * | | | stdenv: provide a deterministically built gcc•••Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
| Arthur Gautier | 2021-03-01 | 7 | -0/+35 |
| | * | | | | Merge staging-next into staging | github-actions[bot] | 2021-04-22 | 2 | -0/+2 |
| | |\ \ \ \
| | | |_|/
| | |/| | |
|
| | * | | | | Merge staging-next into staging | github-actions[bot] | 2021-04-19 | 1 | -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.
| sternenseemann | 2021-04-16 | 8 | -14/+22 |
| | | |_|_|/
| |/| | | |
|
| * | | | | | Merge remote-tracking branch 'upstream/master' into structured-attrs | Robin Gloster | 2021-04-23 | 2 | -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 Ross | 2021-04-22 | 2 | -0/+2 |
| | | |/ /
| |/| | |
|
| * | | | | Merge remote-tracking branch 'upstream/master' into structured-attrs | Robin Gloster | 2021-04-23 | 1 | -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 Ross | 2021-04-19 | 1 | -0/+1 |
| | |/ / |
|
| | * | | Merge pull request #113747 from r-burns/nixpkgs-gcc-decfloat•••gcc: don't disable decimal-float when cross-compiling | John Ericson | 2021-03-21 | 1 | -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 Burns | 2021-02-19 | 1 | -1/+0 |
| * | | | treewide: structured-attrs eval fixes | Robin Gloster | 2021-03-16 | 1 | -1/+1 |
| * | | | treewide: stdenv.lib -> lib | Robin Gloster | 2021-03-04 | 3 | -3/+3 |
| * | | | Merge remote-tracking branch 'upstream/master' into structured-attrs | Robin Gloster | 2021-03-04 | 4 | -5/+17 |
| |\| | |
|
| | * | | Merge pull request #112843 from r-burns/gcc-ppc-m32•••gcc: support -m32 on ppc64le | Jörg Thalheim | 2021-02-27 | 1 | -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 Burns | 2021-02-11 | 1 | -0/+4 |
| | | |/ |
|
| | * | | gcc10: Pass langJit to preConfigure•••This should fix libgccjit on darwin.
| adisbladis | 2021-02-26 | 1 | -1/+1 |
| | * | | gcc: fix cross compilation to musl32 | Symphorien Gibol | 2021-02-12 | 2 | -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 Franzini | 2021-02-12 | 2 | -1/+9 |
| | |/ |
|
| * | | Merge remote-tracking branch 'upstream/master' into structured-attrs | Robin Gloster | 2021-02-28 | 26 | -272/+2823 |
| |\| |
|
| | * | Merge pull request #111345 from r-burns/ppc64-big-endian•••Enable PPC64 (big-endian) | John Ericson | 2021-01-30 | 1 | -1/+1 |
| | |\ |
|
| | | * | gcc: fix powerpc64-linux•••Long-double-128 is a hardware feature independent of endianness
| Ryan Burns | 2021-01-30 | 1 | -1/+1 |
| | * | | Merge master into staging-next | github-actions[bot] | 2021-01-27 | 9 | -11/+10 |
| | |\ \ |
|
| | | * | | treewide: remove inherited stdenv.lib | Ben Siraphob | 2021-01-27 | 9 | -11/+10 |
| | | |/ |
|
| | * | | Merge branch 'master' into staging-next | Jan Tojnar | 2021-01-24 | 1 | -1/+1 |
| | |\| |
|
| | | * | Merge pull request #110544 from Ericson2314/no-platform•••top-level, lib: Remove platform attribute of platforms | John Ericson | 2021-01-23 | 1 | -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 Ericson | 2021-01-23 | 1 | -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 Ringer | 2021-01-22 | 1 | -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 Ericson | 2021-01-21 | 1 | -1/+1 |
| | * | | | Merge master into staging-next | github-actions[bot] | 2021-01-23 | 9 | -99/+106 |
| | |\| | |
|
| | | * | | pkgs/development/compilers: stdenv.lib -> lib | Ben Siraphob | 2021-01-23 | 9 | -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 Bauer | 2021-01-21 | 6 | -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 Ringer | 2021-01-19 | 3 | -6/+6 |
| | * | Merge staging-next into staging | github-actions[bot] | 2021-01-04 | 12 | -21/+1518 |
| | |\ |
|
| | | * | gcc10: fix MinGW build & use local copy of mcfgthread patches | Kira Bruneau | 2021-01-03 | 12 | -21/+1518 |
| | * | | Merge staging-next into staging | github-actions[bot] | 2021-01-04 | 7 | -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 Ericson | 2021-01-03 | 7 | -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 Ericson | 2021-01-03 | 7 | -7/+7 |
| | | * | gcc 8, 10: tabs -> spaces | John Ericson | 2021-01-03 | 2 | -8/+8 |
| | * | | Merge pull request #107596 from Mic92/fix-static-pie-take2•••bintools-wrapper: skip dynamic linker for static binaries | Jörg Thalheim | 2020-12-30 | 1 | -1/+4 |
| | |\ \
| | |/
| |/| |
|
| | | * | bintools-wrapper: skip dynamic linker for static binaries | Jörg Thalheim | 2020-12-27 | 1 | -1/+4 |
| | * | | Remove trailing whitespaces and fix indentation | luc65r | 2020-12-28 | 1 | -3/+3 |