Hi Eric,

> On 23 Sep 2016, at 20:19, Denis Davydov <davyd...@gmail.com> wrote:
> 
>> 
>> Can you look in config.log, and see why configure seems to think that
>> HAVE_STRUCT_SCHED_PARAM was set to 0 on your platform (since it is
> 
> it is indeed set to 0. Searching for HAVE_STRUCT_SCHED_PARAM in config.log
> reveals a single line only, so i don’t know where it is set and why.

I think here’s a relevant part of the log:

configure:28741: /Users/davydden/spack/lib/spack/env/gcc/gcc -c -g -O2 
-I/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/gcc-6.2.0/libsigsegv-2.10-dduf3ib2khihptbot54hgma7ow2f3zcx/include
 conftest.c >&5
In file included from /usr/include/sched.h:27:0,
                 from conftest.c:274:
/usr/include/pthread_impl.h:32:18: error: missing binary operator before token 
"("
 #if __has_feature(assume_nonnull)
                  ^
/usr/include/pthread_impl.h:62:18: error: missing binary operator before token 
"("
 #if __has_feature(assume_nonnull)
                  ^
conftest.c:277:8: error: unknown type name 'pid_t'
        pid_t t1;
        ^~~~~
configure:28741: $? = 1
 
configure:28828: checking for struct sched_param
configure:28828: /Users/davydden/spack/lib/spack/env/gcc/gcc -c -g -O2 
-I/Users/davydden/spack/opt/spack/darwin-sierra-x86_64/gcc-6.2.0/libsigsegv-2.10-dduf3ib2khihptbot54hgma7ow2f3zcx/include
 conftest.c >&5
In file included from /usr/include/sched.h:27:0,
                 from conftest.c:273:
/usr/include/pthread_impl.h:32:18: error: missing binary operator before token 
"("
 #if __has_feature(assume_nonnull)
                  ^
/usr/include/pthread_impl.h:62:18: error: missing binary operator before token 
"("
 #if __has_feature(assume_nonnull)
                  ^
configure:28828: $? = 1


p.s. Not sure if config should actually use anything from 
`/usr/include/sched.h` as I compile with GCC, not Clang. M4 compiles fine with 
apple's Clang.

Regards,
Denis.

Reply via email to