Tuomas Tynkkynen
980bca286e
gcc 4.5, 4.6: Remove broken update-gcc.sh symlinks
2016-05-03 21:29:16 +03:00
Robin Gloster
c92bca56f8
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-05-02 22:58:02 +00:00
David Guibert
58e0c4bcd9
gcc: add 6.1.0
2016-04-28 11:13:26 +02:00
Vladimír Čunát
90ee003240
gcc: fix mingw build after closure-size merge
...
This may also (help to) fix also other less usual configurations.
2016-04-20 16:39:23 +02:00
Robin Gloster
d020caa5b2
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-04-18 13:49:22 +00:00
Michael Raskin
909a46ff77
Fix gccgo by un-splitting lib output (like gcj)
2016-04-16 08:42:20 +02:00
Michael Raskin
cd5b677576
gcc49 (gcj): do not create separate lib output (cyclical dependency), fix ecj1 linking. Does not affect the hash of normal gcc49
2016-04-13 18:46:14 +02:00
Robin Gloster
3e68106afd
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-04-07 21:52:26 +00:00
Vladimír Čunát
d1df28f8e5
Merge 'staging' into closure-size
...
This is mainly to get the update of bootstrap tools.
Otherwise there were mysterious segfaults:
https://github.com/NixOS/nixpkgs/pull/7701#issuecomment-203389817
2016-04-07 14:40:51 +02:00
Robin Gloster
9893a43dc3
gfortran-darwin: disable format hardening
2016-04-05 16:43:31 +00: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
Eelco Dolstra
60f07e8e10
Revert "gcc: Use the pre-C++11 ABI by default"
...
This reverts commit 83011723af
. This
never worked because gcc's setup hook is never actually sourced. I
could fix this but since nobody complained, we probably don't need it.
2016-03-31 12:30:54 +02:00
Robin Gloster
7dea0e91ac
gcc/isl: move bootstrap hardening flags to new bootstrap env
2016-03-28 19:17:23 +00:00
Robin Gloster
f60c9df0ba
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-03-28 15:16:29 +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
Franz Pletz
aff1f4ab94
Use general hardening flag toggle lists
...
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow
2016-03-05 18:55:26 +01:00
Eelco Dolstra
62c562a522
gcc: Remove 4.3 and 4.4
...
GCC 4.3 was used by only one package ("self"), which I've marked as
broken.
2016-03-02 18:01:17 +01:00
Eelco Dolstra
83011723af
gcc: Use the pre-C++11 ABI by default
2016-02-28 17:54:11 +01:00
Robin Gloster
3b4765c9e5
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-02-28 16:32:57 +00:00
zimbatm
17348dc094
Remove all dots at end of descriptions
...
Specially crafted for @JagaJaga
find pkgs -name "*.nix" -exec \
sed -e 's|\(description.*\)\.";|\1";|g' -i {} \;
2016-02-27 17:30:29 +00:00
Robin Gloster
087cb7ba5b
gcc43: disable stackprotector hardening
2016-02-23 07:54:51 +00:00
Robin Gloster
402d57ee8e
bootstrap env: disable stackprotector hardening until gcc >=4.9
2016-02-22 18:32:53 +00:00
Robin Gloster
9b4c99edc6
gcc43/ghdl: turn off format hardening
2016-02-22 08:47:25 +00:00
Robin Gloster
bc21db3692
Merge remote-tracking branch 'upstream/master' into hardened-stdenv
2016-02-19 21:16:14 +00:00
Josef Knedl
0fe58cade5
gcc: fix #12836 : build on darwin
...
Patch is based on GCC Bug 66523:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66523
2016-02-17 09:42:10 +01:00
Robin Gloster
5e9df54d19
gnat: turn off all hardening
2016-02-12 03:50:20 +00:00
Robin Gloster
7f4f7fbb93
gnat: turn off some hardening
2016-02-12 01:16:19 +00:00
Robin Gloster
99fdd5694e
gcc44: turn off format hardening
2016-02-09 11:00:12 +00:00
Robin Gloster
09a5af76b5
gcc48: turn off format hardening
2016-02-07 22:24:47 +00:00
Robin Gloster
0f2e638fe7
gcc46: turn off format hardening
2016-02-07 21:40:37 +00:00
Robin Gloster
f4572b552d
gcc45: turn off format hardening
2016-01-30 16:36:57 +00:00
Robin Gloster
c0f673af32
gcc5: switch off hardening_format
2016-01-30 16:36:57 +00:00
Robin Gloster
f6d3b7a2ae
switch hardening flags
2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad
Use a hardened stdenv by default
2016-01-30 16:36:57 +00:00
Tuomas Tynkkynen
ed7dbb46a8
treewide: Mass replace 'zlib}/lib' to refer the 'out' output
2016-01-24 10:03:39 +02:00
Tuomas Tynkkynen
d005808127
treewide: Mass replace 'boehmgc}/lib' to refer the 'out' output
2016-01-24 10:03:33 +02:00
Vladimír Čunát
716aac2519
Merge branch 'staging' into closure-size
2016-01-19 09:55:31 +01:00
Eelco Dolstra
0db7ccb5c6
gcc: Respect $SOURCE_DATE_EPOCH
2016-01-05 17:21:48 +01:00
Vladimír Čunát
9d1343414a
gcc: switch back to 4.9
...
Also sync a tiny difference in docs outputs from gcc-5.
I originally assumed that people will push gcc-5 support to master
long before closure-size gets there, but I overestimated the situation.
We haven't really settled even the issue of ABI switch,
so let's use the same gcc version on closure-size and master.
2015-12-31 10:34:58 +01:00
Vladimír Čunát
f9f6f41bff
Merge branch 'master' into closure-size
...
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00
Lancelot SIX
4cf6fef6fc
pkgs.gcc5: 5.2.0 -> 5.3.0
...
gcc-5.3.0 is a bug-fix release from the GCC 5 branch.
See https://lists.gnu.org/archive/html/info-gnu/2015-12/msg00002.html
2015-12-12 14:41:53 +01:00
Luca Bruno
5b0352a6a4
Merge branch 'master' into closure-size
2015-12-11 18:31:00 +01:00
Luca Bruno
e289717414
rename moveToOutput and propagatedBuildInputs
2015-12-02 10:05:36 +01: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
Danny Wilson
f17dea3b3d
Fix compilation of GCC 4.9 on SmartOS.
...
Fix ld-solaris-wrapper never calling ld (since gcc->cc-wrapper refactor).
2015-11-16 17:20:16 +01:00
Danny Wilson
6a2b723a8b
Fix build of gccgo-wrapper on Illumos.
...
When compiling GCC with NIX_ENFORCE_PURITY,
linking libgcc fails because crti.o and friends
aren't part of the nix store.
2015-11-16 17:20:12 +01:00
Danny Wilson
fdb534f06e
GCC 4.8 compiles on Illumos.
...
- Disable profiled bootstrap.
- Add illumos meta platform.
2015-11-16 17:20:11 +01:00
Asko Soukka
efd652965b
darwin: gfortran: add needed inputs and other fixes
...
Close #10532 .
2015-10-28 13:37:02 +01:00
Vladimír Čunát
efcad4c910
gcc5: split $doc into $man and $info
...
... because cc-wrapper is meant to propagate man pages into user envs,
and info pages are rather large.
Also replace the duplicate g++ and gcc man1 pages by a symlink.
2015-10-28 10:15:55 +01:00
Vladimír Čunát
f361938b21
Merge staging into closure-size
...
This makes gcc5 the default builder, etc.
2015-10-03 15:23:13 +02:00
Tuomas Tynkkynen
15471a8659
gcc: Do bootstrapped compilation on MIPS and ARM as well
...
Since the multiple-output changes building a non-bootstrapped gcc
doesn't work anymore. TODO: also test if cross compilation is broken
2015-10-03 14:08:50 +02:00
Tuomas Tynkkynen
bd028b24bb
gcc 4.9: Fix multi-out fixups
...
- $out/libexec/ now contains subdirectories that we want to patchelf too
- $out/libexec/ now contains some .so and a related .la file, which must
not be passed to patchelf
2015-10-03 14:08:49 +02:00
Tuomas Tynkkynen
8a460bf953
gcc 4.8, 4.9: Revert conflicting info output
2015-10-03 14:08:49 +02:00
Tuomas Tynkkynen
61b4bdded4
gcc 4.9: Port multiple-outputs changes from gcc 4.8
2015-10-03 14:08:49 +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
Eelco Dolstra
fd38b5fa49
Revert gcc darwin fixes
...
This reverts commits cb7c053383
,
ebda45e6b9
,
4a495cfbab
because they broke Nixpkgs
evaluation.
http://hydra.nixos.org/build/24813270
2015-08-20 11:49:55 +02:00
Vladimír Čunát
e46e461685
Revert "gfortran: disable parallel building"
...
This reverts commit 3d6bd6a1fa
.
The problem wasn't fortran-specific and should be fixed now. See #9212 .
2015-08-14 18:16:00 +02:00
Vladimír Čunát
0799ebf5b7
gcc: fix parallel building ( fixes #9212 )
...
Tested building 5-times on an idle 8-core.
2015-08-14 15:49:06 +02:00
Jude Taylor
ebda45e6b9
add darwin gcc fixes to gcc 5
2015-08-02 14:38:25 -07:00
Jude Taylor
cb7c053383
add fixes to gcc-4.8
2015-07-31 16:21:01 -07:00
Jude Taylor
46ab7db108
remove useless CFLAGS_FOR_BUILD from configure flags in gcc
2015-07-31 11:35:42 -07:00
Jude Taylor
4a495cfbab
build gcc-4.9 on darwin
2015-07-31 11:35:42 -07:00
William A. Kennington III
202c5be5c6
gcc5: Sync outputs changes with gcc4.9
2015-07-29 10:42:50 -07:00
Peter Simons
3d6bd6a1fa
gfortran: disable parallel building to avoid weird build failures
...
More details are at 784025c747 (commitcomment-12328357)
.
2015-07-24 16:56:46 +02:00
Vladimír Čunát
855b3c48ab
gcc: fix multilib build
...
Fixes #8706 , thanks to @cpages a lot.
Also ported to gcc5, without testing that one yet.
2015-07-20 12:32:01 +02:00
William A. Kennington III
cf8309ef34
gcc: 5.2.0-rc-20150707 -> 5.2.0
2015-07-16 14:12:00 -07:00
William A. Kennington III
b477600cc0
gcc5: Use 5.2 snapshot to fix bugs noticed in syslinux and chromium with gcc5.1
2015-07-09 10:30:55 -07:00
William A. Kennington III
76674a3c07
gcc: 4.8.4 -> 4.8.5
2015-07-08 16:17:25 -07:00
William A. Kennington III
9da5943cac
gcc: 4.9.2 -> 4.9.3
2015-07-07 01:50:02 -07:00
William A. Kennington III
7eae48871f
Merge branch 'master.upstream' into staging.upstream
2015-07-01 13:38:17 -07:00
Shea Levy
145768bf9b
Unmaintain a bunch of packages
2015-07-01 08:11:05 -04:00
Eelco Dolstra
553abf71ba
Merge remote-tracking branch 'origin/staging' into gcc-4.9
...
Conflicts:
pkgs/build-support/cc-wrapper/default.nix
pkgs/development/libraries/wayland/default.nix
pkgs/development/tools/build-managers/cmake/default.nix
pkgs/top-level/all-packages.nix
2015-06-01 20:08:43 +02:00
Vladimír Čunát
8e4c911248
gfortran-darwin: add cc
attribute to fix evaluation
...
Hopefully the value is reasonable.
It's used on two places at least to find libs to link against.
2015-05-27 21:13:44 +02:00
Allen Nelson
e802740b69
adding metadata, putting version in name
2015-05-22 00:35:13 -05:00
Allen Nelson
e70f9e74f2
changed to CC=clang
2015-05-19 16:49:58 -05:00
Allen Nelson
ec2f3eb855
added gfortran expression for darwin
2015-05-19 15:59:55 -05:00
Eelco Dolstra
110b671c13
gcc: Put info in a separate output
2015-05-13 18:17:25 +02:00
Eelco Dolstra
4a22a4429c
gcc-3.4: Remove
...
No longer in use.
2015-05-12 15:05:01 +02:00
Eelco Dolstra
7745c733eb
gcc: Remove duplicate files
2015-05-12 15:05:01 +02:00
Eelco Dolstra
e75b5351ac
gcc-4.9: Sync with changes made to the 4.8 expression
2015-05-12 14:55:18 +02:00
Eelco Dolstra
bbefd04c89
gcc-5: Remove obsolete mudflap reference
2015-05-12 14:55:17 +02:00
Shea Levy
d983875362
gcc-5: Fix build on darwin
2015-05-10 18:06:29 -07:00
Shea Levy
123ca02fe3
gcc51: rename gcc5 in light of new versioning scheme
2015-05-03 06:10:26 -04:00
Shea Levy
90ebf5b952
Add gcc-5.1.0
2015-04-30 10:48:35 -04:00
Vladimír Čunát
bf414c9d4f
Merge 'staging' into closure-size
...
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes
Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
Jan Malakhovski
29133753c8
gcc 4.8: add x11Support option so that it would stop evaluating gtk by default
2015-03-29 23:31:37 +00:00
Shea Levy
6e3c9d5ce4
Fix fallout of recent cc-wrapper changes
...
Fixes tarball except for 56e21d05e8
2015-03-24 22:13:43 -04:00
Shea Levy
e729dfbd3f
gcc-4.9: Set isGNU
...
Fixes #6787
2015-03-13 12:47:17 -04:00
Dan Peebles
0c6598beaf
gccApple is dead. Leaving the top-level attribute for a little longer, but no need to keep its unused code.
2015-02-08 00:28:37 -05:00
Vladimír Čunát
a0bf07827b
mpc: also rename the attribute to libmpc
...
Attrnames and package names should be as close as possible to avoid confusion.
I took care not to confuse the two mpc things during the mass-replace,
so hopefully I suceeded (tarball still builds).
2015-01-17 09:55:32 +01:00
Shea Levy
16fe4be790
Add isGNU attribute to gccs
2015-01-14 20:26:57 -08:00
Ludovic Courtès
41b53577a8
unmaintain a bunch of packages
2015-01-13 22:33:49 +01:00
Vladimír Čunát
becf038336
Merge branch 'staging'
2014-12-26 22:41:19 +01:00
John Wiegley
28b6fb61e6
Change occurrences of gcc to the more general cc
...
This is done for the sake of Yosemite, which does not have gcc, and yet
this change is also compatible with Linux.
2014-12-26 11:06:21 -06:00
Vladimír Čunát
47a9d03541
gcc: maintenance update 4.8.3 -> 4.8.4
2014-12-24 23:27:23 +01:00
Vladimír Čunát
9cdd231ad3
gcc-4.6: bump to 4.6.4
...
The dropped patch was applied upstream within the update.
2014-12-14 16:24:31 +01:00
Domen Kožar
4aa3eec330
Merge branch 'master' into staging
...
Conflicts:
pkgs/development/libraries/fontconfig/default.nix
2014-12-07 14:02:48 +01:00
Vladimír Čunát
4426d73ad8
gcc-4.9: maintenance update
2014-12-01 21:30:38 +01:00
Eelco Dolstra
a0f3faf34e
Merge remote-tracking branch 'origin/glibc-2.20' into staging
2014-11-16 22:17:36 +01:00
Aristid Breitkreuz
7bb0ff509c
remove gcc 3.3 and snx ("SSL Network Extender"), the only package that depends on it
2014-11-16 14:57:42 +01:00