From: "kocelfc at tutanota dot com" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug libelf/30729] New: elf_scncnt: undefined version: ELFUTILS_1.0 during linking phase of libelf.so
Date: Sun, 06 Aug 2023 18:13:28 +0000 [thread overview]
Message-ID: <bug-30729-10460@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=30729
Bug ID: 30729
Summary: elf_scncnt: undefined version: ELFUTILS_1.0 during
linking phase of libelf.so
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libelf
Assignee: unassigned at sourceware dot org
Reporter: kocelfc at tutanota dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Steps to reproduce:
1. autoreconf -vfi
2. ./configure --enable-maintainer-mode --disable-debuginfod
3. export LDFLAGS="-Wl,--no-undefined-version"
4. make
gcc -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition
-Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond
-Wnull-dereference -Wimplicit-fallthrough=5 -Wuse-after-free=3 -Werror -Wunused
-Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=3 -g -O2
-Wl,--no-undefined-version -Wl,--build-id -o libelf.so -shared -Wl,-z,defs
-Wl,-z,relro -o libelf.so \
-Wl,--soname,libelf.so.1 \
-Wl,--version-script,libelf.map \
-Wl,--no-undefined \
-Wl,--whole-archive libelf_pic.a -Wl,--no-whole-archive \
../lib/libeu.a -lz -lzstd -llzma -lbz2
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:
elf_scncnt: undefined version: ELFUTILS_1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:
failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2023-08-06 18:13 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-06 18:13 kocelfc at tutanota dot com [this message]
2023-08-06 23:48 ` [Bug libelf/30729] " sam at gentoo dot org
2023-08-28 15:35 ` [Bug libelf/30729] Build failure with upcoming LLD 17 (elf_scncnt: undefined version: ELFUTILS_1.0 during linking phase of libelf.so) sam at gentoo dot org
2023-08-28 15:35 ` sam at gentoo dot org
2023-08-28 16:10 ` mark at klomp dot org
2023-08-28 16:26 ` kocelfc at tutanota dot com
2023-08-28 18:35 ` mark at klomp dot org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-30729-10460@http.sourceware.org/bugzilla/ \
--to=sourceware-bugzilla@sourceware.org \
--cc=elfutils-devel@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).