Hi,
there are some errors for platformtest.sh on my Cobalt Qube 1, 150 MHz MIPS CPU, 60 MB RAM, Debian 4.0.
# cat /etc/debian_version 4.0
# cat /proc/cpuinfo system type : Cobalt Qube processor : 0 cpu model : Nevada V1.0 FPU V1.0 BogoMIPS : 148.99 wait instruction : yes microsecond timers : yes tlb_entries : 48 extra interrupt vector : yes hardware watchpoint : no ASEs implemented : shadow register sets : 1 VCED exceptions : not available VCEI exceptions : not available
# time ./configure
ngIRCd 18~rc2 has been configured with the following options:
Target: mipsel-unknown-linux-gnu Compiler: gcc -std=gnu99 Compiler flags: -g -O2 -pipe -W -Wall -Wpointer-arith -Wstrict-prototypes -DSYSCONFDIR='"$(sysconfdir)"' Libraries: -lz
'ngircd' binary: /usr/local/sbin Configuration file: /usr/local/etc Manual pages: /usr/local/share/man Documentation: /usr/local/share/doc/ngircd
Syslog support: yes Enable debug code: no zlib compression: yes IRC sniffer: no Use TCP Wrappers: no Strict RFC mode: no IDENT support: no IRC+ protocol: yes IPv6 protocol: no I/O backend: "epoll(), select()" PAM support: no SSL support: no
real 6m3.430s user 3m43.846s sys 2m6.552s
# time make
real 10m12.506s user 9m21.779s sys 0m35.626s
root@qube:~/ngircd-18~rc2/contrib # ./platformtest.sh platformtest.sh: Checking ngIRCd base source directory ... platformtest.sh: Checking for "./autogen.sh" script ... platformtest.sh: Running "./configure" script ... platformtest.sh: Running "make" ... platformtest.sh: Running "make check" ... portabtest.c: In function 'main': portabtest.c:43: warning: the address of 'snprintf', will always evaluate as 'true' portabtest.c:44: warning: the address of 'vsnprintf', will always evaluate as 'true' portabtest.c:45: warning: the address of 'strlcpy', will always evaluate as 'true' portabtest.c:46: warning: the address of 'strlcat', will always evaluate as 'true' ./getpid.sh: line 22: 7161 Speicherzugriffsfehler ps $PS_FLAGS >/dev/null 2>&1 ./getpid.sh: line 31: 7162 Speicherzugriffsfehler ps $PS_FLAGS >procs.tmp ./getpid.sh: line 22: 7185 Speicherzugriffsfehler ps $PS_FLAGS >/dev/null 2>&1 ./getpid.sh: line 31: 7186 Speicherzugriffsfehler ps $PS_FLAGS >procs.tmp make[3]: *** [check-TESTS] Fehler 1 make[2]: *** [check-am] Fehler 2 make[1]: *** [check-recursive] Fehler 1 make: *** [check-recursive] Fehler 1
the executable works ("runs") as expected --+ tests run successfully ("make check") --+ | ngIRCd compiles ("make") --+ | | ./configure works --+ | | | | | | | Platform Compiler ngIRCd Date Tester C M T R See --------------------------- ------------ ---------- -------- ------ - - - - --- mipsel/unknown/linux-gnu gcc 4.1.2 18~rc2 11-07-05 root Y Y N Y (1)
Grüße Götz
Hi Götz!
Am 05.07.2011 um 22:43 schrieb Götz Hoffart:
there are some errors for platformtest.sh on my Cobalt Qube 1, 150 MHz MIPS CPU, 60 MB RAM, Debian 4.0.
Thanks for testing!
root@qube:~/ngircd-18~rc2/contrib # ./platformtest.sh platformtest.sh: Checking ngIRCd base source directory ... platformtest.sh: Checking for "./autogen.sh" script ... platformtest.sh: Running "./configure" script ... platformtest.sh: Running "make" ... platformtest.sh: Running "make check" ... portabtest.c: In function 'main': portabtest.c:43: warning: the address of 'snprintf', will always evaluate as 'true' portabtest.c:44: warning: the address of 'vsnprintf', will always evaluate as 'true' portabtest.c:45: warning: the address of 'strlcpy', will always evaluate as 'true' portabtest.c:46: warning: the address of 'strlcat', will always evaluate as 'true' ./getpid.sh: line 22: 7161 Speicherzugriffsfehler ps $PS_FLAGS >/dev/null 2>&1 ./getpid.sh: line 31: 7162 Speicherzugriffsfehler ps $PS_FLAGS >procs.tmp ./getpid.sh: line 22: 7185 Speicherzugriffsfehler ps $PS_FLAGS >/dev/null 2>&1 ./getpid.sh: line 31: 7186 Speicherzugriffsfehler ps $PS_FLAGS >procs.tmp
Hm … this looks as if „ps“ is crashing … Could you try if „ps -ax“ works for you?
the executable works ("runs") as expected --+ tests run successfully ("make check") --+ | ngIRCd compiles ("make") --+ | | ./configure works --+ | | | | | | |
Platform Compiler ngIRCd Date Tester C M T R See
mipsel/unknown/linux-gnu gcc 4.1.2 18~rc2 11-07-05 root Y Y N Y (1)
Thanks, will be added to doc/Platforms.txt!
Regards Alex