public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug general/25511] New: unknown program header entry type 0x6474e553
@ 2020-02-05 19:14 amerey at redhat dot com
  2020-02-08 20:52 ` [Bug general/25511] " mark at klomp dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: amerey at redhat dot com @ 2020-02-05 19:14 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 25511
           Summary: unknown program header entry type 0x6474e553
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: amerey at redhat dot com
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

On ubuntu 19.10 x86_64 run-strip-strmerge.sh, run-elflint-self.sh and
run-reverse-sections-self.sh all with the same error: "program header entry 9:
unknown program header entry type 0x6474e553". 

This is caused by the inclusion of a new ELF program header PT_GNU_PROPERTY in
newer binutils. For more information see
https://bugzilla.redhat.com/show_bug.cgi?id=1748802

Steps to reproduce on ubuntu 19.10 x86_64: `./configure; make; make check
TESTS='run-strip-strmerge.sh run-elflint-self.sh run-reverse-sections-self.sh'`

tests/test-suite.log:
FAIL: run-strip-strmerge.sh
===========================

elflint /home/amerey/elfutils/tests/elfstrmerge
program header entry 9: unknown program header entry type 0x6474e553
FAIL run-strip-strmerge.sh (exit status: 1)

FAIL: run-elflint-self.sh
=========================

program header entry 9: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/src/addr2line
program header entry 9: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/src/elfclassify
program header entry 9: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/src/stack
program header entry 9: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/src/unstrip
program header entry 8: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/libelf/libelf.so
program header entry 8: unknown program header entry type 0x6474e553
*** failure in /home/amerey/elfutils/src/elflint --quiet --gnu-ld
/home/amerey/elfutils/libasm/libasm.so
FAIL run-elflint-self.sh (exit status: 1)

FAIL: run-reverse-sections-self.sh
==================================


copy_elf: /home/amerey/elfutils/src/addr2line -> addr2line.rev (read,reverse)
setshstrndx: 38
Swapping offsets of section 28 and 29
Swapping offsets of section 30 and 31
Swapping offsets of section 32 and 33
Swapping offsets of section 34 and 35
Swapping offsets of section 37 and 38
program header entry 9: unknown program header entry type 0x6474e553
FAIL run-reverse-sections-self.sh (exit status: 1)

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

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

* [Bug general/25511] unknown program header entry type 0x6474e553
  2020-02-05 19:14 [Bug general/25511] New: unknown program header entry type 0x6474e553 amerey at redhat dot com
@ 2020-02-08 20:52 ` mark at klomp dot org
  2020-02-18 12:39 ` mark at klomp dot org
  2020-02-18 12:49 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-02-08 20:52 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |mark at klomp dot org
           Assignee|unassigned at sourceware dot org   |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
Created attachment 12275
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12275&action=edit
readelf, elflint: Handle PT_GNU_PROPERTY

    binutils 2.32 ld emits a new PT_GNU_PROPERTY segment that overlaps
    with the PT_NOTE segment covering the .note.gnu.property section data.

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

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

* [Bug general/25511] unknown program header entry type 0x6474e553
  2020-02-05 19:14 [Bug general/25511] New: unknown program header entry type 0x6474e553 amerey at redhat dot com
  2020-02-08 20:52 ` [Bug general/25511] " mark at klomp dot org
@ 2020-02-18 12:39 ` mark at klomp dot org
  2020-02-18 12:49 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-02-18 12:39 UTC (permalink / raw)
  To: elfutils-devel

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

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
I requested some more background information on this:
https://sourceware.org/ml/gnu-gabi/2020-q1/msg00000.html

But since it is now emitted in production binaries lets handle it as is for
now.

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

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

* [Bug general/25511] unknown program header entry type 0x6474e553
  2020-02-05 19:14 [Bug general/25511] New: unknown program header entry type 0x6474e553 amerey at redhat dot com
  2020-02-08 20:52 ` [Bug general/25511] " mark at klomp dot org
  2020-02-18 12:39 ` mark at klomp dot org
@ 2020-02-18 12:49 ` mark at klomp dot org
  2 siblings, 0 replies; 4+ messages in thread
From: mark at klomp dot org @ 2020-02-18 12:49 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
commit c4600ae002c8a8738035ec5f80e818171811c9d4
Author: Mark Wielaard <mark@klomp.org>
Date:   Sat Feb 8 21:40:27 2020 +0100

    readelf, elflint: Handle PT_GNU_PROPERTY.

    binutils 2.32 ld emits a new PT_GNU_PROPERTY segment that overlaps
    with the PT_NOTE segment covering the .note.gnu.property section data.

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

    Signed-off-by: Mark Wielaard <mark@klomp.org>

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

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

end of thread, other threads:[~2020-02-18 12:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 19:14 [Bug general/25511] New: unknown program header entry type 0x6474e553 amerey at redhat dot com
2020-02-08 20:52 ` [Bug general/25511] " mark at klomp dot org
2020-02-18 12:39 ` mark at klomp dot org
2020-02-18 12:49 ` 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).