Commit graph

83 commits

Author SHA1 Message Date
Eelco Dolstra c2a16ec012 glibc: Security fixes.
CVE-2013-0242, CVE-2013-1914.
2013-05-09 13:57:59 +02:00
Eelco Dolstra 0f53a2e9f3 glibc: Require Linux 2.6.32 instead of 2.6.35
By popular demand.  For instance, many widely used RHEL systems are
still on 2.6.32.
2013-05-09 13:52:05 +02:00
Eelco Dolstra cc17e70374 glibc: Remove 2.13
It's not used and has security bugs.
2013-05-09 13:50:51 +02:00
Ludovic Courtès 8ad8eb6ee0 glibc: hurd: apply none of the patches 2013-04-03 11:27:12 +02:00
Ludovic Courtès 4d8cd0aa24 glibc: hurd: Use the old `rpcgen-path.patch'. 2013-03-29 22:04:25 +01:00
Ludovic Courtès c8ff101724 glibc 2.17: Make the `fetchgit' argument optional. 2013-03-21 13:25:51 +01:00
Ludovic Courtès d69e680035 glibc 2.17: Reinstate support for cross-GNU builds. 2013-03-21 13:08:38 +01:00
Lluís Batlle i Rossell 4684a47989 glibcInfo: fixing build
The manual is built into 'build', not sourceRoot.
2013-03-12 11:46:09 +01:00
Lluís Batlle i Rossell 7868a3e6b2 Revert "Fixing tarball build (failure evaluating glibcInfo in powerpc-linux)"
This reverts commit c94595f13b.

This was fixed by shlevy in 1c86181857, and I
didn't notice it.
2013-03-11 14:02:16 +01:00
Lluís Batlle i Rossell c94595f13b Fixing tarball build (failure evaluating glibcInfo in powerpc-linux) 2013-03-11 09:41:55 +01:00
Shea Levy 1c86181857 glibc-2.17: Don't link to stdenv.lib.gcc if it's null.
This fixes the tarball

Signed-off-by: Shea Levy <shea@shealevy.com>
2013-03-10 19:47:59 -04:00
Eelco Dolstra 4623d3ff01 glibc: Fix an assertion failure in getaddrinfo.c
For instance, when connected to a VPN, Emacs would randomly crash
at startup:

emacs: ../sysdeps/posix/getaddrinfo.c:1467: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
2013-03-06 14:10:54 +01:00
Eelco Dolstra daa53f5200 glibc: Support Blowfish passwords 2013-01-22 23:43:34 +01:00
Lluís Batlle i Rossell a8dedfc1d0 Merge branch 'stdenv-updates' into pi-stdenv-updates 2012-12-29 09:05:13 +00:00
Eelco Dolstra 291527a6d9 glibc: Drop nss-skip-unavail.patch
From a quick look at the 1063-line monstrosity that is gaih_inet(), I
*think* that this patch is no longer needed.  But I could be wrong.
2012-12-29 01:01:31 +01:00
Eelco Dolstra d3d3cea6bd glibc: Update rpcgen-path.patch 2012-12-29 00:49:21 +01:00
Eelco Dolstra db418fce3d glibc: Update to 2.17
Note that glibc-ports is now part of the main glibc tarball.
2012-12-29 00:48:14 +01:00
Lluís Batlle i Rossell c4cc88aca2 Merge branch 'pi-stdenv-updates' of https://github.com/viric/nixpkgs into pi-stdenv-updates 2012-12-28 21:21:24 +01:00
Lluís Batlle i Rossell 4485ee5916 glibc: removing raspberrypi specific code
I think its --with-fp or --without-fp makes nothing, for arm.
2012-12-28 21:16:25 +01:00
Lluís Batlle i Rossell 719ba63004 Merge branch 'stdenv-updates' into pi-stdenv-updates
Conflicts:
	pkgs/development/compilers/gcc/4.6/default.nix
	pkgs/development/compilers/gcc/4.7/default.nix

The 4.7 had some weird parameters added in crossAttrs; I've removed
them, but I don't understand where they come from.
2012-12-28 20:14:01 +00:00
Eelco Dolstra 84779a6f7d Remove unnecessary parentheses around if conditions
Pet peeve...
2012-12-28 19:54:15 +01:00
Lluís Batlle i Rossell affca4a11c Making the raspberrypi glibc include hard float. 2012-12-28 16:53:18 +00:00
Lluís Batlle i Rossell 2717392cbf The glibc doesn't like "gnueabihf" in the triplet.
I better set "gnueabi".
2012-12-26 22:01:55 +00:00
Lluís Batlle i Rossell 0af1283e97 Undoing more glibc unneeded changes 2012-12-26 22:01:26 +00:00
Lluís Batlle i Rossell 68a65bcf2a Undoing glibc 2.13 work for the pi
(previous attempt of bootstrapping from the armv5tel bootstrap tools)
2012-12-26 22:01:22 +00:00
root 1b29d29c76 First movement to get the raspberrypi stdenv building. 2012-12-26 21:59:54 +00:00
Lluís Batlle i Rossell 636722eb93 Less intrussive fix for glibc 2.16 cross-rpcgen build
Using LD_LIBRARY_PATH, sets overrides of libs for all binaries run.

On mips64, the libz in the bootstrap-tools is a bit incompatible with
the libz binutils are built with (ld.so outputs a warning at every program run
that uses libz). binutils need to be dynamically linked to the libz they
have been linked to.

