bootstrap env: disable stackprotector hardening until gcc >=4.9
This commit is contained in:
parent
57d6a38ed5
commit
402d57ee8e
@ -74,7 +74,7 @@ let version = "4.9.3";
|
|||||||
++ optional langFortran ../gfortran-driving.patch
|
++ optional langFortran ../gfortran-driving.patch
|
||||||
# The NXConstStr.patch can be removed at 4.9.4
|
# The NXConstStr.patch can be removed at 4.9.4
|
||||||
++ optional stdenv.isDarwin ../gfortran-darwin-NXConstStr.patch;
|
++ optional stdenv.isDarwin ../gfortran-darwin-NXConstStr.patch;
|
||||||
|
|
||||||
javaEcj = fetchurl {
|
javaEcj = fetchurl {
|
||||||
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
|
# The `$(top_srcdir)/ecj.jar' file is automatically picked up at
|
||||||
# `configure' time.
|
# `configure' time.
|
||||||
@ -220,6 +220,8 @@ stdenv.mkDerivation ({
|
|||||||
|
|
||||||
inherit patches;
|
inherit patches;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
hardening_format = false;
|
hardening_format = false;
|
||||||
|
|
||||||
postPatch =
|
postPatch =
|
||||||
|
@ -30,6 +30,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "man" ];
|
outputs = [ "out" "man" ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
patches =
|
patches =
|
||||||
[ # Do not look in /usr etc. for dependencies.
|
[ # Do not look in /usr etc. for dependencies.
|
||||||
./no-sys-dirs.patch
|
./no-sys-dirs.patch
|
||||||
|
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library that generates loops for scanning polyhedra";
|
description = "Library that generates loops for scanning polyhedra";
|
||||||
|
|
||||||
|
@ -11,6 +11,8 @@ stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
hardening_format = false;
|
hardening_format = false;
|
||||||
|
|
||||||
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
|
LDFLAGS = if stdenv.isSunOS then "-lm -lmd -lmp -luutil -lnvpair -lnsl -lidmap -lavl -lsec" else "";
|
||||||
|
@ -12,6 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ m4 ];
|
nativeBuildInputs = [ m4 ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
patches = if stdenv.isDarwin then [ ./need-size-t.patch ] else null;
|
patches = if stdenv.isDarwin then [ ./need-size-t.patch ] else null;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.kotnet.org/~skimo/isl/;
|
homepage = http://www.kotnet.org/~skimo/isl/;
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
|
@ -10,6 +10,9 @@ stdenv.mkDerivation (rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
# For cross-compiling, native glibc is needed for the "gencat" program.
|
# For cross-compiling, native glibc is needed for the "gencat" program.
|
||||||
crossAttrs = {
|
crossAttrs = {
|
||||||
nativeBuildInputs = [ glibc ];
|
nativeBuildInputs = [ glibc ];
|
||||||
|
@ -16,6 +16,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Library for multiprecision complex arithmetic with exact rounding";
|
description = "Library for multiprecision complex arithmetic with exact rounding";
|
||||||
|
|
||||||
|
@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
|
|||||||
# mpfr.h requires gmp.h
|
# mpfr.h requires gmp.h
|
||||||
propagatedBuildInputs = [ gmp ];
|
propagatedBuildInputs = [ gmp ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
stdenv.lib.optional stdenv.isSunOS "--disable-thread-safe" ++
|
stdenv.lib.optional stdenv.isSunOS "--disable-thread-safe" ++
|
||||||
stdenv.lib.optional stdenv.is64bit "--with-pic";
|
stdenv.lib.optional stdenv.is64bit "--with-pic";
|
||||||
|
@ -29,6 +29,9 @@ stdenv.mkDerivation (rec {
|
|||||||
fi
|
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
|
# 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)
|
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
|
||||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";
|
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString (!stdenv.isDarwin) "-static-libgcc";
|
||||||
|
@ -39,6 +39,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit noSysDirs;
|
inherit noSysDirs;
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
# Clear the default library search path.
|
# Clear the default library search path.
|
||||||
if test "$noSysDirs" = "1"; then
|
if test "$noSysDirs" = "1"; then
|
||||||
|
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
# Upstream is aware of it; it may be in the next release.
|
# Upstream is aware of it; it may be in the next release.
|
||||||
patches = [ ./s_isdir.patch ];
|
patches = [ ./s_isdir.patch ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/m4/;
|
homepage = http://www.gnu.org/software/m4/;
|
||||||
description = "GNU M4, a macro processor";
|
description = "GNU M4, a macro processor";
|
||||||
|
@ -10,6 +10,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
setupHook = [ ./setup-hook.sh ];
|
setupHook = [ ./setup-hook.sh ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://nixos.org/patchelf.html;
|
homepage = http://nixos.org/patchelf.html;
|
||||||
license = "GPL";
|
license = "GPL";
|
||||||
|
@ -17,6 +17,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
|
configureFlags = stdenv.lib.optional stdenv.isSunOS "AWK=${gawk}/bin/awk";
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
preInstall = ''
|
preInstall = ''
|
||||||
installFlags="TEXMF=$out/texmf-dist";
|
installFlags="TEXMF=$out/texmf-dist";
|
||||||
installTargets="install install-tex";
|
installTargets="install install-tex";
|
||||||
|
@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
|
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
|
||||||
propagatedBuildInputs = [ m4 ];
|
propagatedBuildInputs = [ m4 ];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://www.gnu.org/software/bison/";
|
homepage = "http://www.gnu.org/software/bison/";
|
||||||
description = "Yacc-compatible parser generator";
|
description = "Yacc-compatible parser generator";
|
||||||
|
@ -34,6 +34,9 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
buildInputs = [perl];
|
buildInputs = [perl];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
extraIncludeDirs =
|
extraIncludeDirs =
|
||||||
if cross != null then
|
if cross != null then
|
||||||
(if cross.arch == "powerpc" then ["ppc"] else [])
|
(if cross.arch == "powerpc" then ["ppc"] else [])
|
||||||
|
@ -18,6 +18,9 @@ stdenv.mkDerivation rec {
|
|||||||
"MANDIR=share/man/man1"
|
"MANDIR=share/man/man1"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
setupHook = ./setup-hook.sh;
|
setupHook = ./setup-hook.sh;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
@ -15,6 +15,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postInstall = "rm -rf $out/share/doc";
|
postInstall = "rm -rf $out/share/doc";
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://tukaani.org/xz/;
|
homepage = http://tukaani.org/xz/;
|
||||||
description = "XZ, general-purpose data compression software, successor of LZMA";
|
description = "XZ, general-purpose data compression software, successor of LZMA";
|
||||||
|
@ -20,6 +20,9 @@ let
|
|||||||
sha256 = "0w11jw3fb5sslf0f72kxy7llxgk1ia3a6bcw0c9kmvxrlj355mx2";
|
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
|
patches = if stdenv.isCygwin then ./coreutils-8.23-4.cygwin.patch else
|
||||||
(if stdenv.isArm then (fetchurl {
|
(if stdenv.isArm then (fetchurl {
|
||||||
url = "http://git.savannah.gnu.org/cgit/coreutils.git/patch/?id=3ba68f9e64fa2eb8af22d510437a0c6441feb5e0";
|
url = "http://git.savannah.gnu.org/cgit/coreutils.git/patch/?id=3ba68f9e64fa2eb8af22d510437a0c6441feb5e0";
|
||||||
|
@ -2,12 +2,15 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "which-2.21";
|
name = "which-2.21";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/which/${name}.tar.gz";
|
url = "mirror://gnu/which/${name}.tar.gz";
|
||||||
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
sha256 = "1bgafvy3ypbhhfznwjv1lxmd6mci3x1byilnnkc7gcr486wlb8pl";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# FIXME needs gcc 4.9 in bootstrap tools
|
||||||
|
hardening_stackprotector = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://ftp.gnu.org/gnu/which/;
|
homepage = http://ftp.gnu.org/gnu/which/;
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user