Sunday, May 1, 2011

GCC test errors

I've compiled gcc 4.5.2 and although apparently it is impossible to have no unexpected fails when testing your compiled version (why!?), I had some extra errors when running "make -k test":

FAIL: gcc.c-torture/compile/limits-exprparen.c  -O0  (test for excess errors)
FAIL: gcc.c-torture/compile/limits-exprparen.c  -O1  (test for excess errors)
FAIL: gcc.c-torture/compile/limits-exprparen.c  -O2  (test for excess errors)
FAIL: gcc.c-torture/compile/limits-exprparen.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: gcc.c-torture/compile/limits-exprparen.c  -O3 -g  (test for excess errors)
FAIL: gcc.c-torture/compile/limits-exprparen.c  -Os  (test for excess errors)

According to the compile instructions for GCC in LinuxFromScratch you have to increase your stack size to be able to successfully pass these tests:

ulimit -s 16384

No comments:

Post a Comment