Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] hwloc-1.3.1 "gmake check" failure on Solaris-10/SPARC/gccfss
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-02-01 07:00:57


The bitmap code uses ffs*() to find the first bit set.
Brice

Le 01/02/2012 11:58, Jeff Squyres a écrit :
> Paul -- any idea what library that symbol actually lives in?
>
> FWIW, I can't find that symbol -- or anything like it -- in the hwloc code base. Is it being pulled in by some dependent library?
>
>
> On Jan 31, 2012, at 7:57 PM, Paul H. Hargrove wrote:
>
>> This report is the flip-side of the problem w/ Solaris Studio compilers on x86-64.
>> With Solaris-10 on SPARC, I find I *can* build hwloc-1.3.1 w/ SS12.x, but instead am failing w/ gcc.
>>
>> Keep in mind that /usr/bin/gcc on this system is one from Sun, not the FSF:
>>> -bash-3.00$ which gcc
>>> /usr/bin/gcc
>>> -bash-3.00$ gcc --version
>>> sparc-sun-solaris2.10-gcc (GCC) 4.0.4 (gccfss)
>>> Copyright (C) 2006 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions. There is NO
>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> The key bit there is "(gccfss)" = "GCC for SPARC Systems"
>>
>> The problem is a load-time missing symbol when I "gmake check":
>>> $ gmake check V=1
>>> Making check in src
>>> [...]
>>> gmake[2]: Entering directory `/home/hargrove/OMPI/hwloc-1.3.1-solaris10-sparcT2-gccfss404/BLD/utils'
>>> ld.so.1: hwloc-calc: fatal: relocation error: file /home/hargrove/OMPI/hwloc-1.3.1-solaris10-sparcT2-gccfss404/BLD/src/.libs/libhwloc.so.4: symbol __ffssi2: referenced symbol not found
>>> FAIL: test-hwloc-calc.sh
>>> ld.so.1: hwloc-distrib: fatal: relocation error: file /home/hargrove/OMPI/hwloc-1.3.1-solaris10-sparcT2-gccfss404/BLD/src/.libs/libhwloc.so.4: symbol __ffssi2: referenced symbol not found
>>> FAIL: test-hwloc-distrib.sh
>>> ========================================================
>>> 2 of 2 tests failed
>>> Please report to http://www.open-mpi.org/community/help/
>>> ========================================================
>> Again I am sorry I didn't get a chance to discover this in 1.3.1rc2.
>>
>> -Paul
>>
>> --
>> Paul H. Hargrove PHHargrove_at_[hidden]
>> Future Technologies Group
>> HPC Research Department Tel: +1-510-495-2352
>> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
>>
>> _______________________________________________
>> hwloc-devel mailing list
>> hwloc-devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/hwloc-devel
>