Re: [hwloc-users] hwloc-2.0rc1 failure on Solaris

2018-01-25 Thread Balaji, Pavan

Thanks, Brice.  FYI, yes, 1.11.8 has no problem building with those flags.

  — Pavan

Sent from my iPhone

> On Jan 25, 2018, at 5:50 AM, Brice Goglin  wrote:
> 
> It is actually easy to fix, we just need to move hwloc's #include before
> what base64.c actually #include's. That'll be fixed in rc2 too.
> 
> Brice
> 
> 
> 
>> Le 25/01/2018 à 10:56, Brice Goglin a écrit :
>> Like the error below?
>> 
>> This code hasn't changed recently. Did you ever build with these flags
>> before?
>> 
>> I am not sure I'll have time to fix yet another header crazyness before rc2.
>> 
>> Brice
>> 
>> 
>> 
>>   CC   base64.lo
>> In file included from
>> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/private.h:29:0,
>>  from base64.c:128:
>> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h: In
>> function 'hwloc_strncasecmp':
>> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h:370:10:
>> error: implicit declaration of function 'strncasecmp'; did you mean
>> 'strncmp'? [-Werror=implicit-function-declaration]
>>return strncasecmp(s1, s2, n);
>>   ^~~
>>   strncmp
>> cc1: some warnings being treated as errors
>> 
>> 
>>> Le 25/01/2018 à 10:45, Balaji, Pavan a écrit :
>>> Hello,
>>> 
>>> hwloc-2.0rc1 build seems to fail on Solaris, with the following CFLAGS:
>>> 
>>> CFLAGS="-Werror-implicit-function-declaration -std=c99"
>>> 
>>> I'm using gcc-4.8.2
>>> 
>>> Thanks,
>>> 
>>>  -- Pavan
>>> 
>>> ___
>>> hwloc-users mailing list
>>> hwloc-users@lists.open-mpi.org
>>> https://lists.open-mpi.org/mailman/listinfo/hwloc-users
> 
> ___
> hwloc-users mailing list
> hwloc-users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/hwloc-users
___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Re: [hwloc-users] hwloc-2.0rc1 failure on Solaris

2018-01-25 Thread Brice Goglin
It is actually easy to fix, we just need to move hwloc's #include before
what base64.c actually #include's. That'll be fixed in rc2 too.

Brice



Le 25/01/2018 à 10:56, Brice Goglin a écrit :
> Like the error below?
>
> This code hasn't changed recently. Did you ever build with these flags
> before?
>
> I am not sure I'll have time to fix yet another header crazyness before rc2.
>
> Brice
>
>
>
>   CC   base64.lo
> In file included from
> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/private.h:29:0,
>  from base64.c:128:
> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h: In
> function 'hwloc_strncasecmp':
> /builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h:370:10:
> error: implicit declaration of function 'strncasecmp'; did you mean
> 'strncmp'? [-Werror=implicit-function-declaration]
>    return strncasecmp(s1, s2, n);
>   ^~~
>   strncmp
> cc1: some warnings being treated as errors
>
>
> Le 25/01/2018 à 10:45, Balaji, Pavan a écrit :
>> Hello,
>>
>> hwloc-2.0rc1 build seems to fail on Solaris, with the following CFLAGS:
>>
>> CFLAGS="-Werror-implicit-function-declaration -std=c99"
>>
>> I'm using gcc-4.8.2
>>
>> Thanks,
>>
>>   -- Pavan
>>
>> ___
>> hwloc-users mailing list
>> hwloc-users@lists.open-mpi.org
>> https://lists.open-mpi.org/mailman/listinfo/hwloc-users

___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users

Re: [hwloc-users] hwloc-2.0rc1 failure on Solaris

2018-01-25 Thread Brice Goglin
Like the error below?

This code hasn't changed recently. Did you ever build with these flags
before?

I am not sure I'll have time to fix yet another header crazyness before rc2.

Brice



  CC   base64.lo
In file included from
/builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/private.h:29:0,
 from base64.c:128:
/builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h: In
function 'hwloc_strncasecmp':
/builds/hwloc-master-20180124.2347.gitf53fe3a/include/private/misc.h:370:10:
error: implicit declaration of function 'strncasecmp'; did you mean
'strncmp'? [-Werror=implicit-function-declaration]
   return strncasecmp(s1, s2, n);
  ^~~
  strncmp
cc1: some warnings being treated as errors


Le 25/01/2018 à 10:45, Balaji, Pavan a écrit :
> Hello,
>
> hwloc-2.0rc1 build seems to fail on Solaris, with the following CFLAGS:
>
> CFLAGS="-Werror-implicit-function-declaration -std=c99"
>
> I'm using gcc-4.8.2
>
> Thanks,
>
>   -- Pavan
>
> ___
> hwloc-users mailing list
> hwloc-users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/hwloc-users

___
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/hwloc-users