Open MPI logo

Hardware Locality Development Mailing List Archives

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

Subject: Re: [hwloc-devel] hwloc-1.7 issue roundup
From: Pavan Balaji (balaji_at_[hidden])
Date: 2013-05-05 15:59:10

On 05/05/2013 11:18 AM US Central Time, Pavan Balaji wrote:
> - For sysctl and sysctlbyname, I've updated hwloc/config.m4 to use a
> full link test instead of just using AC_CHECK_FUNCS, which only checks
> to see if the symbol exists or not. For example, the prototype of
> sysctl uses u_int, which on some platforms (such as FreeBSD) is only
> defined under __BSD_VISIBLE, __USE_BSD or other similar definitions. So
> while the symbols "sysctl" and "sysctlbyname" might still be available
> in libc (which autoconf checks for), they might not be actually usable.
> The below commit fixes this:

You probably also want to pick up this commit:

The Intel compiler went very sad without stdio.h for "NULL".

 -- Pavan

Pavan Balaji