Vladimír Čunát
2a44031d56
stdenv/make-bootstrap-tools: nuke yet another header
...
This is needed after glibc bump from PR #111616 .
2021-07-16 16:15:32 +02:00
Vladimír Čunát
5a71fa8447
stdenv bootstrap: hack around glibc version mismatch
...
With this we shouldn't need other workarounds for the LTO problems.
2021-07-06 16:02:11 +02:00
John Ericson
77e97ac4ca
glibc: Use pname
and version
2021-05-10 20:56:33 +00:00
github-actions[bot]
9cf0393c37
Merge staging-next into staging
2021-04-28 18:14:28 +00:00
regnat
4105c06bf3
Also make the bootstrap tools generation CA
...
(And fix an ofborg eval error btw)
2021-04-28 12:46:43 +02:00
regnat
14f66d60a7
Make the bootsrap respect the contentAddressedByDefault setting
...
Patch every `derivation` call in the bootsrap process to add it a
conditional `__contentAddressed` parameter.
That way, passing `contentAddressedByDefault` means that the entire
build closure of a system can be content addressed
2021-04-28 10:25:49 +02:00
Arnout Engelen
48c952c039
Merge pull request #112928 from baloo/baloo/gcc/reproducible
...
stdenv: provide a deterministically built gcc
2021-04-26 11:07:34 +02:00
Ryan Burns
68823d6d65
stdenv/bootstrap-tools: remove powerpc64 special case
...
Now that powerpc64 is always ELFv2, we can unconditionally use musl
tools here.
2021-03-15 19:27:41 -07:00
Arthur Gautier
a961aeadae
stdenv: provide a deterministically built gcc
...
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-03-01 05:06:39 +00:00
John Ericson
5fc5e83808
Merge pull request #111345 from r-burns/ppc64-big-endian
...
Enable PPC64 (big-endian)
2021-01-30 16:26:06 -05:00
Ryan Burns
76fc6d2870
bootstrap-tools-cross: add powerpc64-linux
...
Also check for powerpc64-linux-elfv1, which does not support musl.
2021-01-30 12:34:30 -08:00
Vladimír Čunát
a648a07c19
Merge #104742 : linux bootstrap tools: fix tests on ppc64
2021-01-26 08:09:59 +01:00
Ben Siraphob
aa8868c7cc
pkgs/build-support: stdenv.lib -> lib
2021-01-24 19:07:54 -08:00
John Ericson
fa204a97d8
stdenv: Remove stdenv.platform
...
This was not working after #110544 as caught by @r-burns in
https://github.com/NixOS/nixpkgs/pull/110544#issuecomment-766444647 .
Thankfully it isn't used anymore and I believe wasn't documented either.
(I at least did not remember it existed.)
2021-01-24 22:51:12 +00:00
Frederik Rietdijk
1649296354
makeBootstrapTools: set schedulingPriority
...
Increase schedulingPriority of the bootstrap tools to unblock the
nixpkgs-unstable channel.
The channel is repeatedly blocked by the makeBootstrapTools job for
aarch64. The cause is lack of resources.
By increasing the priority, it should become the first job Hydra would
build, allowing the channel to advance quicker. Of course, it does mean
that while the channel advances, nothing else has been built.
This should be a temporary solution until we have more capacity for
aarch64.
2020-12-02 20:32:38 +01:00
Ryan Burns
9682c1d0da
linux bootstrap tools: fix tests on ppc64
...
The dynamic loader on powerpc64 is called ld64.so.2 rather than
ld-linux.so.*, and was not matched by the existing pattern.
We reuse the dynamicLinker name from binutils to match a wider set
of platforms and to avoid specifying this information in two places.
2020-11-24 18:32:12 -08:00
Arnout Engelen
05e0aa3040
gcc: update to isl 0.20.0 for bootstrapping and recent versions ( #103311 )
2020-11-17 21:20:48 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs
2020-04-10 17:54:53 +01:00
Matthew Bauer
e45f16b9f5
stdenv/linux: remove powerpc64le bootstrap tools
...
These files never existed, so best to not leave the reference. If
someone want to step up to maintain this, that would be fine. I don’t
have the hardware to test these out. In addition, someone tried to use
the bootstrap-tools currently built by Hydra and found that they were
broken in some unclear way.
2020-03-31 15:03:26 -04:00
Graham Christensen
6b361c3a31
armv{5tel,6l,7l}: bootstrap-files: quote URLs for rfc-45
...
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
2020-03-16 19:04:39 -04:00
Graham Christensen
11b54adeac
armv{5tel,6l,7l}: update bootstrap tools after #80497
2020-03-16 18:11:59 -04:00
Frederik Rietdijk
0eb0ddc4db
Merge staging-next into master
2020-03-08 08:11:01 +01:00
Ben Wolsieffer
05fc2a3524
unpack-bootstrap-tools: remove obsolete linker script patching
...
The linker scripts no longer contain store paths, so this does nothing. More
importantly, libpthread.so is not longer a linker script on ARM, so the patching
would corrupt it.
2020-03-06 06:58:20 +01:00
Ben Wolsieffer
ee39e49b68
stdenv: update ARM bootstrap tarballs
...
Fixes building glibc 2.30, which requires at least GCC 6.
Picked from the following cross-trunk evaluation:
https://hydra.nixos.org/eval/1568864 based on nixpkgs
commit ac241fb7a5
.
armv5tel job: https://hydra.nixos.org/build/111556418
armv6l job: https://hydra.nixos.org/build/111556521
armv7l job: https://hydra.nixos.org/build/111556551
2020-03-06 06:58:20 +01:00
Ben Wolsieffer
4478766b64
make-bootstrap-tools: add libssp to allow stack protector to work
2020-02-18 22:40:30 -05:00
Vladimír Čunát
cc1ae9f21b
make-bootstrap-tools: fixup after glibc update
...
There's a generated header that got comment about the source header
from glibc.dev, which added unwanted runtime dependency. Tested:
nix build -f pkgs/top-level/release.nix stdenvBootstrapTools.{aarch64,i686,x86_64}-linux.test
2020-02-10 17:31:35 +01:00
Vladimír Čunát
cf242659fe
stdenv bootstrap tools: switch one file to official URL
2020-02-05 13:59:18 +01:00
Vladimír Čunát
53349b9c27
stdenv bootstrap tools: regenerate "officialy"
...
From Hydra's binaries for c5aabb0 (19.09).
This time I re-tested full stdenv bootstrap on these three platforms.
https://github.com/NixOS/nixpkgs/pull/66528#issuecomment-582351637
2020-02-05 13:04:13 +01:00
Maximilian Bosch
2d36eac780
stdenv: rebuild aarch64 bootstrap files with gcc8
...
The old bootstrapping files would break with glibc 2.30 as at least gcc6
is needed.
2020-01-14 08:52:25 +00:00
Vladimír Čunát
2aea16c4d6
glibc: depend on libidn2 (and libunistring, transitively)
...
It's a bit hacky, but ATM I can't see any better way for glibc >= 2.28.
Signed-off-by: Luka Blaskovic <lblasc@tvbeat.com>
2020-01-14 08:27:00 +00:00
Vladimír Čunát
0c75f51304
stdenv bootstrap: disable dejagnu tests
...
There's a failure - I don't know why. The checks from "normal" dejagnu
still succeed, so I assume this commit is quite a safe work-around.
2020-01-14 08:27:00 +00:00
Luka Blaskovic
e80a85a057
bootstrap-files: bump WIP
2020-01-14 08:26:58 +00:00
Will Dietz
43c721df4a
make-bootstrap-tools: use 'extreme' option to reduce size but not cost
...
Apparently this option trades compression time for size,
and explicitly does so without increasing resources needed in decomp.
Doesn't make tarball creation unbearable, so add it to options!
2019-11-03 14:52:44 +01:00
Will Dietz
78d3cb1d16
binutils: offer "for bootstrap" variant that's less.. feature-complete
2019-11-03 14:52:44 +01:00
Will Dietz
5b46a7c240
gcc7: make building w/LTO support optional, don't use in bootstrap tools
2019-11-03 14:52:44 +01:00
volth
35d68ef143
treewide: remove redundant quotes
2019-08-26 21:40:19 +00:00
Daniel Schaefer
786f02f7a4
treewide: Remove usage of isNull
...
isNull "is deprecated; just write e == null instead" says the Nix manual
2019-04-29 14:05:50 +02:00
Matthew Bauer
dd584d8eeb
stdenv/linux: use isCompatible to find bootstrap tools
...
This avoids part of the issue where things like armv7a don’t work
because the system doesn’t realize it can use the armv7l bootstrap
tools.
2019-04-19 12:00:44 -04:00
Matthew Bauer
9edb851308
Merge pull request #51628 from ju1m/arm
...
stdenv: add armv7a-linux system
2019-03-01 15:36:07 -05:00
Frederik Rietdijk
092e3b50a8
Merge master into staging-next
2019-01-02 21:08:27 +01:00
Will Dietz
1bb4e5c8dc
Merge pull request #36384 from dtzWill/musl-native-bootstrap
...
x86_64-musl bootstrap: refresh bootstrap tools package
2018-12-31 14:59:56 -06:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
...
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277
This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Frederik Rietdijk
5f554279ec
Merge master into staging-next
2018-12-07 15:22:35 +01:00
Julien Moutinho
3168e85833
stdenv: add armv7a-linux system
2018-12-06 17:55:25 +01:00
Matthew Bauer
a3a6ad7a01
stdenv: implement crossOverlays
...
crossOverlays only apply to the packages being built, not the build
packages. It is useful when you don’t care what is used to build your
packages, just what is being built. The idea relies heavily on the
cross compiling infrastructure. Using this implies that we need to
create a cross stdenv.
2018-12-04 21:06:46 -06:00
Léo Gaspard
8ecd555ded
Merge branch 'pr-46056' into staging
...
* pr-46056:
binutils: use shared libs
binutils: fix #44936 the huge size regression
2018-11-28 09:55:05 +09:00
John Ericson
e3082c313b
Merge remote-tracking branch 'upstream/master' into release-lib-cleanup
2018-11-01 16:47:42 -04:00
John Ericson
f2ed7c7af9
linux bootstrap tools: Use right system for some raw derivations
...
This allows cross builds to work. Evidentallyy this has been done wrong
since I combined the bootstrap tool creation files in
ab651d2c9b
. Oops!
2018-11-01 16:22:00 -04:00
John Ericson
ffaffb36d1
linux bootstrap-tools: use stdenv.*Platform
to avoid deprecation warning
2018-11-01 16:18:51 -04:00
xeji
6aa5f2db8f
Merge pull request #47245 from dtzWill/fix/coreutils-8.30-bootstrap
...
coreutils: try 8.30 again, fix bootstrap tools expression motivating revert before
2018-09-25 12:10:27 +02:00