Summary: | >=sys-boot/grub-0.94-r1 fail maketest - "ffs_stage1_5 is too big" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ryan Hill (RETIRED) <rhill> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
grub-0.94-sizetest.patch
grub-0.95.20040823-sizetest.patch |
Description
Ryan Hill (RETIRED)
2004-11-19 21:31:19 UTC
Unfortunately, the very nature of the beast means that things like this are an absolute git to fix. I think the reason for this particular problem is the fact that some of the flags deprecated in 3.3 are now ignored entirely in 3.4, and this means that things meant to reduce the size of the stage1_5 files don't actually do anything. Fixing this has been on my todo list for a while, and unfortunately unless someone can provide a patch it might stay there for a while too. well, i have nothing but time these days so i'll poke it with a stick for a bit. i probably don't know enough to figure it out, but can't hurt and i need the experience ;] in the meantime, would it be a good idea (or possible) to disable the tests? someone installing gentoo (or linux even) for the first time isn't going to feel very comfortable when a critical piece of their system can't pass its own inspection. (ie. so it don't spook the noobs.) I'm working on removing the tests for FFS and UFS2 from the build. As yet I haven't managed it, although I'm assured it's possible. It is not only a problem of gcc-3.4. I got the same error with gcc-3.3.4 but my ffs_stage1_5 is a little bit smaller. here is what i got: ... make check-TESTS make[3]: Entering directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94/stage2' ffs_stage1_5 is too big (9216 > 7168). FAIL: size_test ================================= 1 of 1 tests failed Please report to bug-grub@gnu.org ================================= make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94/stage2' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94/stage2' make[1]: *** [check] Error 2 make[1]: Leaving directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94/stage2' make: *** [check-recursive] Error 1 !!! ERROR: sys-boot/grub-0.94-r1 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message. my emerge info: Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26-gentoo-r13 i686) ================================================================= System uname: 2.4.26-gentoo-r13 i686 Pentium II (Deschutes) Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=pentium2 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/tomcat5 /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=pentium2 -fomit-frame-pointer -pipe" DISTDIR="/mnt/space/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks maketest sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage/tree" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 apm avi berkdb bitmap-fonts chroot crypt curl encode f77 foomaticdb gd gdbm gif gtk2 imap imlib innodb javascript jpeg libwww lzw-tiff mad maildir mikmod motif mpeg ncurses oggvorbis opengl pam pdflib pic png quicktime readline samba sasl spell ssl tcpd tiff x86 xml xml2 xmms xv zlib" Hmmm, I better read all your lines; you already checked it with gcc-3.3.4 and your file has the same size ;-) these disable the size_tests for ffs and ufs2 with grub-0.94 and 0.95. Created attachment 48740 [details, diff]
grub-0.94-sizetest.patch
Created attachment 48741 [details, diff]
grub-0.95.20040823-sizetest.patch
disable ffs and ufs2 size_test for grub-0.95
Comment on attachment 48740 [details, diff]
grub-0.94-sizetest.patch
disable ffs size_test for grub-0.94
still a bug with 0.96 ? yep. 0.96-r1 removes the test |