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: 49a5791bc4f2
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 728446f75568
Choose a head ref
  • 9 commits
  • 32 files changed
  • 2 contributors

Commits on Nov 13, 2017

  1. libiberty: Add dev output

    Ericson2314 committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    c0a04ec View commit details
    Browse the repository at this point in the history
  2. bfd, opcodes: Init separate derivations for binutils libraries

    On most distros, these are just built and distributed as part of
    binutils. We don't use binutils across the board, however, but rather
    switch between binutils and a cctools-binutils mashup, and change the
    outputs on binutils too. This creates a combinatorial conditional soup
    which is hard to maintain.
    
    My hope is to lower the the state space. While my patch isn't the most
    maintainable, they make downstream packages become more maintainable to
    compensate. The additional derivations themselves are completely
    platform-agnostic, always they always supports all possible target
    platforms, and always yield "out" and "dev" outputs. That, in turn,
    allows downstream packages to not worry about a dependency
    shape-shifting under them.
    
    In fact, the actual binutils package can avoid needing multiple outputs
    now that these serve the requisite libraries, so that also can become
    simpler on all platforms, too, removing the original wart this PR
    circumnavigates for now. Actually changing the binutils package to
    leverage is a mass rebuild, however, so I'll leave that for a separate
    PR.
    
    I do hope to upstream something like my patch too, but until then I'll
    make myself maintainer of these derivations
    Ericson2314 committed Nov 13, 2017
    1 Configuration menu
    Copy the full SHA
    de28bd4 View commit details
    Browse the repository at this point in the history
  3. eztrace: Misc cleanups

      - Use nativeBuildInputs
      - Use libraries opcodes and bfd, rather than all of binutils
    Ericson2314 committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    f72bffb View commit details
    Browse the repository at this point in the history
  4. treewide: Try to avoid depending on binutils directly

    One should depend on
    
     - `stdenv.cc.bintools`: for executables at build time
     - `libbfd` or `libiberty`: for those libraries
     - `targetPackages.cc.bintools`: for exectuables at *run* time
     - `binutils`: only for specifically GNU Binutils's executables, regardless of
       the host platform, at run time.
    Ericson2314 committed Nov 13, 2017
    2 Configuration menu
    Copy the full SHA
    d7bddc2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e65259f View commit details
    Browse the repository at this point in the history
  6. binutils, gdb: Do not expose libbfd or libopcodes, and be multitarget

    There are separate derivations for these libraries and we don't want
    conflict. Multitarget is generally more useful, and will eventually
    speed up cross builds, so why not?!
    Ericson2314 committed Nov 13, 2017
    Configuration menu
    Copy the full SHA
    f8741c3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff023c9 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2017

  1. Configuration menu
    Copy the full SHA
    eaacf47 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #30484 from obsidiansystems/libbfd

    bfd, opcodes: Init separate derivations for binutils libraries
    Ericson2314 committed Nov 14, 2017
    Configuration menu
    Copy the full SHA
    728446f View commit details
    Browse the repository at this point in the history