Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501630 - dev-libs/elfutils-0.158 on ia64 fails on test run-elflint-self.sh (PLTGOT value must point into loaded segment)
Summary: dev-libs/elfutils-0.158 on ia64 fails on test run-elflint-self.sh (PLTGOT val...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: IA64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2014-02-17 22:35 UTC by Émeric Maschino
Modified: 2019-06-30 07:27 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Compressed build.log (build.log.bz2,11.73 KB, application/x-bzip)
2014-02-17 22:39 UTC, Émeric Maschino
Details
environment (environment,98.07 KB, text/plain)
2014-02-17 22:39 UTC, Émeric Maschino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Émeric Maschino 2014-02-17 22:35:05 UTC
Emerging elfutils with tests enabled in order to stabilize bug #500178 fails on run-elflint-self.sh.

From test-suite.log:

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

section [22] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/libelf/libelf.so
section [22] '.dynamic': entry 22: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/libdw/libdw.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_aarch64.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_alpha.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_arm.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_i386.so
section [20] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_ia64.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_ppc.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_ppc64.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_s390.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_sh.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_sparc.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_tilegx.so
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
*** failure in /var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158-defa
ult/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.158/work/e
lfutils-0.158-default/backends/libebl_x86_64.so

I don't know how this is related (or not) to bug #329875 or #423271.

     Émeric
Comment 1 Émeric Maschino 2014-02-17 22:36:12 UTC
emerge --info

Portage 2.2.7 (default/linux/ia64/13.0/desktop/gnome/systemd, gcc-4.6.3, glibc-2.17, 3.10.25-gentoo ia64)
=================================================================
System uname: Linux-3.10.25-gentoo-ia64-Madison-with-gentoo-2.2
KiB Mem:    24987056 total,  23432080 free
KiB Swap:     524272 total,    524272 free
Timestamp of tree: Wed, 12 Feb 2014 21:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.2-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo my_ebuilds
ACCEPT_KEYWORDS="ia64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-mtune=itanium2 -O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mtune=itanium2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/my_ebuilds"
USE="X a52 aac acl acpi alsa berkdb branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dts dvdr eds encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk ia64 iconv introspection ipv6 jpeg lcms ldap libnotify libsecret mad mng modules mp3 mp4 mpeg nautilus ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session socialweb spell ssl startup-notification svg systemd tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets xcb xml xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 2 Émeric Maschino 2014-02-17 22:37:56 UTC
emerge -pqv

[ebuild   R   ] dev-libs/elfutils-0.158  USE="bzip2 nls {test*} utils zlib -lzma -static-libs (-threads)"
Comment 3 Émeric Maschino 2014-02-17 22:39:30 UTC
Created attachment 370660 [details]
Compressed build.log
Comment 4 Émeric Maschino 2014-02-17 22:39:54 UTC
Created attachment 370662 [details]
environment
Comment 5 SpanKY gentoo-dev 2014-02-18 02:02:31 UTC
it's not a regression (current stable fails too), thus it is not a blocker
Comment 6 Sergei Trofimovich gentoo-dev 2017-06-13 20:59:04 UTC
yeah, it looks like elfutils just does not understand ia64 sections:

/var/tmp/portage/dev-libs/elfutils-0.166/work/elfutils-0.166-.ia64/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.166/work/elfutils-0.166-.ia64/libelf/libelf.so

program header entry 5: unknown program header entry type 0x70000001
section [ 7] '.rela.dyn': relocation 0: invalid type
section [ 7] '.rela.dyn': relocation 1: invalid type
...
section [ 8] '.rela.IA_64.pltoff': relocation 0: invalid type
...
section [15] '.IA_64.unwind' has unsupported type 1879048193
section [21] '.dynamic': entry 15: unknown tag
section [21] '.dynamic': entry 16: PLTGOT value must point into loaded segment
section [25] '.got' contains invalid processor-specific flag(s) 0x10000000
section [26] '.IA_64.pltoff' contains invalid processor-specific flag(s) 0x10000000
section [27] '.sdata' contains invalid processor-specific flag(s) 0x10000000
section [28] '.sbss' contains invalid processor-specific flag(s) 0x10000000

Perhaps worth just skipping this test on ia64.
Comment 7 Rolf Eike Beer 2019-06-30 07:27:03 UTC
Test also fails with 0.176-r1 on sparc:

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

section [ 8] '.rela.dyn': relocation 43: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 44: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 45: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 46: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 47: relocation type invalid for the file type
*** failure in /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/addr2line
section [ 8] '.rela.dyn': relocation 280: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 281: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 282: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 283: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 284: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 285: relocation type invalid for the file type
*** failure in /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/elfcmp
section [ 8] '.rela.dyn': relocation 313: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 314: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 315: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 316: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 317: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 318: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 319: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 320: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 321: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 322: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 323: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 324: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 325: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 326: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 327: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 328: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 329: relocation type invalid for the file type
*** failure in /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/objdump
section [ 8] '.rela.dyn': relocation 824: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 825: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 826: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 827: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 828: relocation type invalid for the file type
section [ 8] '.rela.dyn': relocation 829: relocation type invalid for the file type
*** failure in /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/elflint --quiet --gnu-ld /var/tmp/portage/dev-libs/elfutils-0.176-r1/work/elfutils-0.176-.sparc32/src/readelf
FAIL run-elflint-self.sh (exit status: 1)