On all the AIX machines I have access to, with all compiler optimisations turned off, I get this:
aix7% make check ... xlc -qlanglvl=extc99 -g -o test-fclose test-fclose.o libtests.a ../lib/libm4.a libtests.a ... PASS: test-errno ../build-aux/test-driver: line 95: 901346 IOT/Abort trap (core dumped) "$@" > $log_file 2>&1 FAIL: test-fclose PASS: test-fcntl-h test-suite.log shows: ========================================= GNU M4 1.4.17: tests/test-suite.log ========================================= # TOTAL: 163 # PASS: 142 # SKIP: 20 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ... FAIL: test-fclose ================= test-fclose.c:74: assertion failed Referring to: 71 errno = 0; 72 ASSERT (lseek (fd2, 0, SEEK_CUR) == -1); 73 ASSERT (errno == EBADF); 74 ASSERT (lseek (fd, 0, SEEK_CUR) == 3); 75 Anything I can do to help debug this failure? Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)