Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327303 - sys-infiniband/libehca-1.2.1-r2: src/ehca_uclasses.h:406: error: invalid register name for 'temp1'
Summary: sys-infiniband/libehca-1.2.1-r2: src/ehca_uclasses.h:406: error: invalid regi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard: [science overlay]
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 12:48 UTC by Richard Scott
Modified: 2024-03-27 11:56 UTC (History)
2 users (show)

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


Attachments
Build log for libehca-1.2.2 (build.log,25.27 KB, text/x-log)
2011-07-03 23:20 UTC, Daniel Weigert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Scott 2010-07-07 12:48:44 UTC
I am trying to install openib from the science overlay and I get this error when I get to installing sys-infiniband/libehca-1.2.1-r2:

# cat build.log
 * CPV:  sys-infiniband/libehca-1.2.1-r1
 * REPO: science
 * USE:  amd64 elibc_glibc kernel_linux userland_GNU
>>> Unpacking source...
>>> Unpacking OFED-1.4.1.tgz to /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work
>>> Unpacking ./OFED-1.4.1/SRPMS/libehca-1.2.1-1.ofed1.4.1.src.rpm to /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work
>>> Unpacking ./libehca-1.2.1.tar.gz to /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work
>>> Source unpacked in /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work
>>> Preparing source in /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1 ...
 * econf: updating libehca-1.2.1/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libehca-1.2.1/config/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... cat: ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for ANSI C header files... (cached) yes
checking for ibv_get_device_list in -libverbs... yes
checking infiniband/driver.h usability... yes
checking infiniband/driver.h presence... yes
checking for infiniband/driver.h... yes
checking for ibv_read_sysfs_file... yes
checking for ibv_register_driver... yes
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1 ...
make -j3
cd . && /bin/sh /var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1/config/missing --run autoheader
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1998: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2019: AC_CACHE_CHECK is expanded from...
aclocal.m4:621: AC_LIBTOOL_COMPILER_OPTION is expanded from...
aclocal.m4:4821: AC_LIBTOOL_PROG_COMPILER_PIC is expanded from...
aclocal.m4:2669: _LT_AC_LANG_C_CONFIG is expanded from...
aclocal.m4:2668: AC_LIBTOOL_LANG_C_CONFIG is expanded from...
aclocal.m4:86: AC_LIBTOOL_SETUP is expanded from...
aclocal.m4:66: _AC_PROG_LIBTOOL is expanded from...
aclocal.m4:31: AC_PROG_LIBTOOL is expanded from...
configure.in:8: the top level
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:666: AC_LIBTOOL_LINKER_OPTION is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:2746: _LT_AC_LANG_CXX_CONFIG is expanded from...
aclocal.m4:2745: AC_LIBTOOL_LANG_CXX_CONFIG is expanded from...
aclocal.m4:1805: _LT_AC_TAGCONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_CXX, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:3909: _LT_AC_LANG_F77_CONFIG is expanded from...
aclocal.m4:3908: AC_LIBTOOL_LANG_F77_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_F77, ...): suspicious cache-id, must contain _cv_ to be cached
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
aclocal.m4:4011: _LT_AC_LANG_GCJ_CONFIG is expanded from...
aclocal.m4:4010: AC_LIBTOOL_LANG_GCJ_CONFIG is expanded from...
configure.in:8: warning: AC_CACHE_VAL(lt_prog_compiler_static_works_GCJ, ...): suspicious cache-id, must contain _cv_ to be cached
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
make  all-am
make[1]: Entering directory `/var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1'
if /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_umain.lo -MD -MP -MF ".deps/ehca_umain.Tpo" -c -o ehca_umain.lo `test -f 'src/ehca_umain.c' || echo './'`src/ehca_umain.c; \
        then mv -f ".deps/ehca_umain.Tpo" ".deps/ehca_umain.Plo"; else rm -f ".deps/ehca_umain.Tpo"; exit 1; fi
if /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_u_mrmw.lo -MD -MP -MF ".deps/ehca_u_mrmw.Tpo" -c -o ehca_u_mrmw.lo `test -f 'src/ehca_u_mrmw.c' || echo './'`src/ehca_u_mrmw.c; \
        then mv -f ".deps/ehca_u_mrmw.Tpo" ".deps/ehca_u_mrmw.Plo"; else rm -f ".deps/ehca_u_mrmw.Tpo"; exit 1; fi
if /bin/sh ./libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.    -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_uinit.lo -MD -MP -MF ".deps/ehca_uinit.Tpo" -c -o ehca_uinit.lo `test -f 'src/ehca_uinit.c' || echo './'`src/ehca_uinit.c; \
        then mv -f ".deps/ehca_uinit.Tpo" ".deps/ehca_uinit.Plo"; else rm -f ".deps/ehca_uinit.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_u_mrmw.lo -MD -MP -MF .deps/ehca_u_mrmw.Tpo -c src/ehca_u_mrmw.c  -fPIC -DPIC -o .libs/ehca_u_mrmw.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_umain.lo -MD -MP -MF .deps/ehca_umain.Tpo -c src/ehca_umain.c  -fPIC -DPIC -o .libs/ehca_umain.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_uinit.lo -MD -MP -MF .deps/ehca_uinit.Tpo -c src/ehca_uinit.c  -fPIC -DPIC -o .libs/ehca_uinit.o
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_u_mrmw.lo -MD -MP -MF .deps/ehca_u_mrmw.Tpo -c src/ehca_u_mrmw.c -o ehca_u_mrmw.o >/dev/null 2>&1
src/ehca_umain.c: In function 'ehcau_destroy_cq':
src/ehca_umain.c:347: warning: label 'out' defined but not used
src/ehca_umain.c: In function 'cq_unassign_qp':
src/ehca_uclasses.h:406: error: invalid register name for 'temp1'
src/ehca_uclasses.h:407: error: invalid register name for 'setval'
src/ehca_uclasses.h:408: error: unknown register name 'cr0' in 'asm'
src/ehca_umain.c: In function 'cq_assign_qp':
src/ehca_uclasses.h:406: error: invalid register name for 'temp1'
src/ehca_uclasses.h:407: error: invalid register name for 'setval'
src/ehca_uclasses.h:408: error: unknown register name 'cr0' in 'asm'
src/ehca_umain.c: In function 'ehcau_modify_qp':
src/ehca_uclasses.h:406: error: invalid register name for 'temp1'
src/ehca_uclasses.h:407: error: invalid register name for 'setval'
src/ehca_uclasses.h:408: error: unknown register name 'cr0' in 'asm'
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -g -Wall -D_GNU_SOURCE -DP_SERIES -Isrc -march=native -O2 -pipe -MT ehca_uinit.lo -MD -MP -MF .deps/ehca_uinit.Tpo -c src/ehca_uinit.c -o ehca_uinit.o >/dev/null 2>&1
make[1]: *** [ehca_umain.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1'
make: *** [all] Error 2
 * ERROR: sys-infiniband/libehca-1.2.1-r1 failed:
 *   died running emake, base_src_make
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2497:  Called base_src_compile
 *   environment, line  234:  Called base_src_make
 *   environment, line  272:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "died running emake, $FUNCNAME";
 *
 * If you need support, post the output of 'emerge --info =sys-infiniband/libehca-1.2.1-r1',
 * the complete build log and the output of 'emerge -pqv =sys-infiniband/libehca-1.2.1-r1'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/science/eclass/openib.eclass
 * This ebuild is from an overlay named 'science': '/var/lib/layman/science/'
 * The complete build log is located at '/var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/temp/environment'.
 * S: '/var/tmp/portage/sys-infiniband/libehca-1.2.1-r1/work/libehca-1.2.1'

Reproducible: Always

Steps to Reproduce:
1. add the science overlay with layman
2. emerge -av openib
3. wait for it to fail
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-08 04:57:25 UTC
Please post your `emerge --info' in a comment and reopen this bug report.
Comment 2 Richard Scott 2010-07-08 09:12:05 UTC
# emerge --info
Portage 2.1.8.3 (hardened/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11.2-r0, 2.6.32-hardened-r10 x86_64)
=================================================================
System uname: Linux-2.6.32-hardened-r10-x86_64-Intel-R-_Pentium-R-_4_CPU_3.60GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 30 Jun 2010 23:45:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.8.5-r4, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/lib/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.mdfnet.se/mirror/gentoo ftp://gentoo.mirror.dkm.cz/pub/gentoo/ http://distfiles.gentoo.bg/ ftp://146.137.96.15/pub/gentoo/ ftp://146.137.96.7/pub/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.tiscali.nl/ ftp://mirrors.evolva.ro/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://128.61.111.9/pub/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/zen-sources /var/lib/layman/hardened-development /opt/portage"
SYNC="rsync://pharamond.har.mrc.ac.uk/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fuse gdbm gpm hardened iconv ipv6 justify mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl sysfs tcpd urandom xorg 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="s3" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Daniel Weigert 2011-07-03 23:14:18 UTC
This bug is in 1.2.2 as well, in the main portage tree..

