Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: fccda5aae665
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 5fc5e83808c1
Choose a head ref
  • 5 commits
  • 8 files changed
  • 2 contributors

Commits on Jan 30, 2021

  1. lib.systems: add powerpc64-linux

    PPC64 supports two ABIs: ELF v1 and v2.
    
    ELFv1 is historically what GCC and most packages expect, but this is
    changing because musl outright does not work with ELFv1. So any distro
    which uses musl must use ELFv2. Many other platforms are moving to ELFv2
    too, such as FreeBSD (as of v13) and Gentoo (as of late 2020).
    
    Since we use musl extensively, let's default to ELFv2.
    
    Nix gives us the power to specify this declaratively for the entire
    system, so ELFv1 is not dropped entirely. It can be specified explicitly
    in the target config, e.g. "powerpc64-unknown-linux-elfv1". Otherwise the
    default is "powerpc64-unknown-linux-elfv2". For musl,
    "powerpc64-unknown-linux-musl" must use elfv2 internally to function.
    r-burns committed Jan 30, 2021
    Copy the full SHA
    72b3bad View commit details
    Browse the repository at this point in the history
  2. stdenv: add powerpc64-linux

    r-burns committed Jan 30, 2021
    Copy the full SHA
    c17abf8 View commit details
    Browse the repository at this point in the history
  3. bootstrap-tools-cross: add powerpc64-linux

    Also check for powerpc64-linux-elfv1, which does not support musl.
    r-burns committed Jan 30, 2021
    Copy the full SHA
    76fc6d2 View commit details
    Browse the repository at this point in the history
  4. gcc: fix powerpc64-linux

    Long-double-128 is a hardware feature independent of endianness
    r-burns committed Jan 30, 2021
    Copy the full SHA
    5530a3a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #111345 from r-burns/ppc64-big-endian

    Enable PPC64 (big-endian)
    Ericson2314 committed Jan 30, 2021
    Copy the full SHA
    5fc5e83 View commit details
    Browse the repository at this point in the history