bootstrap env: disable stackprotector hardening until gcc >=4.9

wip/yesman
Robin Gloster 8 years ago
parent 57d6a38ed5
commit 402d57ee8e
  1. 4
      pkgs/development/compilers/gcc/4.9/default.nix
  2. 3
      pkgs/development/interpreters/perl/5.20/default.nix
  3. 3
      pkgs/development/libraries/cloog/0.18.0.nix
  4. 2
      pkgs/development/libraries/gettext/default.nix
  5. 3
      pkgs/development/libraries/gmp/5.1.x.nix
  6. 3
      pkgs/development/libraries/isl/0.11.1.nix
  7. 3
      pkgs/development/libraries/libelf/default.nix
  8. 3
      pkgs/development/libraries/libmpc/default.nix
  9. 3
      pkgs/development/libraries/mpfr/default.nix
  10. 3
      pkgs/development/libraries/zlib/default.nix
  11. 3
      pkgs/development/tools/misc/binutils/default.nix
  12. 3
      pkgs/development/tools/misc/gnum4/default.nix
  13. 3
      pkgs/development/tools/misc/patchelf/default.nix
  14. 3
      pkgs/development/tools/misc/texinfo/6.0.nix
  15. 3
      pkgs/development/tools/parsing/bison/3.x.nix
  16. 3
      pkgs/os-specific/linux/kernel-headers/3.18.nix
  17. 3
      pkgs/os-specific/linux/paxctl/default.nix
  18. 3
      pkgs/tools/compression/xz/default.nix
  19. 3
      pkgs/tools/misc/coreutils/default.nix
  20. 5
      pkgs/tools/system/which/default.nix

@ -74,7 +74,7 @@ let version = "4.9.3";
++ optional langFortran ../gfortran-driving.patch
# The NXConstStr.patch can be removed at 4.9.4
++ optional stdenv.isDarwin ../gfortran-darwin-NXConstStr.patch;
javaEcj = fetchurl {
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
# `configure' time.
@ -220,6 +220,8 @@ stdenv.mkDerivation ({
inherit patches;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
hardening_format = false;
postPatch =

@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
outputs = [ "out" "man" ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
patches =
[ # Do not look in /usr etc. for dependencies.
./no-sys-dirs.patch

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
doCheck = true;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
description = "Library that generates loops for scanning polyhedra";

@ -11,6 +11,8 @@ stdenv.mkDerivation (rec {
outputs = [ "out" "doc" ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
hardening_format = false;
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";

@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ m4 ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
patches = if stdenv.isDarwin then [ ./need-size-t.patch ] else null;
configureFlags =

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
homepage = http://www.kotnet.org/~skimo/isl/;
license = stdenv.lib.licenses.lgpl21;

@ -10,6 +10,9 @@ stdenv.mkDerivation (rec {
doCheck = true;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
# For cross-compiling, native glibc is needed for the "gencat" program.
crossAttrs = {
nativeBuildInputs = [ glibc ];

@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
doCheck = true;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
description = "Library for multiprecision complex arithmetic with exact rounding";

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
# mpfr.h requires gmp.h
propagatedBuildInputs = [ gmp ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
configureFlags =
stdenv.lib.optional stdenv.isSunOS "--disable-thread-safe" ++
stdenv.lib.optional stdenv.is64bit "--with-pic";

@ -29,6 +29,9 @@ stdenv.mkDerivation (rec {
fi
'';
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
# As zlib takes part in the stdenv building, we don't want references
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";

@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
inherit noSysDirs;
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
preConfigure = ''
# Clear the default library search path.
if test "$noSysDirs" = "1"; then

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
# Upstream is aware of it; it may be in the next release.
patches = [ ./s_isdir.patch ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
homepage = http://www.gnu.org/software/m4/;
description = "GNU M4, a macro processor";

@ -10,6 +10,9 @@ stdenv.mkDerivation rec {
setupHook = [ ./setup-hook.sh ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
homepage = http://nixos.org/patchelf.html;
license = "GPL";

@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
preInstall = ''
installFlags="TEXMF=$out/texmf-dist";
installTargets="install install-tex";

@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
propagatedBuildInputs = [ m4 ];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = {
homepage = "http://www.gnu.org/software/bison/";
description = "Yacc-compatible parser generator";

@ -34,6 +34,9 @@ stdenv.mkDerivation {
buildInputs = [perl];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
extraIncludeDirs =
if cross != null then
(if cross.arch == "powerpc" then ["ppc"] else [])

@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
"MANDIR=share/man/man1"
];
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; {

@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
postInstall = "rm -rf $out/share/doc";
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = with stdenv.lib; {
homepage = http://tukaani.org/xz/;
description = "XZ, general-purpose data compression software, successor of LZMA";

@ -20,6 +20,9 @@ let
sha256 = "0w11jw3fb5sslf0f72kxy7llxgk1ia3a6bcw0c9kmvxrlj355mx2";
};
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
patches = if stdenv.isCygwin then ./coreutils-8.23-4.cygwin.patch else
(if stdenv.isArm then (fetchurl {
url = "http://git.savannah.gnu.org/cgit/coreutils.git/patch/?id=3ba68f9e64fa2eb8af22d510437a0c6441feb5e0";

@ -2,12 +2,15 @@
stdenv.mkDerivation rec {
name = "which-2.21";
src = fetchurl {
url = "mirror://gnu/which/${name}.tar.gz";
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
};
# FIXME needs gcc 4.9 in bootstrap tools
hardening_stackprotector = false;
meta = with stdenv.lib; {
homepage = http://ftp.gnu.org/gnu/which/;
platforms = platforms.all;

Loading…
Cancel
Save