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 issues
From: Pavan Balaji (balaji_at_[hidden])
Date: 2013-04-29 09:51:32


On 04/29/2013 08:36 AM US Central Time, Brice Goglin wrote:
>> I wonder if this CFLAGS=-D_POSIX_SOURCE is supported by FreeBSD headers.
>
> I could not fix this. Google says that FreeBSD does not define u_int
> when _POSIX_SOURCE, so the sysctl() prototype cannot be correct. I tend
> to think you should remove _POSIX_SOURCE on this FreeBSD release.

Is this for any version of POSIX_SOURCE? Just giving _POSIX_SOURCE
falls back to POSIX.1-1990. Most times we (mpich) only care about
POSIX.1-2001 (given by -D_POSIX_C_SOURCE=200112L).

I can try it out later today.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji