elfutils: Update to version 0.187

Message ID 20220821200141.913325-1-adolf.belka@ipfire.org
State Accepted
Commit c46d6ee4aba5881f46ccb0af1d5a0c8ef452f74e
Headers
Series elfutils: Update to version 0.187 |

Commit Message

Adolf Belka Aug. 21, 2022, 8:01 p.m. UTC
  - Update from version 0.186 to 0.187
- Update of rootfile
- Changelog
   0.187
     * NEWS *
	debuginfod: Support -C option for connection thread pooling.
	debuginfod-client: Negative cache file are now zero sized instead of
	                   no-permission files.
	addr2line: The -A, --absolute option, which shows file names including
	           the full compilation directory is now the default.  To get the
	           old behavior use the new option --relative.
	readelf, elflint: Recognize FDO Packaging Metadata ELF notes
	libdw, debuginfo-client: Load libcurl lazily only when files need to
	                         be fetched remotely. libcurl is now never
	                         loaded when DEBUGINFOD_URLS is unset. And when
	                         DEBUGINFOD_URLS is set, libcurl is only loaded
	                         when the debuginfod_begin function is called.
     * GIT SHORTLOG *
	  debuginfod: Include "IPv4 IPv6" in server startup message
	  PR29022: 000-permissions files cause problems for backups
	  debuginfod: Use the debuginfod-size response header
	  debuginfod: ensure X-DEBUGINFOD-SIZE contains file size
	  config: simplify profile.*sh.in
	  debuginfod/debuginfod-client.c: use long for cache time configurations
	  readelf: Don't consider padding DT_NULL as dynamic section entry
	  debuginfod: correct concurrency bug in fdcache metrics
	  PR28661: debuginfo connection thread pool support
	  man debuginfod-client-config.7: Elaborate $DEBUGINFOD_URLS
	  PR28708: debuginfod: use MHD_USE_EPOLL for microhttpd threads
	  debuginfod: use single ipv4+ipv6 microhttpd daemon configuration
	  AUTHORS: Use generator script & git mailmap
	  libebl: recognize FDO Packaging Metadata ELF note
	  tests: Don't set DEBUGINFOD_TIMEOUT
	  tests: Add -rdynamic to dwfl_proc_attach_LDFLAGS
	  debuginfod: Use gmtime_r instead of gmtime to avoid data race
	  debuginfod: sqlite3_sharedprefix_fn should not compare past end of string
	  debuginfod: Fix some memory leaks on debuginfod-client error paths.
	  debuginfod: Clear and reset debuginfod_client winning_headers on reuse
	  libdwfl: Don't read beyond end of file in dwfl_segment_report_module
	  debuginfod: Check result of calling MHD_add_response_header.
	  readelf: Workaround stringop-truncation error
	  tests: varlocs workaround format-overflow errors
	  debuginfod: Fix debuginfod_pool leak
	  configure: Add --enable-sanitize-address
	  debuginfod: Don't format clog using 'right' or 'setw(20)'.
	  libdwfl: Don't try to convert too many bytes in dwfl_link_map_report
	  libdwfl: Make sure we know the phdr entry size before searching phdrs.
	  libdwfl: Don't trust e_shentsize in dwfl_segment_report_module
	  libdwfl: Don't install an Elf handle in a Dwfl_Module twice
	  libdwfl: Don't try to convert too many dyns in dwfl_link_map_report
	  libdwfl: Don't allocate more than SIZE_MAX in dwfl_segment_report_module.
	  libelf: Use offsetof to get field of unaligned
	  libdwfl: Make sure phent is sane and there is at least one phdr
	  libdwfl: Add overflow check while iterating in dwfl_segment_report_module
	  tests: Use /bin/sh instead of /bin/ls as always there binary
	  libdwfl: Make sure there is at least one dynamic entry
	  libdwfl: Make sure there is at least one phdr
	  libdwfl: Make sure note data is properly aligned.
	  libdwfl: Make dwfl_segment_report_module aware of maximum Elf size
	  libdwfl: Make sure the note len increases each iteration
	  libelf: Only set shdr state when there is at least one shdr
	  libdwfl: Make sure that ph_buffer_size has room for at least one phdr
	  libdwfl: Make sure dyn_filesz has a sane size
	  libdwfl: Rewrite GElf_Nhdr reading in dwfl_segment_report_module
	  libdwfl: Handle unaligned Ehdr in dwfl_segment_report_module
	  libdwfl: Handle unaligned Phdr in dwfl_segment_report_module
	  libdwfl: Handle unaligned Nhdr in dwfl_segment_report_module
	  libdwfl: Always clean up build_id.memory
	  libdwfl: Make sure dwfl_elf_phdr_memory_callback returns at least minread
	  libdwfl: Call xlatetom on aligned buffers in dwfl_link_map_report
	  libdwfl: Calculate addr to read by hand in link_map.c read_addrs.
	  libdwfl: Fix overflow check in link_map.c read_addrs
	  libdwfl: Handle unaligned Dyns in dwfl_segment_report_module
	  libdwfl: Declare possible zero sized arrays only when non-zero
	  backends: Use PTRACE_GETREGSET for ppc_set_initial_registers_tid
	  configure: Test for _FORTIFY_SOURCE=3 support.
	  addr2line: Make --absolute the default, add --relative option.
	  configure: Use AS_HELP_STRING instead of AC_HELP_STRING.
	  libelf: Take map offset into account for Shdr alignment check in elf_begin
	  libelf: Make sure ar_size starts with a digit before calling atol.
	  libelf: Check alignment of Verdef, Verdaux, Verneed and Vernaux offsets
	  libdwfl: Close ar members when they cannot be processed.
	  libdwfl: Use memcpy to assign image header field values
	  libelf: Don't overflow offsets in elf_cvt_Verneed and elf_cvt_Verdef
	  libelf: Correct alignment of ELF_T_GNUHASH data for ELFCLASS64
	  tests: Check addsections test binary is 64bit for run-large-elf-file.sh
	  configure: Don't check whether -m64 works for 32bit host biarch check
	  libelf: Sync elf.h from glibc.
	  elflint: Recognize NT_FDO_PACKAGING_METADATA
	  Introduce error_exit as a noreturn variant of error (EXIT_FAILURE, ...)
	  libelf: Also copy/convert partial datastructures in xlate functions
	  libelf: Return already gotten Elf_Data from elf_getdata_rawchunk
	  config: Add versioned requires on libs/libelf for debuginfod-client
	  libdw: Add DWARF5 package file section identifiers, DW_SECT_*
	  tests: Don't try to corrupt sqlite database during test.
	  libdw: Remove unused atomics.h include from libdwP.h
	  readelf: Define dyn_mem outside the while loop.
	  tests: Lower parallel lookups in run-debuginfod-webapi-concurrency.sh
	  debuginfod: Use MHD_USE_ITC in MHD_start_daemon flags
	  elfclassify: Fix --no-stdin flag
	  libelf: Check for mremap, elf_update needs it for ELF_C_RDWR_MMAP
	  debuginfod, libdwfl: Initialize libcurl and dlopen debuginfod-client lazily
	  dwfl: fix potential overflow when reporting on kernel modules
	  debuginfod: fix compilation on platforms without <error.h>

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/packages/elfutils | 7 +++----
 lfs/elfutils                       | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)
  

