From patchwork Sun Aug 21 20:01:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 5970 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4M9mbZ0vPNz3wfL for ; Sun, 21 Aug 2022 20:01:46 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4M9mbY2YmBz101; Sun, 21 Aug 2022 20:01:45 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4M9mbY1xvPz2yj3; Sun, 21 Aug 2022 20:01:45 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4M9mbX1j5zz2xR5 for ; Sun, 21 Aug 2022 20:01:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4M9mbW6WX8zd4; Sun, 21 Aug 2022 20:01:43 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1661112103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6S46wB23rDXKDPmcMlYMQhgZwZN7VmovHOGhUmT/08k=; b=pMZGJp7NjSih7DHqpS68A2+1v1IbkRf8IHJOxb5/bpbp2FERUMt/OpHvHjj59v1KdHM5L6 EP9/lonJDq/C0VBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1661112103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=6S46wB23rDXKDPmcMlYMQhgZwZN7VmovHOGhUmT/08k=; b=FlkGu/IwTD6b8nujGs/yt9okojIRad+iSq9nfrFflxRks6o0SHXX7I52s6M8x9WkN7mevw sGQkxj0oJD/ZmmkedpwTqHIcBkBrLZSoFSuC7lDS2i7SovFfFjPUNeBFg02DHSyBdzCNyj pyqdLE+pFx3UZo+Q2X25gPcVmS6bu0r9dWQoQGPsIdKca027pRdKYqjoKCkb0PVUbHsFTI Wi/uvWF81Cw9VMAjnxFszAT6iyU+He/BgHgRV25O3DJ2GpA2pecFeMOuHqbLJLxeJwqqGJ c21QDM+B8qsS7Etrf9YrLFDVX8Yb1di7DRzvHY7j0yzwftB8IyEHi8KsbIW6sw== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] elfutils: Update to version 0.187 Date: Sun, 21 Aug 2022 22:01:41 +0200 Message-Id: <20220821200141.913325-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - 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 Signed-off-by: Adolf Belka Reviewed-by: Peter Müller --- 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)