public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug libelf/31034] New: iproute2 fails to build with elfutils 0.190 with musl libc
@ 2023-11-06 11:43 ncopa at alpinelinux dot org
  2023-11-06 11:50 ` [Bug libelf/31034] " ncopa at alpinelinux dot org
  2023-12-21  0:55 ` mark at klomp dot org
  0 siblings, 2 replies; 3+ messages in thread
From: ncopa at alpinelinux dot org @ 2023-11-06 11:43 UTC (permalink / raw)
  To: elfutils-devel

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libelf/31034] iproute2 fails to build with elfutils 0.190 with musl libc
  2023-11-06 11:43 [Bug libelf/31034] New: iproute2 fails to build with elfutils 0.190 with musl libc ncopa at alpinelinux dot org
@ 2023-11-06 11:50 ` ncopa at alpinelinux dot org
  2023-12-21  0:55 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: ncopa at alpinelinux dot org @ 2023-11-06 11:50 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31034

--- Comment #1 from ncopa at alpinelinux dot org ---
Patch sent to musl: https://www.openwall.com/lists/musl/2023/11/06/3

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug libelf/31034] iproute2 fails to build with elfutils 0.190 with musl libc
  2023-11-06 11:43 [Bug libelf/31034] New: iproute2 fails to build with elfutils 0.190 with musl libc ncopa at alpinelinux dot org
  2023-11-06 11:50 ` [Bug libelf/31034] " ncopa at alpinelinux dot org
@ 2023-12-21  0:55 ` mark at klomp dot org
  1 sibling, 0 replies; 3+ messages in thread
From: mark at klomp dot org @ 2023-12-21  0:55 UTC (permalink / raw)
  To: elfutils-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=31034

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |mark at klomp dot org
         Resolution|---                         |MOVED

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
This was fixed in musl with:

commit 6be76895f6863100a311d474a42abdbb6466189d
Author: Violet Purcell <vimproved@inventati.org>
Date:   Sat Nov 4 12:09:20 2023 -0400

    elf.h: add typedefs for Elf64_Relr and Elf32_Relr

    These were overlooked when DT_RELR was added in commit
    d32dadd60efb9d3b255351a3b532f8e4c3dd0db1, potentially breaking
    software that treats presence of the DT_RELR macro as implying they
    exist.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-21  0:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 11:43 [Bug libelf/31034] New: iproute2 fails to build with elfutils 0.190 with musl libc ncopa at alpinelinux dot org
2023-11-06 11:50 ` [Bug libelf/31034] " ncopa at alpinelinux dot org
2023-12-21  0:55 ` mark at klomp dot org

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).