Re: [cfarm-users] AIX portability

2022-09-21 Thread Kaz Kylheku via cfarm-users
On 2022-09-21 02:49, Jonathan Wakely wrote: > Well this is just user error. Unless I'm mistaken, _XOPEN_SOURCE=500 > selects a standard that doesn't even define struct in6_addr. That is almost certainly correct; but the issue reproduces with 700, which I tried first. Then I found the smallest val

Re: [cfarm-users] AIX portability

2022-09-21 Thread Kaz Kylheku via cfarm-users
On 2022-09-21 01:32, Bruno Haible wrote: > Kaz Kylheku wrote: >> gcc -E - -D_XOPEN_SOURCE=500 > > Defining _XOPEN_SOURCE — or worse, _POSIX_SOURCE — on arbitrary platforms > is a recipe for producing compilation errors. > > On HP-UX/hppa, -D_XOPEN_SOURCE=500 is useful. > On HP-UX/ia64, -D_XOPEN_S

Re: [cfarm-users] Two problems on the gcc119 machine

2022-09-21 Thread David Edelsohn via cfarm-users
On Wed, Sep 21, 2022 at 11:08 AM Bruno Haible wrote: > David Edelsohn wrote: > > Someone created a huge file in /var/tmp. I have removed it, so there now > > is space. > > Thank you! > > > > 2) A symbolic link for /usr/lib/libncurses.a exists, but linking with > > > this library produces a non-f

Re: [cfarm-users] Two problems on the gcc119 machine

2022-09-21 Thread Bruno Haible via cfarm-users
David Edelsohn wrote: > Someone created a huge file in /var/tmp. I have removed it, so there now > is space. Thank you! > > 2) A symbolic link for /usr/lib/libncurses.a exists, but linking with > > this library produces a non-functional program: > > > > $ cat conftest.c > > extern int tgetent (c

Re: [cfarm-users] Two problems on the gcc119 machine

2022-09-21 Thread David Edelsohn via cfarm-users
On Sun, Sep 18, 2022 at 10:15 AM Bruno Haible via cfarm-users < cfarm-users@lists.tetaneutral.net> wrote: > On the gcc119 (AIX 7.2) machine, there are two problems: > > 1) The /var partition is full: > > $ df -m /tmp /var/tmp > FilesystemMB blocks Free %UsedIused %Iused Mounted on > /

Re: [cfarm-users] AIX portability

2022-09-21 Thread Jonathan Wakely via cfarm-users
On Wed, 21 Sept 2022 at 04:19, Kaz Kylheku via cfarm-users wrote: > > On 2022-09-20 14:29, Bruno Haible wrote: > > This is on gcc119.fsffrance.org (AIX 7.2). About which AIX and GCC versions > > were you complaining? > > I neglected to mention: there are two areas in the header file > which defin

Re: [cfarm-users] AIX portability

2022-09-21 Thread Bruno Haible via cfarm-users
Kaz Kylheku wrote: > gcc -E - -D_XOPEN_SOURCE=500 Defining _XOPEN_SOURCE — or worse, _POSIX_SOURCE — on arbitrary platforms is a recipe for producing compilation errors. On HP-UX/hppa, -D_XOPEN_SOURCE=500 is useful. On HP-UX/ia64, -D_XOPEN_SOURCE=600 is useful, but only in combination with -D_HPU