I commented out
# AC_CACHE_CHECK([for __thread support], ac_cv_tls, [dnl
# # Use the same flags that we use for our DSOs, so the test is representative.
# # Some old compiler/linker/libc combinations fail some ways and not others.
# save_CFLAGS="$CFLAGS"
# save_LDFLAGS="$LDFLAGS"
# CFLAGS="-fpic $CFLAGS"
# LDFLAGS="-shared -Wl,-z,defs,-z,relro $LDFLAGS"
# AC_LINK_IFELSE([dnl
# AC_LANG_PROGRAM([[#undef __thread
# static __thread int a; int foo (int b) { return a + b; }]],
# [[exit (foo (0));]])],
# ac_cv_tls=yes, ac_cv_tls=no)
# CFLAGS="$save_CFLAGS"
# LDFLAGS="$save_LDFLAGS"])
# AS_IF([test "x$ac_cv_tls" != xyes],
# AC_MSG_ERROR([__thread support required]))
#
Then re-generate the configure with
autoconf
Finally, workaround this problem
Answer from firo on Stack OverflowGitHub
github.com › roolebo › elfutils
GitHub - roolebo/elfutils: elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files on GNU/Linux. · GitHub
The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure ...
Starred by 46 users
Forked by 7 users
Languages C 76.1% | Shell 19.8% | M4 1.5% | Makefile 1.3% | Yacc 0.7% | C++ 0.4%
GNU
sourceware.org › elfutils
The elfutils project
Or use the form at https://sourceware.org/mailman/listinfo/elfutils-devel.
openSUSE Build Service
build.opensuse.org › package › show › Base:System › elfutils
Show Base:System / elfutils - openSUSE Build Service
elfutils is a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces for processes and core files.
Fedora Project
src.fedoraproject.org › rpms › elfutils › tree › c9a4af9abea8631e8d6de45774f3c11c61f0fc23
Tree - rpms/elfutils - src.fedoraproject.org
Rawhide), you'll have to install a nonstandard build either via RPM or by hand with "make" as detailed below. To build the elfutils source locally as part of the systemtap build, see systemtap's README about the --with-elfutils=... option to systemtap's configure.
Nan Xiao's Blog
nanxiao.me › home › technology › build elfutils-libelf from source code
Build elfutils-libelf from source code | Nan Xiao's Blog
October 10, 2015 - The steps are as follow: (1) Download elfutils from here; (2) Uncompress source package: tar xvf elfutils-0.163.tar.bz2 (3) Do the configuration: cd ./elfutils-0.163 elfutils-0.163 # ./configire (4) Compile and install libelf: elfutils-0.163 # cd libelf elfutils-0.163/libelf # make
GitHub
github.com › cuviper › elfutils
GitHub - cuviper/elfutils: mirror of elfutils
May 2, 2019 - The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure ...
Starred by 10 users
Forked by 6 users
Languages C 76.5% | Shell 19.4% | M4 1.5% | Makefile 1.3% | Yacc 0.7% | C++ 0.4% | C 76.5% | Shell 19.4% | M4 1.5% | Makefile 1.3% | Yacc 0.7% | C++ 0.4%
Fedora
copr.fedorainfracloud.org › coprs › fche › elfutils › builds
Builds for fche/elfutils
elfutils · Builds · Project ID: 25076 · Overview · Packages · Builds · Modules · Monitor · Possible build states importing - Package sources are being imported into Copr DistGit. pending - Build is waiting in queue for a backend worker. starting - Backend worker is trying to acquire ...
Easybuild
docs.easybuild.io › version-specific › supported-software › e › elfutils
elfutils - EasyBuild - building software with ease
The elfutils project provides libraries and tools for ELF files and DWARF data.
Red Hat
access.redhat.com › documentation › en-us › red_hat_developer_toolset › 11 › html › user_guide › chap-elfutils
Chapter 5. elfutils | User Guide | Red Hat Developer Toolset | 11 | Red Hat Documentation
In Red Hat Developer Toolset, elfutils is provided by the devtoolset-11-elfutils package and is automatically installed with devtoolset-11-toolchain as described in Section 1.5, “Installing Red Hat Developer Toolset”.
Arch Linux ARM
archlinuxarm.org › packages › aarch64 › elfutils
elfutils (aarch64) | Packages | Arch Linux ARM
Copyright ©2009-2022 Arch Linux ARM The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis. The Arch Linux™ name and logo are used under permission of the Arch Linux Project Lead
GNU
packages.guix.gnu.org › packages › elfutils
elfutils — Packages — GNU Guix
Website: https://sourceware.org/elfutils/ Licenses: LGPL 3+ Package source: gnu/packages/elf.scm · Builds: See build status · Issues: See known issues · Install the latest version of elfutils as follows: guix install elfutils · Or install a particular version: guix install elfutils@0.192 ·
sourcehut
sr.ht › ~sourceware › elfutils
elfutils: a collection of utilities and libraries to read, create and modify ELF binary files, find and handle DWARF debug data, symbols, thread state and stacktraces
The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure summary to make sure all recommended features ...
Arch Linux
archlinux.org › packages › core › x86_64 › elfutils
Arch Linux - elfutils 0.195-1 (x86_64)
View the file list for elfutils · View the soname list for elfutils · Copyright © 2002-2026 Judd Vinet, Aaron Griffin and Levente Polyák. The Arch Linux name and logo are recognized trademarks. Some rights reserved.
GitHub
github.com › sourceware-org › elfutils
GitHub - sourceware-org/elfutils
The project home is http://elfutils.org/ Releases are published at ftp://sourceware.org/pub/elfutils/ Which can also be found at https://sourceware.org/elfutils/ftp/ To build a release do: ./configure && make && make check Please check the configure ...
Author sourceware-org
GitHub
github.com › deepin-community › elfutils › blob › master › elfutils.spec
elfutils/elfutils.spec at master · deepin-community/elfutils
BuildRequires: socat · · %define _gnu %{nil} %define _programprefix eu- · %description · Elfutils is a collection of utilities, including stack (to show · backtraces), nm (for listing symbols from object files), size · (for listing the section sizes of an object or archive file), strip (for discarding symbols), readelf (to see the raw ELF file ·
Author deepin-community
Reddit
reddit.com › r/voidlinux › building from source: elfutils fails
r/voidlinux on Reddit: Building from source: elfutils fails
August 9, 2022 -
I've been trying to build elfutils from source so i can build out a pr to build an image for RockPro64 system.
It errors the same whether cross-building from x64, on aarch64 off armbian or on a RPI4 running void. Any help would be greatly appreciated.
https://pastebin.com/45TmaNAd
GitHub
github.com › buildroot › buildroot › blob › master › package › elfutils › elfutils.mk
buildroot/package/elfutils/elfutils.mk at master · buildroot/buildroot
# elfutils · # ################################################################################ · ELFUTILS_VERSION = 0.192 · ELFUTILS_SOURCE = elfutils-$(ELFUTILS_VERSION).tar.bz2 · ELFUTILS_SITE = https://sourceware.org/elfutils/ftp/$(ELFUTILS_VERSION) ELFUTILS_INSTALL_STAGING = YES ·
Author buildroot