[Bug general/29112] New: run-elflint-self.sh and run-reverse-sections-self.sh fail on ia64 with "PLTGOT value must point into loaded segment"

matoro_bugzilla_glibc at matoro dot tk sourceware-bugzilla@sourceware.org
Mon May 2 01:40:58 GMT 2022


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

            Bug ID: 29112
           Summary: run-elflint-self.sh and run-reverse-sections-self.sh
                    fail on ia64 with "PLTGOT value must point into loaded
                    segment"
           Product: elfutils
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: general
          Assignee: unassigned at sourceware dot org
          Reporter: matoro_bugzilla_glibc at matoro dot tk
                CC: elfutils-devel at sourceware dot org
  Target Milestone: ---

In elfutils unit tests, the following tests fail on ia64:

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

section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/elflint
--quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.187/work/elf>
section [20] '.dynamic': entry 15: PLTGOT value must point into loaded segment
*** failure in
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/elflint
--quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.187/work/elf>
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/elflint
--quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.187/work/elf>
section [21] '.dynamic': entry 15: PLTGOT value must point into loaded segment
*** failure in
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/elflint
--quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.187/work/elf>
section [21] '.dynamic': entry 15: PLTGOT value must point into loaded segment
*** failure in
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/elflint
--quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.187/work/elf>
FAIL run-elflint-self.sh (exit status: 1)

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

copy_elf:
/var/tmp/portage/dev-libs/elfutils-0.187/work/elfutils-0.187-.ia64/src/addr2line
-> addr2line.rev (read,reverse)
setshstrndx: 41
Swapping offsets of section 31 and 32
Swapping offsets of section 33 and 34
Swapping offsets of section 35 and 36
Swapping offsets of section 37 and 38
Swapping offsets of section 40 and 41
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
FAIL run-reverse-sections-self.sh (exit status: 1)


This is not a regression, and has been observed since at least elfutils 0.158
(https://bugs.gentoo.org/501630) and still occurs on elfutils 0.187.

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


More information about the Elfutils-devel mailing list