Here is the recipe I used to set up the sources: $ wget ftp://alpha.gnu.org/gnu/m4/m4-1.4.9b.tar.gz $ tar zxf m4-1.4.9b.tar.gz $ cd m4-1.4.9b
Here is the recipe I used to build and test on each machine: $ cd devel/m4-1.4.9b $ mkdir `config.guess` && cd `config.guess`$ ../configure --enable-changeword CC=[native compiler] CFLAGS= [something sensible]
$ gmake all check Where useful, I've reproduced the output of all failures with: $ VERBOSE=1 gmake check TESTS=[[...]] Here are the results of the 1.4.9b testsuite on all the hosts I have access to: i386-apple-darwin8.9.1: All checks successful powerpc-apple-darwin8.9.0: 2 failed gnulib tests test-frexpl.c:163: assertion failed FAIL: test-frexpl test-printf-frexpl.c:114: assertion failed FAIL: test-printf-frexpl x86_64-unknown-linux-gnu: All checks successful i686-pc-linux-gnu: All checks successful i386-pc-solaris2.10: 1 gnulib test failure sparc-sun-solaris2.10: 1 gnulib test failure gmake check-TESTSgmake[4]: Entering directory `/home/gary/devel/m4-1.4.9b/i386-pc- solaris2.10/tests'
../../tests/test-lseek.c:53: assertion failed Abort - core dumped FAIL: ../../tests/test-lseek.sh sparc-sun-solaris2.9: All checks successful sparc-sun-solaris2.8: All checks successful sparc-sun-solaris2.7: 1 gnulib test failure sparc-sun-solaris2.6: 1 gnulib test failure gmake check-TESTSgmake[4]: Entering directory `/home/gary/devel/m4-1.4.9b/sparc-sun- solaris2.6/tests'
FAIL: test-binary-io.sh
# truss ./tests/test-binary-io
execve("./tests/test-binary-io", 0xEFFFFD00, 0xEFFFFD08) argc = 1
resolvepath("/usr/lib/ld.so.1", "/usr/lib/ld.so.1", 1023) = 16
open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT
open("/usr/lib/libc.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF3C4) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF7B0000
mmap(0x00000000, 712704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF680000
mmap(0xEF724000, 30500, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 606208) = 0xEF724000
open("/dev/zero", O_RDONLY) = 4
mmap(0xEF72C000, 4408, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|
MAP_FIXED, 4, 0) = 0xEF72C000
munmap(0xEF716000, 57344) = 0mmap(0x00000000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0xEF7A0000
memcntl(0xEF680000, 101964, MC_ADVISE, 0x0003, 0, 0) = 0
close(3) = 0
open("/usr/lib/libdl.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF3C4) = 0
mmap(0xEF7B0000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
3, 0) = 0xEF7B0000
close(3) = 0
open("/usr/platform/SUNW,Ultra-60/lib/libc_psr.so.1", O_RDONLY) = 3
fstat(3, 0xEFFFF224) = 0
mmap(0x00000000, 8192, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF790000
mmap(0x00000000, 16384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) =
0xEF780000
close(3) = 0 close(4) = 0 munmap(0xEF790000, 8192) = 0open64("t-bin-out2.tmp", O_RDWR|O_CREAT|O_TRUNC, 035734476640) Err#13 EACCES
write(-1, " H e l l o\n", 6) Err#9 EBADF llseek(0, 0, SEEK_CUR) = 1622 _exit(1)NOTE: If I compile with CFLAGS="-mr -Qn -xstrconst -xO2", the above test actually passes!
ibm-powerpc-aix-5.3.0.0: 1 m4 check failure ibm-powerpc-aix-5.2.0.0: 1 m4 check failure Checking ../../checks/154.sysval @ ../doc/m4.texinfo:5527: Origin of test ../../checks/154.sysval: stdout mismatch 2c2 < 2304 --- > 127 ibm-powerpc-aix-5.1.0.0: All checks successful ibm-powerpc-aix-4.3.3.0: All checks successful ia64-hp-hpux11.23: 2 gnulib test failures hppa2.0w-hp-hpux11.23: 2 gnulib test failures gmake check-TESTS gmake[4]: Entering directory `/opt/build/m4-1.4.9b/tests' test-lseek.c:76: assertion failed ./test-lseek.sh[14]: 11912 Abort(coredump) FAIL: test-lseek.sh test-vasprintf-posix.c:1238: assertion failed/opt/fsw/bash30/bin/bash: line 1: 11917 ABORT instruction (core dumped) EXEEXT='' EXEEXT='' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' ${dir}$tst
FAIL: test-vasprintf-posix
hppa2.0w-hp-hpux11.11: All checks successful
hppa2.0w-hp-hpux11.00: All checks successful
hppa2.0-hp-hpux10.20: Unable to compile 1 gnulib test;
2 gnulib test failures and 1 failed m4 check
cc -I. -I../lib -I. -I. -I.. -I./.. -I../lib -I./../lib +O2 -
Ae -z +Onofltacc +ESlit +DAportable +Oentrysched +Odataprefetch
+Onolimit -c test-stdint.c
cpp: "stdint.h", line 48: warning 2013: Unknown preprocessing
directive.
cpp: "stdio.h", line 24: warning 2013: Unknown preprocessing
directive.
cpp: "stdio.h", line 36: warning 2013: Unknown preprocessing
directive.
cpp: "stdlib.h", line 24: warning 2013: Unknown preprocessing
directive.
cpp: "stdlib.h", line 36: warning 2013: Unknown preprocessing
directive.
cpp: "test-stdint.c", line 250: warning 2012: Unrepresentable
preprocessor number 1LL.
cpp: "test-stdint.c", line 250: error 4038: Bad syntax for #if
condition.
cpp: "signal.h", line 24: warning 2013: Unknown preprocessing
directive.
cpp: "signal.h", line 36: warning 2013: Unknown preprocessing
directive.
gmake[4]: *** [test-stdint.o] Error 1 test-frexpl.c:111: assertion failed/opt/fsw/bash30/bin/bash: line 1: 17730 ABORT instruction (core dumped) EXEEXT='' EXEEXT='' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' ${dir}$tst
FAIL: test-frexpl test-vasprintf-posix.c:514: assertion failed/opt/fsw/bash30/bin/bash: line 1: 17804 ABORT instruction (core dumped) EXEEXT='' EXEEXT='' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' EXEEXT='' srcdir='.' ${dir}$tst
FAIL: test-vasprintf-posix
Checking ./138.format
@ ../doc/m4.texinfo:4892: Origin of test
./138.format: stdout mismatch
6c6
< success
---
> fail
mips-sgi-irix6.5: 1 failed gnulib test
./test-lseek.sh[8]: 12909777 Bad system call(coredump)
FAIL: test-lseek.sh
(gdb) run
Program received signal SIGSYS, Bad system call.
0x0fa4a388 in _lseek () at lseek.s:20
20 lseek.s: No such file or directory.
in lseek.s
Current language: auto; currently asm
(gdb) bt
#0 0x0fa4a388 in _lseek () at lseek.s:20
#1 0x10000f24 in main () at /opt/build/m4-1.4.9b/tests/test-
lseek.c:53
alphaev67-dec-osf5.1: 1 failed m4 check
Checking ./138.format
@ ../doc/m4.texinfo:4892: Origin of test
./138.format: stdout mismatch
5c5
< 5000
---
> 11
alphaev5-dec-osf4.0d: All checks successful
Cheers,
Gary
--
())_. Email me: [EMAIL PROTECTED]
( '/ Read my blog: http://blog.azazil.net
/ )= ...and my book: http://sources.redhat.com/autobook
`(_~)_ Join my AGLOCO Network: http://www.agloco.com/r/BBBS7912
PGP.sig
Description: This is a digitally signed message part
