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
Will Dietz
4d9f9f171b
make-bootstrap-tools: fix with latest coreutils
...
Since gcc.lib/lib64 is a symlink to 'lib', the use of
"lib*/libgcc_s.so*" triggered a warning (error) with
the latest coreutils. Essentially we were doing:
$ cp a/x b/x y/
And latest coreutils rejects such invocations.
Just copy from 'lib', lib64 is a link to it anyway.
* Nothing else in this file bothers looking at lib*
* AFAICT lib* only ever possibly matched lib64 anyway
2018-09-23 14:54:09 -05:00
Vladimír Čunát
beb063a103
binutils: use shared libs
2018-09-04 21:36:07 +02:00
Will Dietz
791b5bbbf4
musl bootstrap: remove libiconv
2018-04-24 21:27:28 -05:00
Will Dietz
ece4c62d4b
make-bootstrap-tools: preserve coreutils symlinks
...
We go out of our way (see top of file) to build a single binary
with symlinks for all of the tools, but were losing them
when preparing the bootstrap tools.
2018-03-06 15:13:56 +02:00
Shea Levy
32ce7012f0
Merge branch 'master' into gcc-7
2018-02-18 16:27:22 -05:00
Shea Levy
0a0ecc4c2c
Enable building riscv64 cross bootstrap tools
...
Fixes #35089
2018-02-18 16:07:13 -05:00
Will Dietz
268bff6185
make-bootstrap-tools: set XZ to maximum level, big wins
...
x86_64 bootstrap tarball goes from 37M -> 21M (!)
2018-02-13 09:45:04 -06:00
Will Dietz
c8d03e6298
make-bootstrap-tools: grab libc from stdenv.cc.libc
...
This is the same in current cases AFAICT,
other than uses musl instead of glibc when musl-native.
2018-02-13 09:44:57 -06:00
Will Dietz
0e16989d39
bootstrap-tools-musl: WIP
2018-02-13 09:44:37 -06:00
Will Dietz
0ac504227d
make-bootstrap-tools: initial musl support, less glibc-specific
2018-02-13 09:44:37 -06:00
Will Dietz
4831495995
make-bootstrap-tools: glibc -> libcCross
2018-02-13 09:44:37 -06:00
John Ericson
ab651d2c9b
linux bootstrap tools: Use same derivation whether cross compiling or not
2018-01-02 13:52:41 -05:00
John Ericson
2bba929062
bintools-wrapper: Import separately from cc-wrapper
2017-12-13 16:08:18 -05:00
Orivej Desh
d99a2fc093
Merge branch 'master' into staging
...
* master: (293 commits)
go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle
qsyncthingtray: fix build
qt56.qtwebengine: fix build
stdman: d860212 -> 2017.04.02
jackett: use mono50
hg-git: disable with python3
hg-git: 0.8.5 -> 0.8.10
xfce4-settings: enable parallel building
gcc-snapshot: mark as broken
heaptrack: 2017-02-14 -> 2017-10-30
nixos-container: Modify existing test to cover show-ip command
nixos-container: Make show-ip work together with ipv4 + netmask
linux-copperhead: 4.13.12.a -> 4.13.13.a
matterbridge: 1.1.0 -> 1.4.1
nixos/nghttpx: add module for the nghttpx proxy server (#31680 )
mattermost: 4.3.0 -> 4.4.0
breakpad: delete
simp_le: 0.2.0 -> 0.6.1
certbot: 0.11.1 -> 0.19.0
afl: 2.51b -> 2.52b
...
2017-11-17 05:35:09 +00:00
Michael Raskin
bd8cd3eaed
Revert switching hello to fetchipfs, re: #18296
2017-11-13 17:45:16 +01:00
John Ericson
ff023c9bc6
treewide: Remove references to removed binutils outputs
2017-11-13 08:46:15 -05:00
Vladimír Čunát
f6655ba128
bootstrap tools test: fixup after d71833ee36
2017-11-11 21:41:42 +01:00
Will Dietz
3e8d68e514
make-bootstrap-tools: Fix config opts for ash builtins after upgrade
2017-08-14 22:40:11 +03:00
Tuomas Tynkkynen
1f32d4b4eb
make-bootstrap-tools.nix: Fix bzip2
...
Apparently our native bzip2 builds switched to using dynamic libraries at some point.
2017-04-13 17:22:55 +03:00
Tuomas Tynkkynen
b2343099ab
make-bootstrap-tools{,-cross}.nix: Fix build after binutils changes
...
Broken after commit 17a344a
("binutils: Add lib output").
2017-02-04 23:39:25 +02:00
Tuomas Tynkkynen
de3cac0ece
make-bootstrap-tools.nix test: Use busybox from store
...
Our bootstrap tools are actually broken right now due to busybox not
working when invoked directly from a store path. (It says e.g.
"0qqqw19y4gmknajw8vg4fvhx9gxdqlhz-busybox: applet not found").
Make this test actually fail in such case, the next commit will fix the
problem with busybox.
2017-01-25 00:01:52 +02:00
Tuomas Tynkkynen
bde8632106
coreutils: Build with libattr to support xattrs
...
Fixes #21649
2017-01-05 00:55:35 +02:00
John Ericson
7960a1b1b8
linux stdenv: Avoid assert false
...
On one hand, don't want to pass garbage that affects hash, on the other
hand footguns are bad.
Now, factored out the derivation so only need to pass in what is used.
2016-12-15 17:09:29 -05:00
John Ericson
a94af71da7
linux stdenv: Fix assert that broke tests...and hydra
2016-12-15 16:45:08 -05:00
John Ericson
5c6234a7d3
top-level: Allow manually specifying a stdenv, and fix stdenv tests
...
- The darwin test can now force the use of the freshly-booted darwin stdenv
- The linux test now passes enough dummy arguments
This may make debugging harder, if so, check out #20889
2016-12-03 17:21:07 -08:00
Tuomas Tynkkynen
3d50989651
make-bootstrap-tools{,-cross}.nix: Create deterministic tars
2016-07-20 02:38:10 +03:00
Vladimír Čunát
f4792cdc0c
make-bootstrap-tools*: fixup after #16406
...
Our coreutils now uses single-binary-build mode where, by default,
simple shebang scripts are used for all the binaries. That doesn't work
e.g. with the Linux unpacker which only handles standard binaries and
symlinks. Let's use the symlinked mode instead for boostrapping.
This does NOT change any stdenv hashes.
I only tested the case most important to me:
$ nix-build pkgs/top-level/release.nix -A stdenvBootstrapTools.x86_64-linux.test
2016-06-28 09:54:22 +02:00
Alexander Ried
c6952ece24
bootstrap-tools-linux: Use tar without acl
2016-04-18 00:02:44 +02:00
Alexander Ried
28780a4dad
bootstrap-tools-linux: Qualify all multi-output packages
2016-04-18 00:01:44 +02:00
Vladimír Čunát
ab15a62c68
Merge branch 'master' into closure-size
...
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00
Domen Kožar
b07e7bfc7b
Merge remote-tracking branch 'origin/staging'
2016-03-27 13:19:04 +01:00
Nicolas B. Pierron
6313a5698a
Replace references to all-packages.nix, by references to the top-level of nixpkgs repository.
2016-03-13 18:25:52 +00:00
Vladimír Čunát
09af15654f
Merge master into closure-size
...
The kde-5 stuff still didn't merge well.
I hand-fixed what I saw, but there may be more problems.
2016-03-08 09:58:19 +01:00
Vladimír Čunát
5702bc3b55
make-bootstrap-tools: fix #13629 : glibc problems
...
On x86_64-linux glibc started to use linker scripts more extensively.
(cherry picked from commit aa564c9ed0
)
2016-03-03 13:57:45 +01:00
Eelco Dolstra
639d7409f2
Move testBootstrapTools to make-bootstrap-tools.nix
2016-03-03 13:57:45 +01:00
Vladimír Čunát
aa564c9ed0
make-bootstrap-tools: fix #13629 : glibc problems
...
On x86_64-linux glibc started to use linker scripts more extensively.
2016-03-03 12:09:50 +01:00
Eelco Dolstra
e6f61b4cf3
fetchurlBoot: Use Nix's builtin fetchurl function
...
This removes the need for curl in bootstrapTools, and enables https
for bootstrap tarballs.
2016-02-27 20:27:24 +01:00
Vladimír Čunát
ee994dfae6
bootstrap tools: have curl without http2 support
...
I assume there's not much use for it during bootstrapping.
This fixes them as well, as curl was compiled against libnghttp2 but the
lib wasn't copied to the bootstrap tools.
2016-02-17 10:04:32 +01:00
Tuomas Tynkkynen
5f4a8de754
treewide: Mass replace 'bzip2}/bin' to refer the 'bin' output
2016-02-01 20:45:57 +02:00
Tuomas Tynkkynen
ed7dbb46a8
treewide: Mass replace 'zlib}/lib' to refer the 'out' output
2016-01-24 10:03:39 +02:00
Tuomas Tynkkynen
ba87da9fd1
treewide: Mass replace 'pcre}/lib' to refer the 'out' output
2016-01-24 10:03:38 +02:00
Tuomas Tynkkynen
04c5830432
treewide: Mass replace 'mpfr}/lib' to refer the 'out' output
2016-01-24 10:03:38 +02:00
Tuomas Tynkkynen
c2ceed1ad1
treewide: Mass replace 'binutils}/lib' to refer the 'out' output
2016-01-24 10:03:33 +02:00
Vladimír Čunát
333d69a5f0
Merge staging into closure-size
...
The most complex problems were from dealing with switches reverted in
the meantime (gcc5, gmp6, ncurses6).
It's likely that darwin is (still) broken nontrivially.
2015-11-20 14:32:58 +01:00
Eelco Dolstra
45c7dd7d98
Add stdenv bootstrap tools generation to release.nix
2015-10-23 13:05:36 +02:00
Vladimír Čunát
5227fb1dd5
Merge commit staging+systemd into closure-size
...
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00