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: 7f3de607584b
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 412e823f2958
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 13, 2018

  1. binutils: disable format hardening

    This fails for me:
    
    > compressed_output.cc:320:20: error: format string is not a string literal (potentially insecure) [-Werror,-Wformat-security]
    >       gold_warning(_("not compressing section data: zlib error"));
    >                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    > ./system.h:40:20: note: expanded from macro '_'
    > # define _(String) gettext (String)
    >                    ^~~~~~~~~~~~~~~~
    > compressed_output.cc:320:20: note: treat the string as an argument to avoid this
    >       gold_warning(_("not compressing section data: zlib error"));
    >                    ^
    >                    "%s",
    > ./system.h:40:20: note: expanded from macro '_'
    > # define _(String) gettext (String)
                       ^
    
    Disabling format hardening should hopefully be harmless here. If it's a problem we can also make it conditional.
    
    /cc @Ericson2314
    matthewbauer committed Jun 13, 2018
    3
    Copy the full SHA
    412e823 View commit details
    Browse the repository at this point in the history