Bug 29112 - run-elflint-self.sh and run-reverse-sections-self.sh fail on ia64 with "PLTGOT value must point into loaded segment"
Summary: run-elflint-self.sh and run-reverse-sections-self.sh fail on ia64 with "PLTGO...
Status: UNCONFIRMED
Alias: None
Product: elfutils
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-02 01:40 UTC by matoro
Modified: 2022-05-17 04:38 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matoro 2022-05-02 01:40:58 UTC
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.