chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] "make check" is 40 times slower than "make" (gcc 4.9)


From: Sven Hartrumpf
Subject: [Chicken-hackers] "make check" is 40 times slower than "make" (gcc 4.9)
Date: Thu, 30 Apr 2015 14:54:55 +0200 (CEST)

Hi all.

Some months ago, I stumbled across the fact that "make check" for
chicken takes almost 2 hours with recent gcc versions.
(The build without the check step takes only 2.5 minutes -
very impressive. Measured again today.)
Only one test is the "culprit": the many-arguments test (in its gcc part).
As months passed and no one has complained, I do complain, now :-)

======================================== runtime tests ...
many arguments supported.
testing 'apply' with 0..2048 (maximum apply argument count)...
If this segfaults on x86-64, try updating GCC (4.5 has a code-generation bug):
invoking directly with 0..50...
invoking directly with 1998..2048 (maximum interpreted direct argument count)...
testing 'apply' can detect calls of too many arguments...
testing direct invocation can detect calls of too many arguments...
/var/tmp/chicken-4.9.0.1/tests/../chicken 'apply-test.scm' -output-file 'a.c' 
-types ../types.db -ignore-repository -verbose -include-path 
/var/tmp/chicken-4.9.0.1/tests/..
'gcc32' 'a.c' -o 'a.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -O2 -fomit-frame-pointer -march=corei7 
-I/var/tmp/chicken-4.9.0.1/tests/.. -I"/usr/local/chicken-4.9.0/include/ch
icken"
rm a.c
'gcc32' 'a.o' -o 'a.out' -L/var/tmp/chicken-4.9.0.1/tests/.. 
-Wl,-R/var/tmp/chicken-4.9.0.1/tests/.. -L"/usr/local/chicken-4.9.0/lib"  
-Wl,-R"/usr/local/chicken-4.9.0/lib" -lchicken -lm -ldl
rm a.o
many arguments supported.
testing 'apply' with 0..2048 (maximum apply argument count)...
If this segfaults on x86-64, try updating GCC (4.5 has a code-generation bug):
invoking directly with 0..50...
invoking directly with 1998..2048 (maximum compiled direct argument count)...
testing 'apply' can detect calls of too many arguments...
testing direct invocation can detect calls of too many arguments...
/var/tmp/chicken-4.9.0.1/tests/../chicken 'test-gc-hooks.scm' -output-file 
'a.c' -types ../types.db -ignore-repository -verbose -include-path 
/var/tmp/chicken-4.9.0.1/tests/..
'gcc32' 'a.c' -o 'a.o' -c  -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H 
-DC_ENABLE_PTABLES -O2 -fomit-frame-pointer -march=corei7 
-I/var/tmp/chicken-4.9.0.1/tests/.. -I"/usr/local/chicken-4.9.0/include/ch
icken"
rm a.c
'gcc32' 'a.o' -o 'a.out' -L/var/tmp/chicken-4.9.0.1/tests/.. 
-Wl,-R/var/tmp/chicken-4.9.0.1/tests/.. -L"/usr/local/chicken-4.9.0/lib"  
-Wl,-R"/usr/local/chicken-4.9.0/lib" -lchicken -lm -ldl

('gcc32' is tiny script to build 32bit programs in a 64bit box: gcc-4.9 -m32 
-Wa,-32 $* )

Ciao
Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]