emerge --info =sys-infiniband/libehca-1.2.2
Portage 2.1.10.3 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2360_SE-with-gentoo-2.0.3
Timestamp of tree: Sun, 03 Jul 2011 17:30:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 RTCW-ETEULA AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=barcelona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirror.clarkson.edu/pub/distributions/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl alsa amd64 apache2 asf avahi berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus device-mapper dlloader dri dts dvd dvdr dvdread encode esd exif extras f77 ffmpeg flac fltk fortran freetype g77 gdbm gdu gif gnome gnutls gphoto2 gpm gsm gtk gtk2 h264 h323 iconv ieee1394 infiniband ipv6 jack jingle jpeg jpeg2k juju lzo mad mjpej mmx modplug modules mp3 mp4 mpeg msn mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl pic pipechan png policykit pppd pulseaudio python qt qt3 qt4 quicktime readline sdk sdl secure-delete session sip sndfile spell sqlite sse sse2 ssl svg sysfs tcltk tcpd theora threads tiff truetype unicode usb v4l v4l2 vdpau virt-network vorbis wav webkit x264 xcb xcomposite xfs xine xinerama xorg xrc xulrunner xv xvid xvmc yahoo zlib" ALSA_CARDS="emu10k1 intel8x0 hda-intel hdsp hdspm" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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 ubx" INPUT_DEVICES="keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv =sys-infiniband/libehca-1.2.2
[ebuild  N    ] sys-infiniband/libehca-1.2.2
Comment 4 Daniel Weigert 2011-07-03 23:20:21 UTC
Created attachment 278995 [details]
Build log for libehca-1.2.2

Build log for 1.2.2 on a dual qad core opteron box
Comment 5 Daniel Weigert 2011-07-07 00:49:49 UTC
I checked with upstream, and they noted that libehca (any version) is for PowerPC architecture machines only.