nixpkgs/pkgs/build-support
Peter Simons 7534cbe4b8 Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that
works on Red Hat Linux, i.e. that is based on glibc version 2.5.

Furthermore, this patch fixes a number of gcc 4.3.3 build errors in glibc 2.5
that occur on both x86 and x86_64. The older version of this library is still
useful for running Nix on a Red Hat host. Newer version of glibc fail to detect
the kernel's capabilities correctly (due to mad patches applied to the kernel
by Red Hat).

The individual changes are:

 * Re-activated glibc 2.5 in all-packages.nix.

 * Fix incomplete header search path in bootstrap tools.

   Gcc-wrapper sets "-B<prefix>" to tell the compiler about its installation
   root. Unfortunately, the setting doesn't add $gcc/lib/gcc/*/*/include-fixed
   to the search path. That directory is required, however, because it contains
   the system-specific "limits.h" file, and the glibc 2.5 builds tries to find
   that file via #include_next.

 * Support intrinsic functions like __signbit() or atof() correctly to avoid
   compile-time conflicts.

 * Switch to NPTL. Linuxthreads is no longer supported.

 * Added a meta attribute to glibc package.

 * Updated nixUnstable to version 0.13pre15614 from trunk. The previous version
   failed regression tests.

 * Fix more strict type checking in binutils since 2.18.50.0.3.

   Without this patch, the build failed on x86, saying:

     ../sysdeps/i386/fpu/ftestexcept.c: Assembler messages:
     ../sysdeps/i386/fpu/ftestexcept.c:33: Error: suffix or operands invalid for `fnstsw'

svn path=/nixpkgs/branches/stdenv-updates/; revision=16037
2009-06-24 20:10:51 +00:00
..
buildenv * Support a post-install hook. 2009-02-20 15:40:11 +00:00
builder-defs * Move builder-defs to pkgs/build-support. (pkgs/top-level is for 2009-04-20 12:37:10 +00:00
checker ignoring config option servicesProposal (is checked in upstart-jobs/default.nix) 2008-03-24 23:47:40 +00:00
deb-package Fixing ttmkfdir, with help of a modification in deb-package. 2009-04-27 12:04:11 +00:00
fetchbzr Add `fetchbzr', to retrieve remote Bazaar repositories. 2008-09-26 08:57:51 +00:00
fetchcvs * Quick hack to support checkout by date. 2008-02-28 23:43:21 +00:00
fetchdarcs revert of my last commit to stdenv-update nix-env -qa \* --out-path works for me again 2008-03-06 18:44:09 +00:00
fetchfile * "." -> "source". 2005-12-05 14:11:09 +00:00
fetchhg commented out avrdude which is using unstable lib functions, 2007-09-04 12:45:00 +00:00
fetchsvn * Don't suppress error messages. 2008-11-25 18:34:46 +00:00
fetchsvnssh undo 2008-07-06 15:46:10 +00:00
fetchurl * Add the CPAN master site as a fallback. 2009-04-03 15:51:39 +00:00
gcc-cross-wrapper * Remove references to substitute.sh. 2006-12-27 18:17:53 +00:00
gcc-upc-wrapper Add GCC-UPC, a compiler for the UPC distributed shared memory language. 2008-03-04 16:20:11 +00:00
gcc-wrapper Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that 2009-06-24 20:10:51 +00:00
kernel * Doh! Since r15200, modules-closure.sh generated an empty set of 2009-04-29 14:32:04 +00:00
make-symlinks * "." -> "source". 2005-12-05 14:11:09 +00:00
make-wrapper * aclocal wrapper: skip directories in ACLOCAL_PATH that don't exist, 2009-04-05 18:13:59 +00:00
mono-dll-fixer * Remove references to substitute.sh. 2006-12-27 18:17:53 +00:00
native-darwin-cctools-wrapper * Add nmedit. 2006-07-14 17:17:01 +00:00
nuke-references * Use the sh from klibc in the bootstrap. It's a lot smaller than 2009-01-29 17:48:45 +00:00
release * Removed some obsolete nullglobs. 2009-04-19 08:55:27 +00:00
src-only A helper to get the source some package is built from. 2008-10-01 15:57:22 +00:00
substitute * Allow post/pre-install hooks. 2008-02-12 08:42:33 +00:00
vm svn path=/nixpkgs/trunk/; revision=15178 2009-04-20 12:52:24 +00:00