public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
* [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003
@ 2022-04-19  9:50 schwab@linux-m68k.org
  2022-04-23 21:47 ` [Bug tools/29073] " mark at klomp dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2022-04-19  9:50 UTC (permalink / raw)
  To: elfutils-devel

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

            Bug ID: 29073
           Summary: program header entry 2: unknown program header entry
                    type 0x70000003
           Product: elfutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tools
          Assignee: unassigned at sourceware dot org
          Reporter: schwab@linux-m68k.org
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

FAIL: run-strip-strmerge.sh
===========================

elflint /home/abuild/rpmbuild/BUILD/elfutils-0.186/tests/elfstrmerge
program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [25] '.riscv.attributes' has unsupported type 1879048195
FAIL run-strip-strmerge.sh (exit status: 1)

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

program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [26] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/addr2line
program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [26] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elfclassify
program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [26] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/stack
program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [26] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/unstrip
program header entry 0: unknown program header entry type 0x70000003
program header entry 0: file size greater than memory size
section [25] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/libelf/libelf.so
program header entry 0: unknown program header entry type 0x70000003
program header entry 0: file size greater than memory size
section [25] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/libasm/libasm.so
section [71] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/size.o
section [78] '.riscv.attributes' has unsupported type 1879048195
*** failure in /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/elflint --quiet
--gnu-ld /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/strip.o
FAIL run-elflint-self.sh (exit status: 1)

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


copy_elf: /home/abuild/rpmbuild/BUILD/elfutils-0.186/src/addr2line ->
addr2line.rev (read,reverse)
setshstrndx: 37
Swapping offsets of section 25 and 26
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 36 and 37
program header entry 2: unknown program header entry type 0x70000003
program header entry 2: file size greater than memory size
section [26] '.riscv.attributes' has unsupported type 1879048195
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] 5+ messages in thread

* [Bug tools/29073] program header entry 2: unknown program header entry type 0x70000003
  2022-04-19  9:50 [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003 schwab@linux-m68k.org
@ 2022-04-23 21:47 ` mark at klomp dot org
  2022-04-25 12:48 ` mliska at suse dot cz
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mark at klomp dot org @ 2022-04-23 21:47 UTC (permalink / raw)
  To: elfutils-devel

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

Mark Wielaard <mark at klomp dot org> changed:

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

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
This seems to be PT_RISCV_ATTRIBUTES and SHT_RISCV_ATTRIBUTES:
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/71/files

Which is defined in binutils, but not in glibc elf.h

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

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

* [Bug tools/29073] program header entry 2: unknown program header entry type 0x70000003
  2022-04-19  9:50 [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003 schwab@linux-m68k.org
  2022-04-23 21:47 ` [Bug tools/29073] " mark at klomp dot org
@ 2022-04-25 12:48 ` mliska at suse dot cz
  2022-06-01 15:53 ` fantasquex at gmail dot com
  2022-08-11  7:30 ` schwab@linux-m68k.org
  3 siblings, 0 replies; 5+ messages in thread
From: mliska at suse dot cz @ 2022-04-25 12:48 UTC (permalink / raw)
  To: elfutils-devel

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

Martin Liska <mliska at suse dot cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mliska at suse dot cz

--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
*** Bug 29089 has been marked as a duplicate of this bug. ***

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

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

* [Bug tools/29073] program header entry 2: unknown program header entry type 0x70000003
  2022-04-19  9:50 [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003 schwab@linux-m68k.org
  2022-04-23 21:47 ` [Bug tools/29073] " mark at klomp dot org
  2022-04-25 12:48 ` mliska at suse dot cz
@ 2022-06-01 15:53 ` fantasquex at gmail dot com
  2022-08-11  7:30 ` schwab@linux-m68k.org
  3 siblings, 0 replies; 5+ messages in thread
From: fantasquex at gmail dot com @ 2022-06-01 15:53 UTC (permalink / raw)
  To: elfutils-devel

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

--- Comment #3 from Letu Ren <fantasquex at gmail dot com> ---
Hi! I encountered this issue when building packages for ArchLinux RISC-V. I
wonder whether there is a patch which can be backported to 0.187 to make tests
pass.

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

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

* [Bug tools/29073] program header entry 2: unknown program header entry type 0x70000003
  2022-04-19  9:50 [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003 schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2022-06-01 15:53 ` fantasquex at gmail dot com
@ 2022-08-11  7:30 ` schwab@linux-m68k.org
  3 siblings, 0 replies; 5+ messages in thread
From: schwab@linux-m68k.org @ 2022-08-11  7:30 UTC (permalink / raw)
  To: elfutils-devel

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

Andreas Schwab <schwab@linux-m68k.org> changed:

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

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
This has been fixed by:

2f275fc1 elflint: Allow zero p_memsz for PT_RISCV_ATTRIBUTES
d703772e backends: Handle new RISC-V specific definitions
de209d23 libelf: Sync elf.h from glibc

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

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

end of thread, other threads:[~2022-08-11  7:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-19  9:50 [Bug tools/29073] New: program header entry 2: unknown program header entry type 0x70000003 schwab@linux-m68k.org
2022-04-23 21:47 ` [Bug tools/29073] " mark at klomp dot org
2022-04-25 12:48 ` mliska at suse dot cz
2022-06-01 15:53 ` fantasquex at gmail dot com
2022-08-11  7:30 ` schwab@linux-m68k.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).