From: "ncopa at alpinelinux dot org" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug libelf/31034] New: iproute2 fails to build with elfutils 0.190 with musl libc
Date: Mon, 06 Nov 2023 11:43:13 +0000 [thread overview]
Message-ID: <bug-31034-10460@http.sourceware.org/bugzilla/> (raw)
https://sourceware.org/bugzilla/show_bug.cgi?id=31034
Bug ID: 31034
Summary: iproute2 fails to build with elfutils 0.190 with musl
libc
Product: elfutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libelf
Assignee: unassigned at sourceware dot org
Reporter: ncopa at alpinelinux dot org
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
After elfutils was updated to 0.190, iproute2 fails to build with this error:
In file included from bpf_legacy.c:24:
/usr/include/gelf.h:86:9: error: unknown type name 'Elf64_Relr'
86 | typedef Elf64_Relr GElf_Relr;
| ^~~~~~~~~~
This appears to introduced with
https://sourceware.org/git/?p=elfutils.git;a=commit;h=39f2c500542f69c2f1a13fd0ae4eaa5778d2ed8d
which assumes that Elf64_Relr is typedef'ed if SHT_RELR is defined. This is not
(yet) the case in musl libc.
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2023-11-06 11:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 11:43 ncopa at alpinelinux dot org [this message]
2023-11-06 11:50 ` [Bug libelf/31034] " ncopa at alpinelinux dot org
2023-12-21 0:55 ` 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-31034-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).