nixpkgs/pkgs/development/libraries/glibc-2.11
Lluís Batlle i Rossell b1b7266aa3 After some testing with an ultrasparc cross-compiler:
Updating the cross-build expressions, adding some flexibility.
Updated the linux headers used cross building, as 2.6.28 had bugs on endianness in
sparc64.
There were, as usual some bugs in gcc. Maybe not many make a cross compiler to
ultrasparc.

For the record, I could build an ultrasparc kernel with this base nix:
import /etc/nixos/nixpkgs/default.nix   # The root nixpkgs default.nix
{
    crossSystem = {
        config = "sparc64-unknown-linux";
        bigEndian = true;
        arch = "sparc64";
        float = "soft";
        withTLS = true;
        cpu = "ultrasparc";
    };

    config = pkgs: {
      packageOverrides = pkgs : {
        platform = {
            name = "sparc64";
            kernelHeadersBaseConfig = "sparc64_defconfig";
            kernelBaseConfig = "sparc64_defconfig";
            kernelArch = "sparc";
            kernelAutoModules = false;
            kernelTarget = "zImage";
            uboot = null;
        };
      };
    };
}

Although it did not boot directly in qemu-system-sparc64:
[sparc64] Kernel already loaded
Unhandled Exception 0x0000000000000020
PC = 0x0000000000404000 NPC = 0x0000000000404004

svn path=/nixpkgs/trunk/; revision=20269
2010-02-27 00:52:48 +00:00
..
builder.sh Trying to make glibc211 build not only with the bootstrap-files compiler. 2010-01-20 19:13:18 +00:00
common.nix After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
default.nix After some testing with an ultrasparc cross-compiler: 2010-02-27 00:52:48 +00:00
info.nix glibc 2.11: Factorize the libc/info/locales expressions. 2009-11-22 16:03:56 +00:00
locale-override.patch Add tentative glibc 2.11 expression, based on that of glibc 2.9. 2009-11-19 23:28:45 +00:00
locales-builder.sh * The postInstall attribute in default.nix did nothing, because 2010-01-18 10:50:32 +00:00
locales.nix * The postInstall attribute in default.nix did nothing, because 2010-01-18 10:50:32 +00:00
mod_nano.patch Attempting to fix ntp's MOD_NANO problems. 2009-12-17 22:09:28 +00:00
nss-skip-unavail.patch Add tentative glibc 2.11 expression, based on that of glibc 2.9. 2009-11-19 23:28:45 +00:00
rpcgen-path.patch Add tentative glibc 2.11 expression, based on that of glibc 2.9. 2009-11-19 23:28:45 +00:00
stack-protector-link.patch glibc 2.11: Try again to fix link errors for `nscd'. 2009-11-22 00:57:20 +00:00