Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560882 - sys-block/thin-provisioning-tools-0.4.1 - ld: bin/pdata_tools: hidden symbol `$$dyncall' in /usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/libgcc.a(_dyncall.o) is referenced by DSO
Summary: sys-block/thin-provisioning-tools-0.4.1 - ld: bin/pdata_tools: hidden symbol ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
Depends on:
Reported: 2015-09-20 07:46 UTC by Jeroen Roovers (RETIRED)
Modified: 2017-04-23 10:38 UTC (History)
2 users (show)

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

sys-block:thin-provisioning-tools-0.4.1:20150920-071302.log (20150920-071302.log,12.43 KB, text/plain)
2015-09-20 07:46 UTC, Jeroen Roovers (RETIRED)
sys-block:thin-provisioning-tools-0.4.1:20151004-185849.log (20151004-185849.log,54.21 KB, text/plain)
2015-10-04 19:04 UTC, Jeroen Roovers (RETIRED)
sys-block:thin-provisioning-tools-0.4.1:20160509-043628.log (sys-block:thin-provisioning-tools-0.4.1:20160509-043628.log,54.05 KB, text/plain)
2016-05-09 04:46 UTC, Jeroen Roovers (RETIRED)
sys-block:thin-provisioning-tools-0.5.3:20160509-044801.log (sys-block:thin-provisioning-tools-0.5.3:20160509-044801.log,58.15 KB, text/plain)
2016-05-09 04:56 UTC, Jeroen Roovers (RETIRED)
sys-block:thin-provisioning-tools-0.6.1:20160509-045718.log (sys-block:thin-provisioning-tools-0.6.1:20160509-045718.log,65.86 KB, text/plain)
2016-05-09 05:11 UTC, Jeroen Roovers (RETIRED)

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2015-09-20 07:46:40 UTC
Created attachment 412314 [details]

[LD]  bin/pdata_tools
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: bin/pdata_tools: hidden symbol `$$dyncall' in /usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/libgcc.a(_dyncall.o) is referenced by DSO
/usr/lib/gcc/hppa2.0-unknown-linux-gnu/4.8.5/../../../../hppa2.0-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
distcc[7516] ERROR: compile (null) on localhost failed
Makefile:139: recipe for target 'bin/pdata_tools' failed
make: *** [bin/pdata_tools] Error 1
Comment 1 SpanKY gentoo-dev 2015-09-20 17:59:36 UTC
does the previous version fail in the same way ?  what version of binutils/etc... are you using ?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2015-09-21 05:08:55 UTC
Mon 21 Sep 07:07:43 CEST 2015
emerge --info sys-block/thin-provisioning-tools
Portage (python 3.4.1-final-0, default/linux/hppa/13.0, gcc-4.8.5, glibc-2.22, 4.3.0-rc1-JeR parisc64)
                         System Settings
System uname: Linux-4.3.0-rc1-JeR-parisc64-PA8800_-Mako-with-gentoo-2.2
KiB Mem:     8230688 total,   4394620 free
KiB Swap:    2101676 total,   2101676 free
Timestamp of repository gentoo: Mon, 21 Sep 2015 03:45:01 +0000
sh bash 4.3_p39
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 hppa2.0-unknown-linux-gnu [enabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.3_p39::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.22-r1::gentoo, 2.23.1::gentoo, 2.23.2::gentoo, 2.24-r3::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            4.6.4::gentoo, 4.7.2-r1::gentoo, 4.7.3-r1::gentoo, 4.8.1-r1::gentoo, 4.8.3::gentoo, 4.8.4::gentoo, 4.8.5::gentoo, 4.9.2::gentoo, 4.9.3::gentoo, 5.2.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22::gentoo

    location: /world/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /keeps/gentoo/local
    masters: gentoo
    priority: -100

CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/spool/torque /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n"
FEATURES="assume-digests binpkg-logs buildpkg cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
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"
USE="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio bittorrent botan bzip2 cairo canberra cli consolekit coverage cracklib crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz doc dot dri emacs exceptions exif expat fbcon filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm graphite gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libav libcaca libcanberra libevent libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug modules mp3 multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp samba sbc schroedinger sctp session smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd test tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wayland wcwidth x264 x265 xa xattr xcb xft xhtml xkb xml2 xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" APACHE2_MODULES="authz_host dir mime 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" CURL_SSL="nss" DRACUT_MODULES="nfs 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 joystick keyboard mouse acecad aiptek calcomp citron digitaledge dmc dynapro elo2300 elographics fpit hyperpen jamstudio magellan microtouch mutouch palmax penmount spaceorb summa tek4957 tslib ur98 void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl he" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="stifb dummy" 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"
USE_PYTHON="2.7 3.3"

                        Package Settings

sys-block/thin-provisioning-tools-0.3.2-r1::gentoo was built with the following:
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"

With =sys-devel/binutils-2.24-r3
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2015-09-21 05:37:20 UTC
But switching to =sys-devel/binutils-2.25.1-r1 doesn't "fix" this.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2015-09-29 05:17:53 UTC
There is no bin/pdata_tools here. Just a bunch of dead symlinks:

lrwxrwxrwx 1 portage portage 11 Sep  4  2014 cache_check -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 cache_dump -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 cache_metadata_size -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 cache_repair -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 cache_restore -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 era_check -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 era_dump -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 era_invalidate -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 era_restore -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_check -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_delta -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_dump -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_metadata_size -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_repair -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_restore -> pdata_tools
lrwxrwxrwx 1 portage portage 11 Sep  4  2014 thin_rmap -> pdata_tools

If I were a linker, I'd be confused.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2015-09-29 05:28:41 UTC
Wait, that makes no sense.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2015-10-04 19:04:58 UTC
Created attachment 413740 [details]

--- a/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.4.1.ebuild
+++ b/sys-block/thin-provisioning-tools/thin-provisioning-tools-0.4.1.ebuild
@@ -42,6 +42,10 @@ src_configure() {
                $(use_enable test testing)

+src_compile() {
+       emake V=
 src_install() {
        emake DESTDIR="${D}" MANPATH="${D}"/usr/share/man install
Comment 7 SpanKY gentoo-dev 2016-05-09 03:04:36 UTC
(In reply to Jeroen Roovers from comment #6)

i've deployed V= to MAKEOPTS for verbose mode after all:
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-09 04:46:55 UTC
Created attachment 433704 [details]
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-09 04:56:40 UTC
Created attachment 433706 [details]
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2016-05-09 05:11:03 UTC
Created attachment 433708 [details]
Comment 11 SpanKY gentoo-dev 2016-05-10 05:16:46 UTC
afaict, this is a bug in the toolchain.  it's not entirely clear to me how the low level parts of the internal gcc libs come together.

my guess would be a bug in the linker as it's not creating a shared lib ...