grub-0.97 test failure

Trent Shea trent.shea at
Thu May 28 09:17:07 PDT 2009

Has anyone experienced this error when running make check on grub-0.97? The 
test fails when building trunk Revision: 8935 (in chroot, and if I boot into 
the 6.5 system and build.)

make[3]: Entering directory `/grub-0.97/stage2'
ffs_stage1_5 is too big (8008 > 7168).
FAIL: size_test
1 of 1 tests failed
Please report to bug-grub at
make[3]: *** [check-TESTS] Error 1
make[3]: Leaving directory `/grub-0.97/stage2'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/grub-0.97/stage2'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/grub-0.97/stage2'

I eventually got it to pass the test by using the following CFLAGS:
export CFLAGS="-march=i486 -mtune=native -Os"
I copied the first flags from the glibc section and had to add '-Os' to get 
the size down. I'm really out of my element here, so any review on this 
approach would be appreciated.

I referenced for the '-Os' flag.


More information about the lfs-dev mailing list