Merge: glibc: 2.24 -> 2.25
This commit is contained in:
commit
1daf2e26d2
@ -28,7 +28,16 @@ stdenv.mkDerivation rec {
|
|||||||
src = ./config-compat.patch;
|
src = ./config-compat.patch;
|
||||||
inherit configVersion;
|
inherit configVersion;
|
||||||
})
|
})
|
||||||
|
(fetchpatch {
|
||||||
|
name = "glibc-2.25.diff";
|
||||||
|
url = "https://cgit.freedesktop.org/fontconfig/patch/?id=1ab5258f7c";
|
||||||
|
sha256 = "0x2a4qx51j3gqcp1kp4lisdzmhrkw1zw0r851d82ksgjlc0vkbaz";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
# additionally required for the glibc-2.25 patch
|
||||||
|
postPatch = ''
|
||||||
|
sed s/CHAR_WIDTH/CHARWIDTH/g -i src/fcobjshash.{h,gperf}
|
||||||
|
'';
|
||||||
|
|
||||||
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
|
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
|
||||||
|
|
||||||
|
@ -10,8 +10,8 @@ cross:
|
|||||||
, preConfigure ? "", ... }@args:
|
, preConfigure ? "", ... }@args:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.24";
|
version = "2.25";
|
||||||
sha256 = "1ghzp41ryvsqxn4rhrm8r25wc33m2jf8zrcc1pj3jxyk8ad9a0by";
|
sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0";
|
||||||
in
|
in
|
||||||
|
|
||||||
assert cross != null -> gccCross != null;
|
assert cross != null -> gccCross != null;
|
||||||
@ -138,7 +138,7 @@ stdenv.mkDerivation ({
|
|||||||
lib.optionalString (cross != null) "-${cross.config}";
|
lib.optionalString (cross != null) "-${cross.config}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gnu/glibc/glibc-${version}.tar.gz";
|
url = "mirror://gnu/glibc/glibc-${version}.tar.xz";
|
||||||
inherit sha256;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ in
|
|||||||
# to bootstrap-tools; on cross-arm this stripping would break objects.
|
# to bootstrap-tools; on cross-arm this stripping would break objects.
|
||||||
if [ -z "$crossConfig" ]; then
|
if [ -z "$crossConfig" ]; then
|
||||||
for i in "$out"/lib/*.a; do
|
for i in "$out"/lib/*.a; do
|
||||||
strip -S "$i"
|
[ "$i" = "$out/lib/libm.a" ] || strip -S "$i"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ coreutils ];
|
nativeBuildInputs = [ coreutils ];
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
# Since glibc-2.25 the i686 tests hang reliably right after test-sleep.
|
||||||
|
doCheck = !stdenv.isDarwin && (stdenv.system != "i686-linux");
|
||||||
|
|
||||||
outputs = [ "out" "info" ];
|
outputs = [ "out" "info" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user