SHA256
1
0
forked from pool/elfutils

97 Commits

Author SHA256 Message Date
91322de797 Accepting request 1238095 from Base:System
- Add fix-static-linking.patch (bsc#1234445) (forwarded request 1230649 from ateixeira)

OBS-URL: https://build.opensuse.org/request/show/1238095
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=115
2025-01-16 17:31:24 +00:00
d659a0ca0f Accepting request 1227791 from Base:System
- Add pkgconfig(json-c) to reenable debuginfod support
- Add fish to enable profile support for fish
- Remove files packaged by libelf-devel

- update to 0.192
  CONDUCT: A new code of conduct has been adopted.  See the
  	   CONDUCT file for more information.
  debuginfod: Add per-file signature verification for integrity
              checking, using RPM IMA scheme from Fedora/RHEL.
  	      New API for metadata queries: file name -> buildid.
  	      Server-side extraction of files from kernel debuginfo
  	      packages is significantly faster. Now takes < 0.25 seconds,
  	      down from ~50 seconds.
  libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source
  	 and dwfl_unwound_source_str.
  stacktrace: Experimental new tool that can process a stream of stack
              samples from the Sysprof profiler and unwind them into call
              chains. Enable on x86 with --enable-stacktrace. See
              README.eu-stacktrace in the development branch for detailed
              usage instructions:
              https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace

- Remove files packaged by elfutils-debuginfod

- update to 0.192
  CONDUCT: A new code of conduct has been adopted.  See the
  	   CONDUCT file for more information.
  debuginfod: Add per-file signature verification for integrity
              checking, using RPM IMA scheme from Fedora/RHEL.
  	      New API for metadata queries: file name -> buildid.

OBS-URL: https://build.opensuse.org/request/show/1227791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=114
2024-12-03 19:45:25 +00:00
4706b16032 Accepting request 1177390 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1177390
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=113
2024-05-31 20:15:15 +00:00
5f90bfdfb5 Accepting request 1158795 from Base:System
- update to 0.191:
  * libdw: dwarf_addrdie now supports binaries lacking a
    .debug_aranges section.
  * Improved support for DWARF package files.  Add new
    function dwarf_cu_dwp_section_info.
  * debuginfod: Caching eviction logic improvements to improve
    retention of small/frequent/slow files such as Fedora's
    vdso.debug.
  * srcfiles: Can now fetch the source files of a DWARF/ELF file
    and place them into a zip.
- drop fix_gcc14_errors.patch (upstream)

- Add fix_gcc14_errors.patch (bsc#1220464)

  use __DATE__ or __TIME__ (as proven by the newly added -Werror=date-time)
  libraries are (LGPL-3.0-or-later OR GPL-2.0-or-later)
  order to fulfil SLPP violation.

OBS-URL: https://build.opensuse.org/request/show/1158795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=112
2024-03-20 20:09:36 +00:00
a23ee2b914 Accepting request 1139121 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1139121
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=111
2024-01-17 21:14:11 +00:00
8e466a9662 Accepting request 1108893 from Base:System
Conditionalize config(debuginfod-profile) Requires tag, narrowing it down to Tumbleweed only (forwarded request 1105124 from luc14n0)

OBS-URL: https://build.opensuse.org/request/show/1108893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=110
2023-09-06 16:56:28 +00:00
15a1669d70 Accepting request 1099743 from Base:System
Make installation of debuginfod-client more consistent, along with debuginfod-profile, with software/packages that have debuginfod support. (forwarded request 1099351 from luc14n0)

OBS-URL: https://build.opensuse.org/request/show/1099743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=109
2023-07-24 16:11:41 +00:00
e61fb8c24e Accepting request 1085694 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1085694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=108
2023-05-10 14:16:15 +00:00
6c01a5406e Accepting request 1069928 from Base:System
- Fix file listing for 15.x builds.

OBS-URL: https://build.opensuse.org/request/show/1069928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=107
2023-03-08 15:50:09 +00:00
ed2a6ee24a Accepting request 1069264 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1069264
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=106
2023-03-05 19:07:54 +00:00
3524236319 Accepting request 1067346 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1067346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=105
2023-03-02 22:01:47 +00:00
093b3533ec Accepting request 1066183 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1066183
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=104
2023-02-19 17:18:37 +00:00
404d6bb134 Accepting request 1041812 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1041812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=103
2022-12-15 18:23:27 +00:00
9717429d4a Accepting request 1034953 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1034953
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=102
2022-11-12 16:39:50 +00:00
31a129c835 Accepting request 1034105 from Base:System
- Update to version 0.188:
  * readelf: Add -D, --use-dynamic option.
  * debuginfod-client: Add $DEBUGINFOD_HEADERS_FILE setting to supply
    outgoing debuginfod_find_section.
  * debuginfod: Add --disable-source-scan option.
  * libdwfl: Add new function dwfl_get_debuginfod_client.
             Add new function dwfl_frame_reg.
             Add new function dwfl_report_offline_memory.
- Remove upstreamed patches:
  * 0001-libelf-Sync-elf.h-from-glibc.patch
  * 0002-backends-Handle-new-RISC-V-specific-definitions.patch
  * 0003-elflint-Allow-zero-p_memsz-for-PT_RISCV_ATTRIBUTES.patch
  * 0004-readelf-Handle-SHT_RISCV_ATTRIBUTES-like-SHT_GNU_ATT.patch
  * PR29474-debuginfod.patch
  * config-Move-the-2-dev-null-inside-the-sh-c-quotes-fo.patch
  * support-nullglob-in-profile.-.in-files.patch

- Update to version 0.188:
  * readelf: Add -D, --use-dynamic option.
  * debuginfod-client: Add $DEBUGINFOD_HEADERS_FILE setting to supply
    outgoing debuginfod_find_section.
  * debuginfod: Add --disable-source-scan option.
  * libdwfl: Add new function dwfl_get_debuginfod_client.
             Add new function dwfl_frame_reg.
             Add new function dwfl_report_offline_memory.
- Remove upstreamed patches:
  * 0001-libelf-Sync-elf.h-from-glibc.patch
  * 0002-backends-Handle-new-RISC-V-specific-definitions.patch
  * 0003-elflint-Allow-zero-p_memsz-for-PT_RISCV_ATTRIBUTES.patch
  * 0004-readelf-Handle-SHT_RISCV_ATTRIBUTES-like-SHT_GNU_ATT.patch

OBS-URL: https://build.opensuse.org/request/show/1034105
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=101
2022-11-09 11:55:52 +00:00
7b55f40ad9 Accepting request 1010631 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1010631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=100
2022-10-16 14:08:41 +00:00
1c5fea2d9f Accepting request 997533 from Base:System
- Use %ghost for debuginfod.sqlite file.

- Add support-nullglob-in-profile.-.in-files.patch
  fixes boo#1202440.

- Add PR29474-debuginfod.patch in order to fix PR29474.

- Add Recommends for libdebuginfod1 so that debuginfod-profile
  sets the DEBUGINFOD_URLS.

OBS-URL: https://build.opensuse.org/request/show/997533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=99
2022-08-18 14:48:43 +00:00
2247bd1ca0 Accepting request 982782 from Base:System
OBS-URL: https://build.opensuse.org/request/show/982782
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=98
2022-06-17 19:19:55 +00:00
96ae39eca7 Accepting request 977057 from Base:System
OBS-URL: https://build.opensuse.org/request/show/977057
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=97
2022-05-19 20:48:55 +00:00
76f46649eb Accepting request 974309 from Base:System
- Do not set DEBUGINFOD_URLS for anything older than Tumbleweed.

OBS-URL: https://build.opensuse.org/request/show/974309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=96
2022-05-05 21:04:24 +00:00
d357b294a2 Accepting request 972781 from Base:System
OBS-URL: https://build.opensuse.org/request/show/972781
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=95
2022-04-30 20:51:54 +00:00
87022680b0 Accepting request 969993 from Base:System
OBS-URL: https://build.opensuse.org/request/show/969993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=94
2022-04-19 07:57:51 +00:00
893f160306 Accepting request 957660 from Base:System
OBS-URL: https://build.opensuse.org/request/show/957660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=93
2022-02-28 18:43:04 +00:00
ea4e510d5d Accepting request 930893 from Base:System
OBS-URL: https://build.opensuse.org/request/show/930893
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=92
2021-11-15 14:25:59 +00:00
Richard Brown
ccd44edd1e Accepting request 923176 from Base:System
- Enhance license fields: all the libraries actually have a different
  license to the tools. While the tools are GPL-3.0-or-later, the
  libraries are (LGPL-3.0-or-later OR GPL-2.0-or-later) (forwarded request 923167 from coolo)

OBS-URL: https://build.opensuse.org/request/show/923176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=91
2021-10-08 20:04:38 +00:00
379f817d4b Accepting request 918955 from Base:System
- Add harden_debuginfod.service.patch as
  Automatic systemd hardening effort by the security team.

OBS-URL: https://build.opensuse.org/request/show/918955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=90
2021-09-20 21:32:23 +00:00
fb36a41bf5 Accepting request 910365 from Base:System
OBS-URL: https://build.opensuse.org/request/show/910365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=89
2021-09-06 13:57:50 +00:00
674dedf816 Accepting request 895138 from Base:System
- Update to version 0.185:
  debuginfod-client: Simplify curl handle reuse so downloads which
                     return an error are retried.
  elfcompress: Always exit with code 0 when the operation succeeds (even
               when nothing was done). On error the exit code is now always 1.

OBS-URL: https://build.opensuse.org/request/show/895138
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=88
2021-06-02 20:10:18 +00:00
11f38d7c66 Accepting request 892118 from Base:System
OBS-URL: https://build.opensuse.org/request/show/892118
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=87
2021-05-15 21:14:50 +00:00
b05c4a02f7 Accepting request 879926 from Base:System
- Enable https://debuginfod.opensuse.org/ debuginfod server
  by default now.
- Add disable-run-readelf-self-test.patch in order to disable
  a failing test-case with GCC 11 (PR27367). (forwarded request 879585 from marxin)

OBS-URL: https://build.opensuse.org/request/show/879926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=86
2021-03-24 15:09:20 +00:00
acfed26f99 Accepting request 870809 from Base:System
- Update to version 0.183:
  debuginfod: New thread-busy metric and more detailed error metrics.
              New --fdcache-mintmp and tracking of filesystem freespace.
              New increased webapi concurrency while grooming.
  debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which
                     can be used to dlopen the libdebuginfod.so library.
                     New function debuginfod_set_verbose_fd and
                     DEBUGINFOD_VERBOSE environment variable.
  config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless
          configured --enable-debuginfod-urls[=URLS]
  elflint, readelf: Recognize SHF_GNU_RETAIN.
                    Handle SHT_X86_64_UNWIND as valid relocation target.
- Remove config-do-not-define-DEBUGINFOD_URLS-environment-var.patch patch. (forwarded request 870255 from marxin)

OBS-URL: https://build.opensuse.org/request/show/870809
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=85
2021-02-16 21:35:09 +00:00
3e7a195a12 Accepting request 867186 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/867186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=84
2021-02-07 14:13:41 +00:00
99fd41ea68 Accepting request 860398 from Base:System
- Add upstream config-do-not-define-DEBUGINFOD_URLS-environment-var.patch
  in order to fix boo#1180306. (forwarded request 860165 from marxin)

OBS-URL: https://build.opensuse.org/request/show/860398
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=83
2021-01-22 20:48:52 +00:00
db01cbe5d4 Accepting request 856471 from Base:System
OBS-URL: https://build.opensuse.org/request/show/856471
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=82
2020-12-21 09:21:56 +00:00
bb5c8ae398 Accepting request 851824 from Base:System
- Mention elfutils-rpmlintrc as a Source. (forwarded request 851817 from marxin)

OBS-URL: https://build.opensuse.org/request/show/851824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=81
2020-12-03 17:39:20 +00:00
39d5320d23 Accepting request 834631 from Base:System
- Disable LTO again - boo#1138796
  Adding -flto-partition=none and -Wno-error=stack-usage were
  not enough: 
    [  123s] libasm-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libasm.a
    [  123s] libdw-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libdw.a
    [  123s] libelf-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libelf.a
    [  123s] This archive does not contain a non-empty .text section.  The archive was not
    [  123s] created with -ffat-lto-objects option.
  And adding -ffat-lto-objects breaks run-show-die-info.sh test. (forwarded request 834600 from Guillaume_G)

OBS-URL: https://build.opensuse.org/request/show/834631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=80
2020-09-23 16:38:56 +00:00
349dbd30e4 Accepting request 789786 from Base:System
- Update to version 0.179:
  debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program doesn't
                     install its own debuginfod_progressfn_t show download
                     progress on stderr.
                     DEBUGINFOD_TIMEOUT is now defined as seconds to get at
                     least 100K, defaults to 90 seconds.
                     Default to $XDG_CACHE_HOME/debuginfod_client.
                     New functions debuginfod_set_user_data,
                     debuginfod_get_user_data, debuginfod_get_url and
                     debuginfod_add_http_header.
                     Support for file:// URLs.
  debuginfod: Uses libarchive directly for reading rpm archives.
              Support for indexing .deb/.ddeb archives through dpkg-deb
              or bsdtar.
              Generic archive support through -Z EXT[=CMD]. Which can be
              used for example for arch-linux pacman files by using
              -Z '.tar.zst=zstdcat'.
              Better logging using User-Agent and X-Forwarded-For headers.
              More prometheus metrics.
              Support for eliding dots or extraneous slashes in path names.
  debuginfod-find: Accept /path/names in place of buildid hex.
  libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached
          Ensure zlib resource cleanup on failure.
  libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline
           now find and handle a compressed vmlinuz image.
  readelf, elflint: Handle PT_GNU_PROPERTY.
  translations: Updated Ukrainian translation. (forwarded request 789782 from marxin)

OBS-URL: https://build.opensuse.org/request/show/789786
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=79
2020-04-04 10:04:19 +00:00
b1bd7db1d4 Accepting request 772771 from Base:System
- Re-add libelf1 to baselibs.conf: we still generate a
  libelf-devel-32bit, which is only installable if libelf1-21bit
  also exists. (forwarded request 772628 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/772771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=78
2020-02-13 09:10:57 +00:00
ba3a4a6587 Accepting request 748802 from Base:System
- disable-tests-with-ptrace.patch: Remove, set XFAIL_TESTS instead
- dwelf_elf_e_machine_string.patch: Avoid spurious failure (forwarded request 748720 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/748802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=77
2019-11-20 12:43:32 +00:00
16b869c8ba Accepting request 727947 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/727947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=76
2019-09-11 08:24:45 +00:00
00e31cb3d0 Accepting request 723501 from Base:System
- Update to version 0.177:
  elfclassify: New tool to analyze ELF objects.
  readelf: Print DW_AT_data_member_location as decimal offset.
           Decode DW_AT_discr_list block attributes.
  libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias.
  libdwelf: Add dwelf_elf_e_machine_string.
            dwelf_elf_begin now only returns NULL when there is an error
            reading or decompressing a file. If the file is not an ELF file
            an ELF handle of type ELF_K_NONE is returned.
  backends: Add support for C-SKY.
- remove fix-bsc-1110929.diff and gcc9-tests-Don-t-printf-a-known-NULL-symname.patch
- Use %make_build (forwarded request 723467 from marxin)

OBS-URL: https://build.opensuse.org/request/show/723501
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=75
2019-08-27 09:59:32 +00:00
1d1d1db7f6 Accepting request 711664 from Base:System
- Disable LTO (boo#1138796). (forwarded request 711044 from marxin)

OBS-URL: https://build.opensuse.org/request/show/711664
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=74
2019-07-08 13:06:06 +00:00
e90fb0466c Accepting request 707457 from Base:System
OBS-URL: https://build.opensuse.org/request/show/707457
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=73
2019-06-12 11:05:42 +00:00
866c5b8036 Accepting request 701262 from Base:System
- Add gcc9-tests-Don-t-printf-a-known-NULL-symname.patch in order to
  fix boo#1120864. (forwarded request 701234 from marxin)

OBS-URL: https://build.opensuse.org/request/show/701262
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=72
2019-05-12 09:31:44 +00:00
Stephan Kulow
eb960b2ba2 Accepting request 677347 from Base:System
- Add elfutils.keyring and verify signature. (forwarded request 677312 from marxin)

OBS-URL: https://build.opensuse.org/request/show/677347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=71
2019-02-24 15:55:22 +00:00
b788960ba0 Accepting request 649599 from Base:System
- Update to version 0.175
readelf: Handle mutliple .debug_macro sections.
         Recognize and parse GNU Property, NT_VERSION and
         GNU Build Attribute ELF Notes.
strip: Handle SHT_GROUP correctly.
       Add strip --reloc-debug-sections-only option.
       Handle relocations against GNU compressed sections.
libdwelf: New function dwelf_elf_begin.
libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT
        and BPF_JSLE.
backends: RISCV handles ADD/SUB relocations.
          Handle SHT_X86_64_UNWIND.
Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.
- remove disable-backtrace-dwarf-test.patch patch - the test
  works now (forwarded request 649580 from marxin)

OBS-URL: https://build.opensuse.org/request/show/649599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=70
2018-12-03 09:02:32 +00:00
e69caef763 Accepting request 637381 from Base:System
- Add disable-backtrace-dwarf-test.patch in order to work around:
  https://sourceware.org/bugzilla/show_bug.cgi?id=23673. (forwarded request 637018 from marxin)

OBS-URL: https://build.opensuse.org/request/show/637381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=69
2018-10-01 07:02:50 +00:00
90286eed7d Accepting request 630656 from Base:System
OBS-URL: https://build.opensuse.org/request/show/630656
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=68
2018-08-28 07:19:43 +00:00
e747dca220 Accepting request 621693 from Base:System
- Update to version 0.173
  More fixes for crashes and hangs found by afl-fuzz. In particular various
  functions now detect and break infinite loops caused by bad DIE tree cycles.
  readelf: Will now lookup the size and signedness of constant value types
           to display them correctly (and not just how they were encoded).
  libdw: New function dwarf_next_lines to read CU-less .debug_line data.
         dwarf_begin_elf now accepts ELF files containing just .debug_line
         or .debug_frame sections (which can be read without needing a DIE
         tree from the .debug_info section).
         Removed dwarf_getscn_info, which was never implemented.
  backends: Handle BPF simple relocations.
            The RISCV backends now handles ABI specific CFI and knows about
            RISCV register types and names.
- add cfi-fix.patch: make build green on arm target (forwarded request 621681 from marxin)

OBS-URL: https://build.opensuse.org/request/show/621693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=67
2018-07-14 18:14:38 +00:00
c3feff5862 Accepting request 616503 from Base:System
- Update to versio 0.172
  No functional changes compared to 0.171.
  Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data.
  Thanks to running the afl fuzzer on eu-readelf and various testcases. (forwarded request 616253 from marxin)

OBS-URL: https://build.opensuse.org/request/show/616503
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=66
2018-06-22 11:11:51 +00:00
99d91c3009 Accepting request 614220 from Base:System
- Update to version 0.171
  DWARF5 and split dwarf, including GNU DebugFission, are supported now.
  Data can be read from the new DWARF sections .debug_addr, .debug_line_str,
  .debug_loclists, .debug_str_offsets and .debug_rnglists.  Plus the new
  DWARF5 and GNU DebugFission encodings of the existing .debug sections.
  Also in split DWARF .dwo (DWARF object) files.  This support is mostly
  handled by existing functions (dwarf_getlocation*, dwarf_getsrclines,
  dwarf_ranges, dwarf_form*, etc.) now returning the data from the new
  sections and data formats.  But some new functions have been added
  to more easily get information about skeleton and split compile units
  (dwarf_get_units and dwarf_cu_info), handle new attribute data
  (dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies
  that might come from different sections or files (dwarf_die_addr_die).
  Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary)
  files, the .debug_names index, the .debug_cu_index and .debug_tu_index
  sections. Only a single .debug_info (and .debug_types) section are
  currently handled.
  readelf: Handle all new DWARF5 sections.
           --debug-dump=info+ will show split unit DIEs when found.
           --dwarf-skeleton can be used when inspecting a .dwo file.
     Recognizes GNU locviews with --debug-dump=loc.
  libdw: New functions dwarf_die_addr_die, dwarf_get_units,
         dwarf_getabbrevattr_data and dwarf_cu_info.
         libdw will now try to resolve the alt file on first use of
         an alt attribute FORM when not set yet with dwarf_set_alt.
         dwarf_aggregate_size() now works with multi-dimensional arrays.
  libdwfl: Use process_vm_readv when available instead of ptrace.
  backends: Add a RISC-V backend.
  There were various improvements to build on Windows.
  The sha1 and md5 implementations have been removed, they weren't used.
- Remove patches: elfutils-0.170-Wpackednotaligned.patch,
  elfutils-0.170-stripnothing.patch, gcc8-disable-test.patch 
- make package with V=1 to print verbose command line (forwarded request 613899 from marxin)

OBS-URL: https://build.opensuse.org/request/show/614220
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=65
2018-06-08 21:08:47 +00:00
4e38291c6d Accepting request 591142 from Base:System
OBS-URL: https://build.opensuse.org/request/show/591142
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=64
2018-03-29 09:50:00 +00:00
e55517be05 Accepting request 585779 from Base:System
- Update to version 0.170
  libdw: Added new DWARF5 attribute, tag, character encoding, language code,
         calling convention, defaulted member function and macro constants
         to dwarf.h.
	 New functions dwarf_default_lower_bound and dwarf_line_file.
	 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
	 dwarf_getmacros now handles DWARF5 .debug_macro sections.
  strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
  backends: The bpf disassembler is now always build on all platforms.
- Includes changes in 0.169
  backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
            Frame pointer unwinding fallback support for i386, x86_64, aarch64.
  translations: Update Polish translation.
- Remove obsolete 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch 
  and ppc-machine-flags.patch
- Add elfutils-0.170-stripnothing.patch to robustify test and avoid a FAIL.
- Add elfutils-0.170-Wpackednotaligned.patch to fix build with GCC 8.
  (boo#1084637) (forwarded request 584787 from rguenther)

OBS-URL: https://build.opensuse.org/request/show/585779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=63
2018-03-19 22:30:02 +00:00
a90ee8ae04 Accepting request 580189 from Base:System
Use %license (boo#1082318). Please forward to SLE, if possible (forwarded request 580083 from favogt)

OBS-URL: https://build.opensuse.org/request/show/580189
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=62
2018-02-28 18:56:07 +00:00
a61ce39806 Accepting request 520996 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/520996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=61
2017-09-14 19:09:05 +00:00
14fe292f8c Accepting request 504583 from Base:System
- ppc-machine-flags.patch: support EM_PPC machine flags
- disable-tests-with-ptrace.patch: disable more tests (forwarded request 504468 from AndreasSchwab)

OBS-URL: https://build.opensuse.org/request/show/504583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=60
2017-06-23 07:14:27 +00:00
7be30c47dd Accepting request 501368 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/501368
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=59
2017-06-12 13:10:48 +00:00
a0315395a6 Accepting request 491760 from Base:System
- Add 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch
  unconditionally in the spec file. As we can't support binary diff,
  a newly added test-case is removed from the patch.

- Add 0001-backends-Add-support-for-EM_PPC64-GNU_ATTRIBUTES.patch:
  fix .gnu.attributes checking on ppc64{,le}.

OBS-URL: https://build.opensuse.org/request/show/491760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=58
2017-05-27 11:05:43 +00:00
d99e6a8924 Accepting request 487068 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/487068
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=57
2017-04-25 06:55:05 +00:00
6356ed5fb1 Accepting request 483826 from Base:System
- Update to version 0.168:
  libelf: gelf_newehdr and gelf_newehdr now return void *.
  libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
  readelf: Add optional --symbols[=SECTION] argument to select section name.
- Includes changes from 0001-Add-GCC7-Wimplicit-fallthrough-support-fixes.patch
  and 0001-ar-Fix-GCC7-Wformat-length-issues.patch.
- Remove elfutils-0.137-dwarf-header-check-fix.diff which is no longer
  required after a debugedit fix. (forwarded request 483764 from rguenther)

OBS-URL: https://build.opensuse.org/request/show/483826
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=56
2017-03-31 13:01:24 +00:00
Ludwig Nussel
d160e8ddc2 Accepting request 447176 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/447176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=55
2016-12-29 21:41:08 +00:00
844832631a Accepting request 423865 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/423865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=54
2016-09-01 12:01:13 +00:00
c5325523c7 Accepting request 407877 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/407877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=53
2016-07-16 20:10:42 +00:00
36c178ba1b Accepting request 390327 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/390327
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=52
2016-04-22 14:15:51 +00:00
aafdb9a27a Accepting request 362807 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/362807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=51
2016-03-05 12:04:41 +00:00
a98b747e3a Accepting request 345589 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/345589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=50
2015-11-26 16:00:46 +00:00
12fc15d5a3 Accepting request 330719 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/330719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=49
2015-10-02 07:22:30 +00:00
f4f2cce73a Accepting request 285889 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/285889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=48
2015-02-20 11:00:18 +00:00
96a303c1d1 Accepting request 280219 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/280219
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=47
2015-01-10 22:04:51 +00:00
20478ce15f Accepting request 262928 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/262928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=46
2014-12-01 13:00:22 +00:00
Stephan Kulow
3b587caa10 Accepting request 247248 from Base:System
1

OBS-URL: https://build.opensuse.org/request/show/247248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=45
2014-09-03 16:20:32 +00:00
Stephan Kulow
0c22e150da Accepting request 230415 from Base:System
OBS-URL: https://build.opensuse.org/request/show/230415
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=43
2014-04-22 05:42:52 +00:00
Stephan Kulow
e6584caaac Accepting request 227261 from Base:System
- SPARC build requires the large PIC model (or else build fails) (forwarded request 227237 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/227261
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=42
2014-03-25 12:20:40 +00:00
Stephan Kulow
939ec08cfa Accepting request 215570 from Base:System
(forwarded request 215569 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/215570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=41
2014-01-30 18:16:19 +00:00
Tomáš Chvátal
a42d9e7b8a Accepting request 206934 from Base:System
update to 0.157, see ChangeLog (forwarded request 206750 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/206934
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=40
2013-11-15 07:37:03 +00:00
Stephan Kulow
01331bc5b8 Accepting request 179624 from Base:System
- elfutils-sizeof-pointer-memaccess.patch: Fix sizeof-pointer-memaccess
  warnings (forwarded request 179593 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/179624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=38
2013-06-19 12:43:02 +00:00
Stephan Kulow
b82a78fdd8 Accepting request 161233 from Base:System
- Added url as source.
  Please see http://en.opensuse.org/SourceUrls (forwarded request 161175 from jones_tony)

OBS-URL: https://build.opensuse.org/request/show/161233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=37
2013-03-28 12:10:30 +00:00
Ismail Dönmez
fe723cb85b Accepting request 143660 from Base:System
- add elfutils-aarch64.patch to support aarch64
- update to 0.155
  libelf: elf*_xlatetomd now works for cross-endian ELF note data.
  	elf_getshdr now works consistently on non-mmaped ELF files after
  	calling elf_cntl(ELF_C_FDREAD).
  	Implement support for ar archives with 64-bit symbol table.
  	[g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
  
  libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
         Any existing sources using the old name will have to be updated.
         Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
         and DW_OP_GNU_parameter_ref to dwarf.h.
         Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
         and DW_FORM_GNU_strp_alt.  Disabled by default.  Use configure
         --enable-dwz to test it.
         dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
         Fix bug using dwarf_next_unit to iterate over .debug_types.
  
  elflint: Now accepts gold linker produced executables.
  
  readelf: Add .debug_macro parsing support.
  	 Add .gdb_index version 7 parsing support.
  	 Recognize DW_OP_GNU_parameter_ref.
  
  backends: Add support for Tilera TILE-Gx processor.
  
  translations: Updated Ukrainian translation.
  
  The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
  programs. There is now also a formal CONTRIBUTING document describing how to

OBS-URL: https://build.opensuse.org/request/show/143660
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=35
2012-12-05 12:49:36 +00:00
Stephan Kulow
0b55f382e8 Accepting request 138179 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/138179
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=34
2012-10-16 05:00:01 +00:00
Stephan Kulow
5c54605ffe Accepting request 135158 from Base:System
- license update: SUSE-GPL-2.0-with-OSI-exception
  Use a license available on the spreadsheet linked at
  license.opensuse.org

OBS-URL: https://build.opensuse.org/request/show/135158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=33
2012-09-21 12:38:51 +00:00
Stephan Kulow
21dd0c5b3a Accepting request 133896 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/133896
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=32
2012-09-17 11:54:08 +00:00
Stephan Kulow
ab2c112afc Accepting request 109583 from Base:System
Fix build with gcc 4.7;update to 0.153 (forwarded request 109477 from a_jaeger)

OBS-URL: https://build.opensuse.org/request/show/109583
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=30
2012-03-23 11:05:01 +00:00
Stephan Kulow
476a4d25ae Accepting request 97072 from Base:System
OBS-URL: https://build.opensuse.org/request/show/97072
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=29
2012-01-06 10:43:34 +00:00
Sascha Peilicke
cc7e26840a Accepting request 84277 from Base:System
- Remove redundant/obsolete tags/sections from specfile
  (cf. packaging guidelines)
- Add elfutils-devel to baselibs
  (local compilation of a 3rd-party program in 32-bit mode) (forwarded request 83414 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/84277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=27
2011-09-22 08:42:40 +00:00
Sascha Peilicke
a9a1f65948 Autobuild autoformatter for 73779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=26
2011-06-16 07:02:27 +00:00
Sascha Peilicke
971e2a5612 Accepting request 73779 from Base:System
OBS-URL: https://build.opensuse.org/request/show/73779
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=25
2011-06-16 07:02:12 +00:00
Sascha Peilicke
1f1fef9cce Autobuild autoformatter for 68727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=24
2011-05-02 09:57:50 +00:00
Sascha Peilicke
a0251ec204 Accepting request 68727 from Base:System
Update to version 0.152

OBS-URL: https://build.opensuse.org/request/show/68727
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=23
2011-05-02 09:57:39 +00:00
OBS User autobuild
686469ffcc Accepting request 50025 from Base:System
Copy from Base:System/elfutils based on submit request 50025 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/50025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=21
2010-10-07 19:59:49 +00:00
OBS User autobuild
091e5af5c7 Accepting request 48133 from Base:System
Copy from Base:System/elfutils based on submit request 48133 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48133
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=20
2010-09-17 18:47:03 +00:00
OBS User autobuild
d6e6af8d74 Accepting request 47102 from Base:System
Copy from Base:System/elfutils based on submit request 47102 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/47102
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=19
2010-09-09 12:43:00 +00:00
OBS User autobuild
dfa5c482b1 Accepting request 43689 from Base:System
Copy from Base:System/elfutils based on submit request 43689 from user coolo

OBS-URL: https://build.opensuse.org/request/show/43689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=18
2010-07-23 14:54:33 +00:00
OBS User autobuild
258429868b Accepting request 40226 from Base:System
Copy from Base:System/elfutils based on submit request 40226 from user jones_tony

OBS-URL: https://build.opensuse.org/request/show/40226
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=15
2010-05-25 08:29:40 +00:00
OBS User autobuild
443a457665 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=14 2010-03-18 14:44:05 +00:00
OBS User autobuild
ac6505a4f4 Accepting request 32024 from Base:System
Copy from Base:System/elfutils based on submit request 32024 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/32024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=13
2010-02-11 18:08:41 +00:00
OBS User autobuild
45c56f6cf7 Accepting request 26689 from Base:System
Copy from Base:System/elfutils based on submit request 26689 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/26689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=12
2009-12-16 07:55:05 +00:00
OBS User autobuild
c563cd8269 Accepting request 18356 from Base:System
Copy from Base:System/elfutils based on submit request 18356 from user rguenther

OBS-URL: https://build.opensuse.org/request/show/18356
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/elfutils?expand=0&rev=10
2009-08-21 14:18:46 +00:00
9 changed files with 156 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df76db71366d1d708365fc7a6c60ca48398f14367eb2b8954efc8897147ad871
size 9310088

Binary file not shown.

BIN
elfutils-0.192.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
elfutils-0.192.tar.bz2.sig Normal file

Binary file not shown.

View File

@@ -1,3 +1,57 @@
-------------------------------------------------------------------
Mon Dec 2 13:14:04 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Add pkgconfig(json-c) to reenable debuginfod support
- Add fish to enable profile support for fish
- Remove files packaged by libelf-devel
-------------------------------------------------------------------
Sun Dec 1 17:36:52 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 0.192
CONDUCT: A new code of conduct has been adopted. See the
CONDUCT file for more information.
debuginfod: Add per-file signature verification for integrity
checking, using RPM IMA scheme from Fedora/RHEL.
New API for metadata queries: file name -> buildid.
Server-side extraction of files from kernel debuginfo
packages is significantly faster. Now takes < 0.25 seconds,
down from ~50 seconds.
libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source
and dwfl_unwound_source_str.
stacktrace: Experimental new tool that can process a stream of stack
samples from the Sysprof profiler and unwind them into call
chains. Enable on x86 with --enable-stacktrace. See
README.eu-stacktrace in the development branch for detailed
usage instructions:
https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace
-------------------------------------------------------------------
Tue May 21 15:45:51 UTC 2024 - Michael Matz <matz@suse.com>
- Add "-g" to %optflags, so that the tests work in all repos,
with or without globally enabled debuginfo creation.
-------------------------------------------------------------------
Sun Mar 17 17:39:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.191:
* libdw: dwarf_addrdie now supports binaries lacking a
.debug_aranges section.
* Improved support for DWARF package files. Add new
function dwarf_cu_dwp_section_info.
* debuginfod: Caching eviction logic improvements to improve
retention of small/frequent/slow files such as Fedora's
vdso.debug.
* srcfiles: Can now fetch the source files of a DWARF/ELF file
and place them into a zip.
- drop fix_gcc14_errors.patch (upstream)
-------------------------------------------------------------------
Tue Mar 5 08:51:07 UTC 2024 - Michal Jireš <michal.jires@suse.com>
- Add fix_gcc14_errors.patch (bsc#1220464)
-------------------------------------------------------------------
Tue Jan 9 08:47:09 UTC 2024 - Richard Biener <rguenther@suse.com>

View File

@@ -17,7 +17,7 @@
Name: elfutils-debuginfod
Version: 0.191
Version: 0.192
Release: 0
Summary: Debuginfod server provided by elfutils
License: GPL-3.0-or-later
@@ -48,6 +48,8 @@ BuildRequires: zlib-devel
BuildRequires: zstd
# For debuginfod
BuildRequires: pkgconfig(json-c) >= 0.11
BuildRequires: fish
BuildRequires: pkgconfig(libarchive) >= 3.1.2
BuildRequires: pkgconfig(libcurl) >= 7.29.0
BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.33
@@ -130,8 +132,11 @@ URL for a distribution.
%build
%sysusers_generate_pre %{SOURCE4} %{name} %{name}.conf
# tests need debug info enabled (boo#1031556) but some repos don't
# do that by default. Some others do (when debuginfo is globally enabled)
# so just enable this always, for all compilations
%global optflags %{optflags} -g
export CFLAGS="%optflags -Werror=date-time"
CFLAGS+=" -g" # tests need debug info enabled (boo#1031556)
%ifarch %sparc
# Small PIC model not sufficient
CFLAGS+=" -fPIC"
@@ -140,6 +145,7 @@ autoreconf -fi
# some patches create new test scripts, which are created 644 by default
chmod a+x tests/run*.sh
%configure \
--enable-libdebuginfod --enable-debuginfod \
%if %{suse_version} > 1500
--enable-debuginfod-urls=https://debuginfod.opensuse.org/ \
%endif
@@ -164,7 +170,8 @@ rm -f %{buildroot}/%{_includedir}/gelf.h
rm -f %{buildroot}/%{_includedir}/nlist.h
rm -f %{buildroot}/%{_includedir}/dwarf.h
rm -f %{buildroot}/%{_libdir}/libdw*
rm -f %{buildroot}/%{_mandir}/man3/elf_*.3*
rm -f %{buildroot}/%{_mandir}/man3/elf*_*.3*
rm -f %{buildroot}/%{_mandir}/man3/libelf.3*
rm -f %{buildroot}/%{_mandir}/man1/eu-*.1*
rm -rf %{buildroot}%{_datadir}/locale/
rm -f %{buildroot}/%{_libdir}/pkgconfig/libdw.pc
@@ -185,7 +192,7 @@ touch %{buildroot}%{_localstatedir}/cache/debuginfod/debuginfod.sqlite
%check
%if 0%{?qemu_user_space_build}
# qemu-linux-user does not support ptrace and a few other process details
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh"
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh"
%endif
%make_build check
@@ -221,6 +228,7 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%files -n debuginfod-profile
%config %{_sysconfdir}/profile.d/debuginfod.sh
%config %{_sysconfdir}/profile.d/debuginfod.csh
%{_datadir}/fish/vendor_conf.d/debuginfod.fish
%dir %{_sysconfdir}/debuginfod
%if %{suse_version} > 1500
%config %{_sysconfdir}/debuginfod/elfutils.urls

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Thu Dec 12 18:37:00 UTC 2024 - Antonio Teixeira <antonio.teixeira@suse.com>
- Add fix-static-linking.patch (bsc#1234445)
-------------------------------------------------------------------
Mon Dec 2 13:13:00 UTC 2024 - Andreas Schwab <schwab@suse.de>
- Remove files packaged by elfutils-debuginfod
-------------------------------------------------------------------
Sun Dec 1 17:36:52 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 0.192
CONDUCT: A new code of conduct has been adopted. See the
CONDUCT file for more information.
debuginfod: Add per-file signature verification for integrity
checking, using RPM IMA scheme from Fedora/RHEL.
New API for metadata queries: file name -> buildid.
Server-side extraction of files from kernel debuginfo
packages is significantly faster. Now takes < 0.25 seconds,
down from ~50 seconds.
libdw: New functions dwfl_set_sysroot, dwfl_frame_unwound_source
and dwfl_unwound_source_str.
stacktrace: Experimental new tool that can process a stream of stack
samples from the Sysprof profiler and unwind them into call
chains. Enable on x86 with --enable-stacktrace. See
README.eu-stacktrace in the development branch for detailed
usage instructions:
https://sourceware.org/cgit/elfutils/tree/README.eu-stacktrace?h=users/serhei/eu-stacktrace
-------------------------------------------------------------------
Tue May 21 15:45:51 UTC 2024 - Michael Matz <matz@suse.com>
- Add "-g" to %optflags, so that the tests work in all repos,
with or without globally enabled debuginfo creation.
-------------------------------------------------------------------
Sun Mar 17 17:39:35 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -17,7 +17,7 @@
Name: elfutils
Version: 0.191
Version: 0.192
Release: 0
Summary: Higher-level library to access ELF files
License: GPL-3.0-or-later
@@ -31,6 +31,7 @@ Source4: https://sourceware.org/elfutils/ftp/%{version}/%{name}-%{version
Source5: %{name}.keyring
Source6: elfutils-rpmlintrc
Patch1: harden_debuginfod.service.patch
Patch2: fix-static-linking.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@@ -152,8 +153,11 @@ The package is dummy.
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
# tests need debug info enabled (boo#1031556) but some repos don't
# do that by default. Some others do (when debuginfo is globally enabled)
# so just enable this always, for all compilations
%global optflags %{optflags} -g
export CFLAGS="%optflags -Werror=date-time"
CFLAGS+=" -g" # tests need debug info enabled (boo#1031556)
%ifarch %sparc
# Small PIC model not sufficient
CFLAGS+=" -fPIC"
@@ -169,7 +173,10 @@ chmod a+x tests/run*.sh
# remove unneeded files
rm -f %{buildroot}/%{_libdir}/*.la
rm -f %{buildroot}/%{_sysconfdir}/profile.d/debuginfod.*sh
rm -f %{buildroot}%{_datadir}/fish/vendor_conf.d/debuginfod.fish
rm -f %{buildroot}/%{_libdir}/pkgconfig/libdebuginfod.pc
rm -f %{buildroot}%{_mandir}/man8/debuginfod*.8*
rm -rf %{buildroot}/%{_datadir}/fish
ls -lR %{buildroot}/%{_libdir}/libelf*
%find_lang %{name}
@@ -185,7 +192,7 @@ ls -lR %{buildroot}/%{_libdir}/libelf*
%check
%if 0%{?qemu_user_space_build}
# qemu-linux-user does not support ptrace and a few other process details
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh"
export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native.sh run-deleted.sh run-backtrace-native-core.sh"
%endif
%make_build check
@@ -237,6 +244,9 @@ export XFAIL_TESTS="dwfl-proc-attach run-backtrace-dwarf.sh run-backtrace-native
%{_includedir}/elfutils/version.h
%{_libdir}/pkgconfig/libelf.pc
%{_mandir}/man3/elf_*.3*
%{_mandir}/man3/elf32_*.3*
%{_mandir}/man3/elf64_*.3*
%{_mandir}/man3/libelf.3.gz
%files -n libdw1
%{_libdir}/libdw.so.*

37
fix-static-linking.patch Normal file
View File

@@ -0,0 +1,37 @@
From f5d6e088f84dd05278c4698a21cbf1ff4569978d Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mark@klomp.org>
Date: Tue, 22 Oct 2024 15:03:42 +0200
References: bsc#1234445
Subject: [PATCH 1/1] libelf: Add libeu objects to libelf.a static archive
libelf might use some symbols from libeu.a, specifically the eu-search
wrappers. But we don't ship libeu.a separately. So include the libeu
objects in the libelf.a archive to facilitate static linking.
* libelf/Makefile.am (libeu_objects): New variable.
(libelf_a_LIBADD): New, add libeu_objects.
https://sourceware.org/bugzilla/show_bug.cgi?id=32293
Signed-off-by: Mark Wielaard <mark@klomp.org>
---
libelf/Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/libelf/Makefile.am b/libelf/Makefile.am
index 3402863ef..2d3dbdf22 100644
--- a/libelf/Makefile.am
+++ b/libelf/Makefile.am
@@ -122,6 +122,9 @@ libelf.so: $(srcdir)/libelf.map $(libelf_so_LIBS) $(libelf_so_DEPS)
@$(textrel_check)
$(AM_V_at)ln -fs $@ $@.$(VERSION)
+libeu_objects = $(shell $(AR) t ../lib/libeu.a)
+libelf_a_LIBADD = $(addprefix ../lib/,$(libeu_objects))
+
install: install-am libelf.so
$(mkinstalldirs) $(DESTDIR)$(libdir)
$(INSTALL_PROGRAM) libelf.so $(DESTDIR)$(libdir)/libelf-$(PACKAGE_VERSION).so
--
2.43.5