Commit Graph

71 Commits

Author SHA1 Message Date
Sergei Trofimovich
da5e8c11eb elfutils: 0.189 -> 0.190
Changes: https://inbox.sourceware.org/elfutils-devel/09cdf427eee53f49e5dff9c3e3c75ee6420afc80.camel@klomp.org/
2023-11-03 22:56:17 +00:00
Guillaume Girol
b7bad825f7 elfutils: enable debuginfod support
most reverse dependencies are debuggers which benefit from this support,
plus systemd which already depends on half the additional
depenendencies.
2023-04-09 12:00:00 +00:00
Sergei Trofimovich
379b94bdfa elfutils: 0.188 -> 0.189
Changes: https://www.mail-archive.com/elfutils-devel@sourceware.org/msg05969.html
2023-03-03 22:41:25 +00:00
github-actions[bot]
d7f991bb53
Merge master into staging-next 2023-01-29 00:02:27 +00:00
Zhaofeng Li
939d238cd7 elfutils: Disable failing test on RISC-V 2023-01-19 22:37:35 -07:00
Michal Sojka
9320c0acf9 elfutils: fix compile failure with latest curl (7.87.0)
This applies two upstream fixes for the problem.

Fixes #210911
2023-01-17 16:25:01 +01:00
Sergei Trofimovich
eb6caa8ddf elfutils: 0.187 -> 0.188
Changes: https://sourceware.org/pipermail/elfutils-devel/2022q4/005561.html
2022-11-02 21:54:25 +00:00
Yorick van Pelt
e907371b61
elfutils: move libmicrohttpd to 0.9.71 2022-10-10 08:13:24 +02:00
José Romildo
01510c7ff3 treewide: no need to pass pname, version and attrPath to update scripts based on generic-updater 2022-09-27 23:41:53 -03:00
Sandro
a9722cab1e
Merge pull request #170810 from trofi/update-elfutils
elfutils: 0.186 -> 0.187
2022-05-08 21:23:20 +02:00
Sergei Trofimovich
5e2a1ebdc4 elfutils: 0.186 -> 0.187
Added trivial updater.
Dropped unneeded -Werror workaround (`pkgsMusl.elfutils` builds successfully now).

