Re: [cfarm-users] Fixing CPU/core/threads count

2020-07-05 Thread Brice Goglin via cfarm-users
Le 06/07/2020 à 01:08, Zach van Rijn a écrit : > On Sun, 2020-07-05 at 23:24 +0200, Baptiste Jonglez via cfarm-users > wrote: >> Hi Brice, >> >> On 04-04-20, Brice Goglin wrote: >>> Le 04/04/2020 à 20:28, Baptiste Jonglez a écrit : Following up on a thread from 2018 [1], we still have issue w

Re: [cfarm-users] Fixing CPU/core/threads count

2020-07-05 Thread Zach van Rijn via cfarm-users
On Sun, 2020-07-05 at 23:24 +0200, Baptiste Jonglez via cfarm-users wrote: > Hi Brice, > > On 04-04-20, Brice Goglin wrote: > > Le 04/04/2020 à 20:28, Baptiste Jonglez a écrit : > > > Following up on a thread from 2018 [1], we still have issue with > > > counting > > > the number of CPU, cores and

Re: [cfarm-users] getopt on AIX

2020-07-05 Thread Jeffrey Walton via cfarm-users
On Sun, Jul 5, 2020 at 3:07 PM zatrazz wrote: > > On Sun, Jul 5, 2020 at 4:00 PM Bruno Haible via cfarm-users > wrote: >> >> > b2sum-src/b2sum.c:266:26: error: array type has incomplete element >> > type 'struct option' >> > static struct option long_options[] = { >> >

Re: [cfarm-users] Fixing CPU/core/threads count

2020-07-05 Thread Baptiste Jonglez via cfarm-users
Hi Brice, On 04-04-20, Brice Goglin wrote: > Le 04/04/2020 à 20:28, Baptiste Jonglez a écrit : > > Following up on a thread from 2018 [1], we still have issue with counting > > the number of CPU, cores and threads on "exotic" machines. We encountered another interesting case: on the new gcc102 ma

Re: [cfarm-users] getopt on AIX

2020-07-05 Thread zatrazz via cfarm-users
On Sun, Jul 5, 2020 at 4:00 PM Bruno Haible via cfarm-users < cfarm-users@lists.tetaneutral.net> wrote: > Jeffrey, > > > b2sum-src/b2sum.c:266:26: error: array type has incomplete element > > type 'struct option' > > static struct option long_options[] = { > > ^~

Re: [cfarm-users] getopt on AIX

2020-07-05 Thread Bruno Haible via cfarm-users
Jeffrey, > b2sum-src/b2sum.c:266:26: error: array type has incomplete element > type 'struct option' > static struct option long_options[] = { > ^~~~ When you use 'struct option', you need to 1) use Gnulib module 'getopt-gnu' - see the documentation

[cfarm-users] getopt on AIX

2020-07-05 Thread Jeffrey Walton via cfarm-users
Hi Everyone, I'm testing on gcc119, which is the AIX ppc64be machine. One of the source files fails to compile (see below). According to the getopt(3) man page, the function is available. The man page says the only include needed is . I don't use getopt for my programs so I don't have much exper