Files
bpfire/lfs/elfutils
Adolf Belka c46d6ee4ab elfutils: Update to version 0.187
- 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>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-09-12 09:41:11 +00:00

92 lines
3.4 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = Higher-level library to access ELF files
VER = 0.187
THISAPP = elfutils-$(VER)
DL_FILE = $(THISAPP).tar.bz2
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = elfutils
PAK_VER = 8
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 00ba3efa689d137808f5f53ecda93fd006be0c18d690ce76616ed1dba442281098579fa4b9a9e91b8ba865a3de15968f0ae06703a7b50b15c48a4beb5c970a46
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && ./configure \
--prefix=/usr \
--disable-debuginfod \
--disable-libdebuginfod
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install
@rm -rf $(DIR_APP)
@$(POSTBUILD)