On 2024-07-24 00:59, Lőrinczy wrote:
(Coincidentally, it is gnulib that prevents me from compiling
tar-1.35 on Aix-7.2 with gc-8.3: gnulib's sttdef.h does some clever
trick to outmaneuver xlc regarding max_align_t -- sadly this clever
trick doesn't work with gcc.)
I think that problem was fixed in Gnulib after tar 1.35 was released[1].
Although I don't have access to AIX 7.2, cfarm111.cfarm.net[2] does have
AIX 7.1 with GCC 8.3.0 and to verify my suspicion I reproduced the
problem as follows with tar 1.35:
./configure CC='gcc -maix64' ARFLAGS-crX64
make
I also confirmed that the problem does not occur with bleeding-edge GNU
tar, which I just now updated on savannah[3] to use current Gnulib (this
required a fixup[4] so that GNU tar no longer attempts to use
gettimeofday, which is removed in POSIX.1-2024).
[1]:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=17c85713388407841f5c9978ecb3ccaf34ef76f1
[2]: https://portal.cfarm.net/machines/list/
[3]:
https://git.savannah.gnu.org/cgit/tar.git/commit/?id=bd066ac0a549f4022f1305b84800db5174fedb6f
[4]:
https://git.savannah.gnu.org/cgit/tar.git/commit/?id=3d2c735b7c8ff3982812df1117597a475c7cc72f