Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] Bug-Report: visibility=hiden on Sparc/Sun CC
From: Igor Galić (i.galic_at_[hidden])
Date: 2011-09-06 08:40:35


----- Original Message -----
> On Sep 5, 2011, at 7:39 PM, Igor Galić wrote:
>
> >> So I think the real issue is why configure might be getting your
> >> visibility tests wrong...? Please send your configure
> >> stdout/stderr
> >> and config.log - we can have a look.
> >
> > Will do an report back.
>
> Excellent; many thanks.

>From the config.log:

configure:8175: checking if /opt/SUNWspro/bin/cc supports -fvisibility
configure:8193: /opt/SUNWspro/bin/cc -o conftest -xO3 -m32 -xarch=v8 -fvisibility=hidden -I/opt/csw/include -m32 -xarch=v8 -L/opt/csw/lib conftest.c >&5
cc: Warning: illegal option -fvisibility=hidden
configure:8193: $? = 0
configure:8211: result: yes
configure:8217: checking whether to enable visibility
configure:8219: result: yes (via -fvisibility=hidden)
configure:8243: WARNING: " -fvisibility=hidden" has been added to the hwloc CFLAGS
configure:8250: checking for inline compatibility keyword
configure:8263: /opt/SUNWspro/bin/cc -c -xO3 -m32 -xarch=v8 -I/opt/csw/include conftest.c >&5
configure:8263: $? = 0
configure:8287: result: __inline__

>
> > Another thing: Even with visibility disabled, I'm getting test
> > failures
> > on, I believe only i386 (so that should mean sparc and sparcv9 are
> > passing)
> > Can't confirm for amd64 yet.
>
> Ok. Send along all the data and we'll have a look to see what's
> going wrong.

The failing test (i386):

PASS: hwloc_get_next_obj_covering_cpuset
Assertion failed: !obj, file hwloc_get_obj_inside_cpuset.c, line 40
/bin/bash: line 5: 20986 Abort (core dumped) ${dir}$tst
FAIL: hwloc_get_obj_inside_cpuset
PASS: hwloc_get_shared_cache_covering_obj

So long,
i

-- 
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic_at_[hidden]
URL: http://brainsware.org/
GPG: 571B 8B8A FC97 266D BDA3  EF6F 43AD 80A4 5779 3257