Commit Graph

58 Commits

Author SHA1 Message Date
Eelco Dolstra
84779a6f7d Remove unnecessary parentheses around if conditions
Pet peeve...
2012-12-28 19:54:15 +01: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
Eelco Dolstra
b37f504680 * Updated various stdenv packages (grep, gawk, tar, cpio, findutils,
pcre).

svn path=/nixpkgs/branches/stdenv-updates/; revision=9758
2007-11-19 17:39:19 +00:00
Eelco Dolstra
bfbdd69b2f * Make a symlink "lib64" to "lib" to fix ldd (which looks for the
dynamic linker in lib64 on x86_64).  (NIXOS-54)

svn path=/nixpkgs/trunk/; revision=8741
2007-05-24 13:33:23 +00:00
Eelco Dolstra
138c0ae751 * Merge the new generic builder.
* Removed substitute, it's part of the generic builder now.
* stdenv-initial (Linux): use the real generic builder script.  This
  does require that sed is in the path of the builder of the initial
  stdenv.

svn path=/nixpkgs/trunk/; revision=7498
2006-12-27 18:14:57 +00:00
Eelco Dolstra
770517edbb * Doh, we're building in a different directory than the sources.
svn path=/nixpkgs/trunk/; revision=6887
2006-10-28 11:40:26 +00:00
Eelco Dolstra
b8f17a1e59 * Workaround for the wrong <semaphore.h> getting installed. This
appears to be a regression:
  http://www.mail-archive.com/debian-glibc@lists.debian.org/msg31543.html 

svn path=/nixpkgs/trunk/; revision=6885
2006-10-28 10:17:08 +00:00
Eelco Dolstra
02254ec3d8 * Fix glibc build on powerpc. See http://sources.redhat.com/bugzilla/show_bug.cgi?id=2929.
svn path=/nixpkgs/trunk/; revision=6847
2006-10-25 11:17:30 +00:00
Eelco Dolstra
371d2ddbf2 * Back out r6830.
svn path=/nixpkgs/trunk/; revision=6846
2006-10-25 11:06:44 +00:00
Eelco Dolstra
69ee353dc7 * glibc-2.5 is the default now.
* Remove gcc-static-3.4.

svn path=/nixpkgs/trunk/; revision=6831
2006-10-24 22:23:20 +00:00
Eelco Dolstra
f6f207e054 * Simplify, simplify.
svn path=/nixpkgs/trunk/; revision=6830
2006-10-24 22:20:45 +00:00
Eelco Dolstra
db90711cb7 * LD_LIBRARY_PATH no longer needed (?).
svn path=/nixpkgs/trunk/; revision=6813
2006-10-23 21:51:43 +00:00
Eelco Dolstra
3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00
Eelco Dolstra
94fe7734fa * Glibc 2.3.6.
* GCC 3.4.5.
* Updated several other stdenv packages.
* Modified the builders of several packages to use the generic
  builder.

svn path=/nixpkgs/trunk/; revision=4336
2005-12-06 00:12:45 +00:00
Eelco Dolstra
82e678362f * "." -> "source".
svn path=/nixpkgs/trunk/; revision=4335
2005-12-05 14:11:09 +00:00
Eelco Dolstra
b8bae3582b * Lots of updates, especially GTK and X libraries.
svn path=/nixpkgs/trunk/; revision=3193
2005-06-17 11:43:15 +00:00
Eelco Dolstra
f6e91bc9c9 * Merge r2396.
svn path=/nixpkgs/trunk/; revision=2397
2005-03-14 09:22:26 +00:00
Eelco Dolstra
350268458c * Glibc updated to 2.3.4.
svn path=/nixpkgs/trunk/; revision=2260
2005-02-21 16:54:04 +00:00
Eelco Dolstra
e6744d0f89 * Merge diff between trunk/pkgs@1646 and branches/nixos-pkgs@2256;
this contains mostly Armijn's pure stdenv-linux.

* After unpacking the statically linked GCC, patch all store paths to
  /nix/store/ffffffffffffffffffffffffffffffff.  Ugly hack to prevent
  undeclared references but it works.

* We don't need Glib's dynamic libraries in the first bootstrap stage;
  delete them.  Actually the downloaded Glibc binary is only needed
  for building Glibc, since GCC needs a C compiler to build some
  programs in `configure'.  So static linking is fine for that.  Maybe
  it would be better to patch `configure' so that we don't need a
  pre-built Glibc at all.

* Set the svn:executable property on `cp' and `patchelf'.

* In Glibc, revert to LinuxThreads.  Maybe NPTL will work, but TLS
  support is a problem.

* Delete most Glibc patches; they're no longer needed since the branch
  updated it to 20050110.
  
* Some cleanups.

svn path=/nixpkgs/trunk/; revision=2258
2005-02-21 16:03:34 +00:00
Eelco Dolstra
e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00
Armijn Hemel
8125cd8915 everything to build glibc statically succesfully
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2079
2005-01-20 22:54:51 +00:00
Armijn Hemel
81e13c1572 remove the dependency on /bin/pwd, use the pwd we have in $PATH instead
svn path=/nixpkgs/branches/nixos-pkgs/; revision=2052
2005-01-18 13:04:28 +00:00
Eelco Dolstra
7f3dc52aba * Add locales such as en_US.UTF-8 and nl_NL.UTF-8 to the list of
supported locales.  This is very useful as those are the default
  locales on Red Hat and SuSE (>= 9.2).  (When LANG is set to an
  unsupported locale, some applications fall back on the C locale;
  others (like Subversion) just barf.)

svn path=/nixpkgs/trunk/; revision=1977
2004-12-30 20:56:08 +00:00
Eelco Dolstra
76c0fe8cfe * Fix for http://sources.redhat.com/bugzilla/show_bug.cgi?id=356.
svn path=/nixpkgs/trunk/; revision=1820
2004-11-30 13:45:56 +00:00
Eelco Dolstra
ca6d6323ad * Glibc updated to 2.3.3 (which requires some patches for gcc 3.4 compatibility).
svn path=/nixpkgs/trunk/; revision=1441
2004-09-18 17:11:16 +00:00
Eelco Dolstra
beaff0a892 * Ensure that when building gcc, libstdc++ is linked against the
libgcc of the gcc being built, not the gcc building it.
* Only include a directory in the rpath of an executable/library if it
  is actually used.  Before, the `/lib' directory of every build input
  was added to the rpath, causing many unnecessary retained
  dependencies.  For instance, Perl has a `/lib' directory, but most
  applications whose build process uses Perl don't actually link
  against Perl.  (Also added a test for this.)
* After building glibc, remove glibcbug, to prevent a retained
  dependency on gcc.
* Add a newline after `building X' in GNU Make.

svn path=/nixpkgs/trunk/; revision=911
2004-04-04 22:02:41 +00:00
Eelco Dolstra
085e197ea3 * Toss out all the linker flags, since any --rpath switch causes the
glibc build to fail.

svn path=/nixpkgs/trunk/; revision=876
2004-03-30 12:35:31 +00:00