Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] 1.3.2rc1 failures w/ icc on x86 (visibility?)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-02-10 15:01:31


Committed to v1.3.

On Feb 10, 2012, at 2:30 PM, Paul H. Hargrove wrote:

>
>
> On 2/10/2012 11:19 AM, Jeff Squyres wrote:
>> I'll go compare.
>
> I already did...
>
>
> HWLOC (1.3.2rc1) tries:
> AC_LINK_IFELSE([AC_LANG_PROGRAM([[
> __attribute__((visibility("default"))) int foo;
> ]],[[int i;]])],
> [],
> [hwloc_add=])
>
> While OMPI (1.4.5rc5) tries:
> AC_TRY_LINK([
> #include <stdio.h>
> __attribute__((visibility("default"))) int foo;
> void bar(void) { fprintf(stderr, "bar\n"); };
> ],[],
> [if test -s conftest.err ; then
> $GREP -iq "visibility" conftest.err
> if test "$?" = "0" ; then
> ompi_cv_cc_fvisibility="no"
> else
> ompi_cv_cc_fvisibility="yes"
> fi
> else
> ompi_cv_cc_fvisibility="yes"
> fi],
> [ompi_cv_cc_fvisibility="no"])
> ])
>
> -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

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