Comments

Peter Müller Sept. 12, 2022, 9:37 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> - Update from version 0.186 to 0.187
> - Update of rootfile
> - Changelog
>    0.187
>      * NEWS *
> 	debuginfod: Support -C option for connection thread pooling.
> 	debuginfod-client: Negative cache file are now zero sized instead of
> 	                   no-permission files.
> 	addr2line: The -A, --absolute option, which shows file names including
> 	           the full compilation directory is now the default.  To get the
> 	           old behavior use the new option --relative.
> 	readelf, elflint: Recognize FDO Packaging Metadata ELF notes
> 	libdw, debuginfo-client: Load libcurl lazily only when files need to
> 	                         be fetched remotely. libcurl is now never
> 	                         loaded when DEBUGINFOD_URLS is unset. And when
> 	                         DEBUGINFOD_URLS is set, libcurl is only loaded
> 	                         when the debuginfod_begin function is called.
>      * GIT SHORTLOG *
> 	  debuginfod: Include "IPv4 IPv6" in server startup message
> 	  PR29022: 000-permissions files cause problems for backups
> 	  debuginfod: Use the debuginfod-size response header
> 	  debuginfod: ensure X-DEBUGINFOD-SIZE contains file size
> 	  config: simplify profile.*sh.in
> 	  debuginfod/debuginfod-client.c: use long for cache time configurations
> 	  readelf: Don't consider padding DT_NULL as dynamic section entry
> 	  debuginfod: correct concurrency bug in fdcache metrics
> 	  PR28661: debuginfo connection thread pool support
> 	  man debuginfod-client-config.7: Elaborate $DEBUGINFOD_URLS
> 	  PR28708: debuginfod: use MHD_USE_EPOLL for microhttpd threads
> 	  debuginfod: use single ipv4+ipv6 microhttpd daemon configuration
> 	  AUTHORS: Use generator script & git mailmap
> 	  libebl: recognize FDO Packaging Metadata ELF note
> 	  tests: Don't set DEBUGINFOD_TIMEOUT
> 	  tests: Add -rdynamic to dwfl_proc_attach_LDFLAGS
> 	  debuginfod: Use gmtime_r instead of gmtime to avoid data race
> 	  debuginfod: sqlite3_sharedprefix_fn should not compare past end of string
> 	  debuginfod: Fix some memory leaks on debuginfod-client error paths.
> 	  debuginfod: Clear and reset debuginfod_client winning_headers on reuse
> 	  libdwfl: Don't read beyond end of file in dwfl_segment_report_module
> 	  debuginfod: Check result of calling MHD_add_response_header.
> 	  readelf: Workaround stringop-truncation error
> 	  tests: varlocs workaround format-overflow errors
> 	  debuginfod: Fix debuginfod_pool leak
> 	  configure: Add --enable-sanitize-address
> 	  debuginfod: Don't format clog using 'right' or 'setw(20)'.
> 	  libdwfl: Don't try to convert too many bytes in dwfl_link_map_report
> 	  libdwfl: Make sure we know the phdr entry size before searching phdrs.
> 	  libdwfl: Don't trust e_shentsize in dwfl_segment_report_module
> 	  libdwfl: Don't install an Elf handle in a Dwfl_Module twice
> 	  libdwfl: Don't try to convert too many dyns in dwfl_link_map_report
> 	  libdwfl: Don't allocate more than SIZE_MAX in dwfl_segment_report_module.
> 	  libelf: Use offsetof to get field of unaligned
> 	  libdwfl: Make sure phent is sane and there is at least one phdr
> 	  libdwfl: Add overflow check while iterating in dwfl_segment_report_module
> 	  tests: Use /bin/sh instead of /bin/ls as always there binary
> 	  libdwfl: Make sure there is at least one dynamic entry
> 	  libdwfl: Make sure there is at least one phdr
> 	  libdwfl: Make sure note data is properly aligned.
> 	  libdwfl: Make dwfl_segment_report_module aware of maximum Elf size
> 	  libdwfl: Make sure the note len increases each iteration
> 	  libelf: Only set shdr state when there is at least one shdr
> 	  libdwfl: Make sure that ph_buffer_size has room for at least one phdr
> 	  libdwfl: Make sure dyn_filesz has a sane size
> 	  libdwfl: Rewrite GElf_Nhdr reading in dwfl_segment_report_module
> 	  libdwfl: Handle unaligned Ehdr in dwfl_segment_report_module
> 	  libdwfl: Handle unaligned Phdr in dwfl_segment_report_module
> 	  libdwfl: Handle unaligned Nhdr in dwfl_segment_report_module
> 	  libdwfl: Always clean up build_id.memory
> 	  libdwfl: Make sure dwfl_elf_phdr_memory_callback returns at least minread
> 	  libdwfl: Call xlatetom on aligned buffers in dwfl_link_map_report
> 	  libdwfl: Calculate addr to read by hand in link_map.c read_addrs.
> 	  libdwfl: Fix overflow check in link_map.c read_addrs
> 	  libdwfl: Handle unaligned Dyns in dwfl_segment_report_module
> 	  libdwfl: Declare possible zero sized arrays only when non-zero
> 	  backends: Use PTRACE_GETREGSET for ppc_set_initial_registers_tid
> 	  configure: Test for _FORTIFY_SOURCE=3 support.
> 	  addr2line: Make --absolute the default, add --relative option.
> 	  configure: Use AS_HELP_STRING instead of AC_HELP_STRING.
> 	  libelf: Take map offset into account for Shdr alignment check in elf_begin
> 	  libelf: Make sure ar_size starts with a digit before calling atol.
> 	  libelf: Check alignment of Verdef, Verdaux, Verneed and Vernaux offsets
> 	  libdwfl: Close ar members when they cannot be processed.
> 	  libdwfl: Use memcpy to assign image header field values
> 	  libelf: Don't overflow offsets in elf_cvt_Verneed and elf_cvt_Verdef
> 	  libelf: Correct alignment of ELF_T_GNUHASH data for ELFCLASS64
> 	  tests: Check addsections test binary is 64bit for run-large-elf-file.sh
> 	  configure: Don't check whether -m64 works for 32bit host biarch check
> 	  libelf: Sync elf.h from glibc.
> 	  elflint: Recognize NT_FDO_PACKAGING_METADATA
> 	  Introduce error_exit as a noreturn variant of error (EXIT_FAILURE, ...)
> 	  libelf: Also copy/convert partial datastructures in xlate functions
> 	  libelf: Return already gotten Elf_Data from elf_getdata_rawchunk
> 	  config: Add versioned requires on libs/libelf for debuginfod-client
> 	  libdw: Add DWARF5 package file section identifiers, DW_SECT_*
> 	  tests: Don't try to corrupt sqlite database during test.
> 	  libdw: Remove unused atomics.h include from libdwP.h
> 	  readelf: Define dyn_mem outside the while loop.
> 	  tests: Lower parallel lookups in run-debuginfod-webapi-concurrency.sh
> 	  debuginfod: Use MHD_USE_ITC in MHD_start_daemon flags
> 	  elfclassify: Fix --no-stdin flag
> 	  libelf: Check for mremap, elf_update needs it for ELF_C_RDWR_MMAP
> 	  debuginfod, libdwfl: Initialize libcurl and dlopen debuginfod-client lazily
> 	  dwfl: fix potential overflow when reporting on kernel modules
> 	  debuginfod: fix compilation on platforms without <error.h>
> 
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>  config/rootfiles/packages/elfutils | 7 +++----
>  lfs/elfutils                       | 6 +++---
>  2 files changed, 6 insertions(+), 7 deletions(-)
> 
> diff --git a/config/rootfiles/packages/elfutils b/config/rootfiles/packages/elfutils
> index 51b169279..fe2c8f301 100644
> --- a/config/rootfiles/packages/elfutils
> +++ b/config/rootfiles/packages/elfutils
> @@ -27,15 +27,15 @@ usr/bin/eu-unstrip
>  #usr/include/gelf.h
>  #usr/include/libelf.h
>  #usr/include/nlist.h
> -usr/lib/libasm-0.186.so
> +usr/lib/libasm-0.187.so
>  #usr/lib/libasm.a
>  #usr/lib/libasm.so
>  usr/lib/libasm.so.1
> -usr/lib/libdw-0.186.so
> +usr/lib/libdw-0.187.so
>  #usr/lib/libdw.a
>  #usr/lib/libdw.so
>  usr/lib/libdw.so.1
> -usr/lib/libelf-0.186.so
> +usr/lib/libelf-0.187.so
>  #usr/lib/libelf.a
>  #usr/lib/libelf.so
>  usr/lib/libelf.so.1
> @@ -54,4 +54,3 @@ usr/lib/libelf.so.1
>  #usr/share/man/man3/elf_clone.3
>  #usr/share/man/man3/elf_getdata.3
>  #usr/share/man/man3/elf_update.3
> -
> diff --git a/lfs/elfutils b/lfs/elfutils
> index 83c299fb4..523980f17 100644
> --- a/lfs/elfutils
> +++ b/lfs/elfutils
> @@ -26,7 +26,7 @@ include Config
>  
>  SUMMARY    = Higher-level library to access ELF files
>  
> -VER        = 0.186
> +VER        = 0.187
>  
>  THISAPP    = elfutils-$(VER)
>  DL_FILE    = $(THISAPP).tar.bz2
> @@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = elfutils
> -PAK_VER    = 7
> +PAK_VER    = 8
>  
>  DEPS       =
>  
> @@ -48,7 +48,7 @@ objects = $(DL_FILE)
>  
>  $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
>  
> -$(DL_FILE)_BLAKE2 = 49573d0a1f3519eab81d1ba3e94354cbc0935a36a94a3fdb22fe223a47b78cca8fd6e322870b0e335a809529fa6f54180b13c67936dec0242123c54ba20c9fc9
> +$(DL_FILE)_BLAKE2 = 00ba3efa689d137808f5f53ecda93fd006be0c18d690ce76616ed1dba442281098579fa4b9a9e91b8ba865a3de15968f0ae06703a7b50b15c48a4beb5c970a46
>  
>  install : $(TARGET)
>
  

