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: Jeff Squyres (jsquyres_at_[hidden])
Date: 2011-09-06 13:16:51


On Sep 6, 2011, at 11:41 AM, Igor Galić wrote:

>> If you don't want to build from SVN (which requires fairly modern
>> autotools versions), you can just wait for the nightly tarball
>
> We've got those with OpenCSW, but as I'm packaging the software,
> I'd rather stick to "stable" versions.
>
> I applied the patch (after removing the fix to the copyright, which
> didn't apply cleanly), ran autoreconf -if, and it still generated
> warnings in regard to -fvisibility.
>
> configure:8229: checking if /opt/SUNWspro/bin/cc supports -fvisibility
> configure:8244: /opt/SUNWspro/bin/cc -o conftest -g -m64 -xarch=sse2 -fvisibility=hidden -I/opt/csw/include -m64 -xarch=sse2 -L/opt/csw/lib/64 conftest.c >&5
> cc: Warning: illegal option -fvisibility=hidden
> configure:8244: $? = 0
> configure:8263: result: yes
> configure:8275: checking whether to enable symbol visibility
> configure:8277: result: yes (via -fvisibility=hidden)
> configure:8298: WARNING: "-fvisibility=hidden" has been added to the hwloc CFLAGS

Hrm. This means that it didn't recognize the compiler vendor as "sun", and defaulted over to the old test.

...gah! It looks like we're not setting $hwloc_c_vendor at all. Well, that explains it. Let me poke around some more...

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/