1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs
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
..
applications Adding Firefox 3.5b4 2009-05-05 15:39:51 +00:00
build-support Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that 2009-06-24 20:10:51 +00:00
configs/etc
data Update DejaVu fonts 2009-05-06 07:30:13 +00:00
desktops * Removed kde-4-old. 2009-04-29 16:01:05 +00:00
development Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that 2009-06-24 20:10:51 +00:00
games update python to 2.5.4 2009-04-30 14:01:25 +00:00
lib * Allow the user to install stdenv (nix-env -i stdenv) and get all the 2009-04-25 14:08:29 +00:00
misc cleaned up and fixed autofs v5 2009-05-01 05:42:32 +00:00
os-specific/linux Fix kernel builder - fails, depending on FS behavior 2009-05-04 10:51:51 +00:00
servers Override xf86videoati version and make xkbcomp work from inside X server 2009-05-05 12:38:04 +00:00
shells * Another sync with the trunk. 2009-04-23 11:59:43 +00:00
stdenv * New bootstrap binaries (from r16022 in the trunk). Don't set 2009-06-22 19:49:42 +00:00
test Add a new way to handle option sets. 2008-08-05 17:16:35 +00:00
tools Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that 2009-06-24 20:10:51 +00:00
top-level Define "brokenRedHatKernel = true" in $NIXPKGS_CONFIG to build a system that 2009-06-24 20:10:51 +00:00