Re: [hwloc-users] hwloc-2.0rc1 failure on Solaris
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 Goglinwrote: > > 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
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
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] hwloc-2.0rc1 failure on Solaris
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