Patch

diff --git a/config/rootfiles/packages/elfutils b/config/rootfiles/packages/elfutils
index 51b169279..fe2c8f301 100644
--- a/config/rootfiles/packages/elfutils
+++ b/config/rootfiles/packages/elfutils
@@ -27,15 +27,15 @@  usr/bin/eu-unstrip
 #usr/include/gelf.h
 #usr/include/libelf.h
 #usr/include/nlist.h
-usr/lib/libasm-0.186.so
+usr/lib/libasm-0.187.so
 #usr/lib/libasm.a
 #usr/lib/libasm.so
 usr/lib/libasm.so.1
-usr/lib/libdw-0.186.so
+usr/lib/libdw-0.187.so
 #usr/lib/libdw.a
 #usr/lib/libdw.so
 usr/lib/libdw.so.1
-usr/lib/libelf-0.186.so
+usr/lib/libelf-0.187.so
 #usr/lib/libelf.a
 #usr/lib/libelf.so
 usr/lib/libelf.so.1
@@ -54,4 +54,3 @@  usr/lib/libelf.so.1
 #usr/share/man/man3/elf_clone.3
 #usr/share/man/man3/elf_getdata.3
 #usr/share/man/man3/elf_update.3
-
diff --git a/lfs/elfutils b/lfs/elfutils
index 83c299fb4..523980f17 100644
--- a/lfs/elfutils
+++ b/lfs/elfutils
@@ -26,7 +26,7 @@  include Config
 
 SUMMARY    = Higher-level library to access ELF files
 
-VER        = 0.186
+VER        = 0.187
 
 THISAPP    = elfutils-$(VER)
 DL_FILE    = $(THISAPP).tar.bz2
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = elfutils
-PAK_VER    = 7
+PAK_VER    = 8
 
 DEPS       =
 
@@ -48,7 +48,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 49573d0a1f3519eab81d1ba3e94354cbc0935a36a94a3fdb22fe223a47b78cca8fd6e322870b0e335a809529fa6f54180b13c67936dec0242123c54ba20c9fc9
+$(DL_FILE)_BLAKE2 = 00ba3efa689d137808f5f53ecda93fd006be0c18d690ce76616ed1dba442281098579fa4b9a9e91b8ba865a3de15968f0ae06703a7b50b15c48a4beb5c970a46
 
 install : $(TARGET)