Glibc creates 'shlib.lds' using the gas program output, and it includes the
ld.so warning in case of using LD_LIBRARY_PATH. That breaks the glibc build.

As Makefile includes BUILD_LDFLAGS for the purpose of cross-rpcgen, I
use this instead of the intrusive LD_LIBRARY_PATH.
2012-12-24 13:06:04 +01:00
Eelco Dolstra b5a605c269 Fix the Glibc kernel at 2.6.35 rather than whatever the kernel header happen to be 2012-09-26 12:04:05 -04:00
Eelco Dolstra 9b0ed02f9b Remove Glibc 2.14 2012-09-18 14:59:26 -04:00
Eelco Dolstra aa34058205 glibc: Update to 2.16 2012-09-18 12:38:43 -04:00
Eelco Dolstra 375341bd73 Remove obsolete Glibc versions 2012-09-18 11:13:54 -04:00
Lluís Batlle i Rossell 93a7450c6a glibc: fixing the glibcLocales build
It was stopping hydra from evaluating further, I think. I broke it
in my previous commit.
2012-08-20 10:04:07 +02:00
Lluís Batlle i Rossell 3694b0f892 glibc: setting --enable-kernel=2.6.35
It was taking 2.4.0 as default, therefore, not using syscalls over 2.4.0
We may see performance improvements (openat, ...)
2012-08-19 13:25:40 +02:00
Shea Levy 8cc0edaeba Merge branch 'master' into stdenv-updates
ssp is disabled for glibc-2.13 unconditionally
2012-06-27 13:48:22 -04:00
Shea Levy 9400646dcd Merge remote-tracking branch 'aszlig/glibc_ssp_fix'
glibc 2.13 and 2.14 fail to build with our current stdenv unless the ssp is
disabled. For glibc 2.13, I've only disabled the ssp when it's being built with
a complete stdenv to avoid a stdenv rebuild
2012-06-27 11:11:36 -04:00
aszlig f5a5915f6e Work around SSP build failure in glibc214, too.
Glibc 2.14 also produces a build failure in Hydra, so we need to apply the same
fix here, too.
2012-06-27 16:41:33 +02:00
aszlig d0d4123962 Compile glibc without -fstack-protector.
At least until NixOS full supports -fstack-protector it's better to turn it off
at the moment, as previous successful builds didn't include it either.
2012-06-04 19:54:32 +02:00
Lluís Batlle i Rossell c0be42fd68 Trying to fix crossGNU builds (attribute `platform.kernelMajor' missing)
svn path=/nixpkgs/trunk/; revision=34239
2012-05-25 08:15:41 +00:00
Lluís Batlle i Rossell 5aa41fb2ef Adding a check for linux 2.6 related cross build parameters in glibc.
svn path=/nixpkgs/trunk/; revision=34230
2012-05-24 21:45:18 +00:00
Ludovic Courtès e3ccebccec GNU libc 2.13: Skip `dont_use_system_ld_so_cache.patch' on GNU.
svn path=/nixpkgs/trunk/; revision=34053
2012-05-10 20:23:45 +00:00
Eelco Dolstra 5bdea119d4 * Sync with the trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=33971
2012-05-02 13:19:07 +00:00
Ludovic Courtès f59b9490ec GNU libc: Improve description and name for the Hurd; fix `needsPorts'.
svn path=/nixpkgs/trunk/; revision=33833
2012-04-18 17:22:04 +00:00
Nicolas Pierron 82b308bf11 Add armv7l support.
svn path=/nixpkgs/trunk/; revision=33798
2012-04-15 23:41:25 +00:00
Shea Levy 8f60696e06 glibc: Don't check /etc/ld.so.cache
Idea by Eelco, initial patch by Jack Cummings, minor fixups by me

svn path=/nixpkgs/branches/stdenv-updates/; revision=33741
2012-04-11 04:42:23 +00:00
Peter Simons 342559e0a1 glibc: Fixed gencat and librt impurities.
Patch submitted by Jack Cummings <jack@mudshark.org> to the nix-dev
mailing list in message <20120309092909.GG39859@ice9.mudshark.org>.

svn path=/nixpkgs/branches/stdenv-updates/; revision=33536
2012-04-02 14:15:01 +00:00
Lluís Batlle i Rossell a39a9b3d8e Adding a glibc patch to get proper first days of the week in the Catalan locale.
Since 2008 somehow it cannot get fixed in glibc:
https://bugzilla.redhat.com/show_bug.cgi?id=454629


svn path=/nixpkgs/trunk/; revision=33279
2012-03-19 21:50:58 +00:00
Ludovic Courtès 04e9081837 GNU libc: Reinstate the latest Hurd snapshot.
svn path=/nixpkgs/trunk/; revision=32850
2012-03-07 13:45:01 +00:00
Eelco Dolstra 6adea06e1c * Disable some broken jobs (http://hydra.nixos.org/build/2250730).
svn path=/nixpkgs/trunk/; revision=32846
2012-03-07 09:13:52 +00:00
Ludovic Courtès 5481e67e23 GNU libc: Backport Hurd-related changes from glibc 2.12 in trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32374
2012-02-17 22:12:40 +00:00
Eelco Dolstra 0811db080e * Move all glibc versions to development/libraries/glibc.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32373
2012-02-17 22:02:37 +00:00