Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 611778 - sys-fabric/ibacm-1.0.8 : /.../ld: src/svc_ibacm-acm.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
Summary: sys-fabric/ibacm-1.0.8 : /.../ld: src/svc_ibacm-acm.o: undefined reference to...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 643122
  Show dependency tree
 
Reported: 2017-03-05 08:08 UTC by Toralf Förster
Modified: 2021-05-16 19:43 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.62 KB, text/plain)
2017-03-05 08:08 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,6.92 KB, application/x-bzip)
2017-03-05 08:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,415.48 KB, text/plain)
2017-03-05 08:08 UTC, Toralf Förster
Details
environment (environment,88.54 KB, text/plain)
2017-03-05 08:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.04 KB, application/x-bzip)
2017-03-05 08:08 UTC, Toralf Förster
Details
sys-fabric:ibacm-1.0.8:20170305-062358.log (sys-fabric:ibacm-1.0.8:20170305-062358.log,12.20 KB, text/plain)
2017-03-05 08:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.76 KB, application/x-bzip)
2017-03-05 08:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-05 08:08:24 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall  -Wl,-O1 -Wl,--as-needed -o svc/ibacm src/svc_ibacm-acm.o  -libumad -libverbs 
libtool: link: x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -DSYSCONFDIR=\"/etc\" -DBINDIR=\"/usr/bin\" -DRDMADIR=\"rdma\" -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o svc/ibacm src/svc_ibacm-acm.o  /usr/lib64/libibumad.so -libverbs
/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/svc_ibacm-acm.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:438: svc/ibacm] Error 1

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0_20170224-122708) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
Comment 1 Toralf Förster gentoo-dev 2017-03-05 08:08:28 UTC
Created attachment 466022 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-05 08:08:30 UTC
Created attachment 466024 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-05 08:08:33 UTC
Created attachment 466026 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-05 08:08:37 UTC
Created attachment 466028 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-05 08:08:40 UTC
Created attachment 466030 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-05 08:08:43 UTC
Created attachment 466032 [details]
sys-fabric:ibacm-1.0.8:20170305-062358.log
Comment 7 Toralf Förster gentoo-dev 2017-03-05 08:08:46 UTC
Created attachment 466034 [details]
temp.tbz2
Comment 8 Thomas Deutschmann (RETIRED) gentoo-dev 2018-02-21 01:43:35 UTC
Same problem on x86:

Portage 2.3.19 (python 3.5.4-final-0, default/linux/x86/17.0, gcc-6.4.0, glibc-2.25-r10, 4.9.76-gentoo-r1 i686)
=================================================================
System uname: Linux-4.9.76-gentoo-r1-i686-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     3108324 total,   1992396 free
KiB Swap:     488276 total,    486368 free
Timestamp of repository gentoo: Tue, 20 Feb 2018 22:26:21 +0000
Head commit of repository gentoo: 45ff3d9b80de929df7df015f17849106604d2977

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r10::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="x86"
ABI_X86="32"
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ARCH="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
CHOST="i686-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="mmx mmxext sse sse2"
CXXFLAGS="-O2 -pipe -march=pentium4m -mtune=pentium4m"
DEFAULT_ABI="x86"
EDITOR="/usr/bin/mcedit"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=i686 -pipe"
GCC_SPECS=""
GRUB_PLATFORMS="efi-32 pc"
GSETTINGS_BACKEND="dconf"
HOME="/root"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/6.4.0/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.29.1/info:/usr/share/info:/usr/share/info/emacs-25"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_32 prefix prefix-chain prefix-guest"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LC_MESSAGES="C"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LIBDIR_x86="lib"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 5 --load-average 7.95"
MANPAGER="manpager"
MULTILIB_ABIS="x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-0"
POSTGRES_TARGETS="postgres9_5"
PWD="/tmp/stable"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_5"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22 ruby23"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
TERM="screen"
TMUX="/tmp/tmux-0/default,4882,0"
TMUX_PANE="%2"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
Comment 9 Thomas Deutschmann (RETIRED) gentoo-dev 2018-12-29 19:38:44 UTC
https://github.com/ofiwg/ibacm/commit/7a781f6d554532995181b9efbe445599b25c271a is the fix but I don't understand sys-fabric ebuilds so I don't know how to add this fix.
Comment 10 Agostino Sarubbo gentoo-dev 2021-04-16 07:00:18 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 11 Larry the Git Cow gentoo-dev 2021-05-16 19:35:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9357baeb944afaef133823b60afea51be058afb

commit b9357baeb944afaef133823b60afea51be058afb
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-16 19:25:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-16 19:35:01 +0000

    sys-fabric/ibacm: fix pthread linkage
    
    Closes: https://bugs.gentoo.org/611778
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/ibacm-1.0.8-fix-pthread-linkage.patch      | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3df1e290ea0cd56275955c3767d09f2ddc4648e6

commit 3df1e290ea0cd56275955c3767d09f2ddc4648e6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-16 19:24:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-16 19:35:00 +0000

    sys-fabric/ibacm: fix pthread linkage
    
    Closes: https://bugs.gentoo.org/611778
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fabric/ibacm/ibacm-1.0.8.ebuild | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)