Commit Graph

244 Commits

Author SHA1 Message Date
Robin Gloster
3e68106afd Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-07 21:52:26 +00:00
Robin Gloster
9893a43dc3 gfortran-darwin: disable format hardening 2016-04-05 16:43:31 +00: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
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
Eelco Dolstra
0db7ccb5c6 gcc: Respect $SOURCE_DATE_EPOCH 2016-01-05 17:21:48 +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
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
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