changelog: https://sourceware.org/git/?p=elfutils.git;a=blob_plain;f=NEWS;hb=HEAD
2022-04-28 20:38:48 +01:00
Guillaume Girol
6694081af0 elfutils: mark as broken when building a static library
elfutils uses dlopen for central features.
2022-04-24 23:20:48 +02:00
Sergei Trofimovich
fd17139b80 elfutils: 0.185 -> 0.186
Dropped one upstreamed patch.
2021-11-14 00:08:48 +00:00
Ryan Burns
4794a8aeee elfutils: 0.182 -> 0.185, cleanup
Remove obsolete musl patches & musl-specific autoreconfHook
(same as https://git.alpinelinux.org/aports/commit/main/elfutils?id=a8779348058ef0f42d31c814d2792ccdc8062007)

Also add zstd support, enable tests, and allow "format" hardening.

Co-authored-by: Sergei Trofimovich <slyich@gmail.com>
2021-09-23 12:35:20 -07:00
Arthur Gautier
83f3d96db8 elfutils: optionals is to be used when a list is provided
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-03-26 10:46:10 +01:00
Arthur Gautier
7b57403c03 elfutils: pkg-config can't be included twice
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-03-26 10:46:10 +01:00
Arthur Gautier
ad6e13fcfb elfutils: split outputs
gdb does not need elfutils binaries and only access the libdebuginfod.so
2021-03-20 09:24:51 +01:00
Arthur Gautier
c600d5232d elfutils: add support for debuginfod
Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-03-20 09:24:51 +01:00
Peter Woodman
1b60500929 elfutils: 0.180 -> 0.182 + musl fixes 2021-01-31 19:39:57 -05:00
Frederik Rietdijk
ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
Matthew Bauer
80ca70b0e1 elfutils: add argp-standalone for musl
https://hydra.nixos.org/build/123111192
2020-07-06 01:51:46 -04:00
Tim Steinbach
5fce232e3f elfutils: 0.176 -> 0.180 2020-07-02 17:24:23 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer
bad6770d27 elfutils: remove unneeded custom cross build/install phase
This is no longer needed. elfutils compiles out of the box!
2020-03-05 20:38:30 -05:00
Linus Heckemann
bcac886971 Revert "elfutils: add patch that fixes compilation under gcc8 (#40705)"
This reverts commit b12448c001.
2019-09-07 07:20:19 +00:00
Frederik Rietdijk
e68505e735 Merge remote-tracking branch 'upstream/gcc8' into staging-next 2019-09-06 23:25:18 +02:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Will Dietz
6ff00fe96a elfutils: 0.175 -> 0.176
https://sourceware.org/ml/elfutils-devel/2019-q1/msg00147.html

Since it'short, NEWS is reproduced below
------

* NEWS *

build: Add new --enable-install-elfh option.
       Do NOT use this for system installs (it overrides glibc elf.h).

backends: riscv improved core file and return value location support.

Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150,
      CVE-2019-7664, CVE-2019-7665
2019-02-15 14:08:21 -06:00
R. RyanTM
5beb37d258 elfutils: 0.174 -> 0.175
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elfutils/versions
2018-11-19 14:21:00 -08:00
R. RyanTM
f52e50c60f elfutils: 0.173 -> 0.174
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/elfutils/versions
2018-09-20 16:46:43 -07:00
Jan Malakhovski
7e4c44222d elfutils: make tests run, but disable. A bit spooky! 2018-08-11 09:35:31 +00:00
John Ericson
9d23b95483 elfutils: Clean up with rebuild
Wrote contorted code before to avoid mass-rebuild
2018-08-02 15:10:03 -04:00
John Ericson
4116754f45 elfutils: Don't use crossAttrs 2018-07-24 19:40:46 -04:00
R. RyanTM
905e94bf4a elfutils: 0.172 -> 0.173 (#43031)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/elfutils/versions.

These checks were done:

- built on NixOS
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-readelf passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-nm passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-size passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-strip passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-elflint passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-findtextrel passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-addr2line passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-elfcmp passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-objdump passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-ranlib passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-strings passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-ar passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-unstrip passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-stack passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-elfcompress passed the binary check.
- /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173/bin/eu-make-debug-archive passed the binary check.
- 16 of 16 passed binary check by having a zero exit code.
- 0 of 16 passed binary check by having the new version present in output.
- found 0.173 with grep in /nix/store/nmml2vhzia58ji531a4q1j97rrj308yj-elfutils-0.173
- directory tree listing: https://gist.github.com/f0b855207a6f13446e77907717da40dd
- du listing: https://gist.github.com/1275237e95e19d1956769a304945cc37
2018-07-14 21:26:33 +02:00
Will Dietz
6b350c82e3 elfutils: 0.171 -> 0.172
https://sourceware.org/git/?p=elfutils.git;a=blob;f=NEWS;h=2b7f442e91d77315fa619c72bdf5c59d99f7b998;hb=7a1fd63a74e456f0ad9ab954bc381050e702eeb6
2018-06-16 20:11:42 -05:00
R. RyanTM
0ac4bae6ef elfutils: 0.170 -> 0.171
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/elfutils/versions.

These checks were done:

- built on NixOS
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-readelf passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-nm passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-size passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-strip passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-elflint passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-findtextrel passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-addr2line passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-elfcmp passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-objdump passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-ranlib passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-strings passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-ar passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-unstrip passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-stack passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-elfcompress passed the binary check.
- /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171/bin/eu-make-debug-archive passed the binary check.
- 16 of 16 passed binary check by having a zero exit code.
- 0 of 16 passed binary check by having the new version present in output.
- found 0.171 with grep in /nix/store/742pb58l3dabnraf988m4xvmccqyf85w-elfutils-0.171
- directory tree listing: https://gist.github.com/a9aa0114a736db7e1428e99f018ccd37
- du listing: https://gist.github.com/4fed4bdee872b7435662455c93469b5d
2018-06-06 05:19:05 -07:00
Patrick Hilhorst
b12448c001 elfutils: add patch that fixes compilation under gcc8 (#40705)
* elfutils: add patch that fixes compilation under gcc8

* elfutils: follow advice from @jtojnar
2018-05-18 17:05:04 +02:00
Robin Gloster
556029c904
elfutils: 0.169 -> 1.170 2017-08-27 22:51:53 +02:00
Eelco Dolstra
cc9bfd2cf8
elfutils: Respect $NIX_DEBUG_INFO_DIRS
This makes eu-stack and eu-addr2line do the right thing in a
nix-shell (if the appropriate debug outputs are present).
2017-07-28 16:38:26 +02:00
Eelco Dolstra
340bd1ed2e
elfutils: 0.168 -> 0.169 2017-07-28 16:38:26 +02:00
Will Dietz
2afcf34281 elfutils: Update website and URL to new sourceware location. 2017-01-08 16:30:05 -06:00
Will Dietz
157b216852 elfutils: 0.165 -> 0.168 2017-01-08 16:07:43 -06:00
Pascal Wittmann
f7e0bc2ae7
Make all meta.maintainers attributes lists 2016-11-20 18:06:03 +01:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
f6d3b7a2ae switch hardening flags 2016-01-30 16:36:57 +00:00
Franz Pletz
954e9903ad Use a hardened stdenv by default 2016-01-30 16:36:57 +00:00
aszlig
8f793ce6bb
elfutils: Fix header compatibility with glibc 2.21
Regression introduced by df2b9b48cb.

This breaks the build for ltrace and other programs using libelf,
because the header file relies on features from glibc >= 2.22.

Here is an excerpt from the log output of the configure script from
ltrace:

In file included from ...elfutils-0.165/include/gelf.h:32:0,
                 from conftest.c:57:
...elfutils-0.165/include/libelf.h:280:8: error: unknown type name 'Elf32_Chdr'
 extern Elf32_Chdr *elf32_getchdr (Elf_Scn *__scn);
        ^
...elfutils-0.165/include/libelf.h:281:8: error: unknown type name 'Elf64_Chdr'
 extern Elf64_Chdr *elf64_getchdr (Elf_Scn *__scn);
        ^
In file included from conftest.c:57:0:
...elfutils-0.165/include/gelf.h:89:9: error: unknown type name 'Elf64_Chdr'
 typedef Elf64_Chdr GElf_Chdr;
         ^

The issue has been reported in the Debian bug tracker at
https://bugs.debian.org/810885 and I'm using the patch from Mark
Wielaard that has been posted there which adds compatibility for older
glibc versions.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-01-16 01:37:37 +01:00
Eelco Dolstra
df2b9b48cb elfutils: 163 -> 165
Also, install programs with the "eu-" prefix to prevent collisions
with binutils (as recommended by upstream), enable xz support, and
enable deterministic archives.
2016-01-15 15:01:13 +01:00
Robert Scott
aefc8b3ddf elfutils: upgrade to 0.163 due to security
... vaguely mentioned by upstream, see e.g. FEDORA-2015-11380.
Close #9084.
2015-08-02 09:36:25 +02:00
Vladimír Čunát
cb83796abb elfutils: update 0.155 -> 0.158 2014-04-20 18:24:11 +02:00