nixpkgs/pkgs/development/tools/misc/binutils
Matthew Justin Bauer 412e823f29
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
2018-06-12 22:54:10 -04:00
..
always-search-rpath.patch binutils: Always search DT_RPATH 2017-12-29 17:32:28 -05:00
build-components-separately.patch bfd, opcodes: Init separate derivations for binutils libraries 2017-11-13 00:47:37 -05:00
default.nix binutils: disable format hardening 2018-06-12 22:54:10 -04:00
deterministic.patch
disambiguate-arm-targets.patch binutils: disambiguate ARM targets 2017-11-19 03:36:53 +00:00
dtneeded.patch
gold-symbol-visibility.patch binutils: Revert apparently-broken multiple-definition support in gold. 2018-03-20 17:22:10 -04:00
new-dtags.patch
no-plugins.patch binutils: minimize rebuilds after parent revert 2017-01-30 14:10:13 +01:00
pt-pax-flags.patch binutils: 2.23.1 -> 2.26 2016-02-28 01:10:35 +01:00
relax-R_AARCH64_ABS32-R_AARCH64_ABS16-absolute.patch binutils: apply patch on aarch64 to fix https://sourceware.org/bugzilla/show_bug.cgi?id=22764 2018-04-28 19:46:05 +01:00
support-ios.patch Add missing ios triples to bfd 2018-06-01 17:01:39 +01:00