Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 629736

Summary: sys-cluster/mpich-3.2-r1 : libhwloc.so: error adding symbols: File in wrong format
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: CONFIRMED ---    
Severity: normal CC: cluster, j0inty, mark+gentoobugs, pavanbalaji.work, s.rohmen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-cluster:mpich-3.2-r1:20170903-080536.log
temp.tbz2
build.log - sys-cluster/mpich-3.2-r1::gentoo

Description Toralf Förster gentoo-dev 2017-09-03 08:15:32 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib64/libhwloc.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1413: hydra_persist] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-cluster/mpich-3.2-r1/work/mpich-3.2-abi_x86_32.x86/src/pm/hydra'
make[2]: *** [Makefile:1787: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome_abi32+64_20170828-210916

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv sys-cluster/mpich
[blocks b     ] sys-cluster/mpich ("sys-cluster/mpich" is blocking sys-cluster/openmpi-2.1.1)
[uninstall    ]  sys-cluster/openmpi-2.1.1  USE="cxx fortran ipv6 -cma -cuda -heterogeneous -java -mpi-threads -numa -romio -threads" ABI_X86="32 (64) (-x32)" OPENMPI_FABRICS="-knem -ofed -psm" OPENMPI_OFED_FEATURES="-connectx-xrc -control-hdr-padding -dynamic-sl -rdmacm -udcm" OPENMPI_RM="-pbs -slurm" 
[ebuild  N    ] sys-cluster/mpich-3.2-r1  USE="cxx fortran -doc -mpi-threads -romio -threads" ABI_X86="32 (64) (-x32)"
Comment 1 Toralf Förster gentoo-dev 2017-09-03 08:15:36 UTC
Created attachment 492088 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-03 08:15:39 UTC
Created attachment 492090 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-09-03 08:15:43 UTC
Created attachment 492092 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-09-03 08:15:46 UTC
Created attachment 492094 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-09-03 08:15:50 UTC
Created attachment 492096 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-03 08:15:53 UTC
Created attachment 492098 [details]
sys-cluster:mpich-3.2-r1:20170903-080536.log
Comment 7 Toralf Förster gentoo-dev 2017-09-03 08:15:57 UTC
Created attachment 492100 [details]
temp.tbz2
Comment 8 Steffen 'j0inty' Stollfuß 2018-01-22 09:28:47 UTC
Hi,

same here with the gcc-7.2.0 compiler.

[snip]
libtool: link: x86_64-pc-linux-gnu-gcc -m32 -march=skylake -O2 -pipe -O0 -g -o hydra_pmi_proxy pm/pmiserv/hydra_pmi_proxy-pmip.o pm/pmiserv/hydra_pmi_proxy-pmip_cb.o pm/pmiserv/hydra_pmi_proxy-pmip_utils.o pm/pmiserv/hydra_pmi_proxy-pmip_pmi_v1.o pm/pmiserv/hydra_pmi_proxy-pmip_pmi_v2.o pm/pmiserv/hydra_pmi_proxy-common.o pm/pmiserv/hydra_pmi_proxy-pmi_v2_common.o  -L./../../mpl -L. -L/usr/lib64 -L/usr/lib /var/tmp/portage/sys-cluster/mpich-3.2-r1/work/mpich-3.2-abi_x86_32.x86/src/pm/hydra/.libs/libhydra.a /var/tmp/portage/sys-cluster/mpich-3.2-r1/work/mpich-3.2-abi_x86_32.x86/src/mpl/.libs/libmpl.a -lpthread /usr/lib64/libhwloc.so -lm -lnuma -ludev /usr/lib64/libltdl.so -ldl
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.so when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib64/libpthread.a when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/lib64/libhwloc.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:1406: hydra_nameserver] Error 1
[/snap]

regards
j0inty
Comment 9 Steffen 'j0inty' Stollfuß 2018-01-22 09:30:04 UTC
Created attachment 515816 [details]
build.log - sys-cluster/mpich-3.2-r1::gentoo