lilo-22.7.2 fails at runtime with the following error message: # lilo -v LILO version 22.7.2, Copyright (C) 1992-1998 Werner Almesberger Development beyond version 21 Copyright (C) 1999-2006 John Coffman Released 05-Jul-2006, and compiled at 12:02:56 on Jul 13 2006 Reading boot sector from /dev/hda1 Using MENU secondary loader Calling map_insert_data Boot image: /boot/vmlinuz -> vmlinuz-2.6.17-gentoo-r2-local-2 Added Linux * Boot other: /dev/hda3, on /dev/hda, loader CHAIN Fatal: Chain loader /boot/chain.b is too big # cat /etc/lilo.conf lba32 boot=/dev/hda1 menu-scheme=Wb prompt timeout=200 vga=791 image=/boot/vmlinuz label=Linux read-only root=/dev/hda5 append="resume=/dev/hda6" other=/dev/hda3 label=Windows # emerge --info Portage 2.1.1_pre2-r8 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r2-local-2 i686) ================================================================= System Settings ================================================================= System uname: 2.6.17-gentoo-r2-local-2 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: [Not Present] sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/fax /usr/share/X11/xkb /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://a1igentoo.kph.uni-mainz.de/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.osuosl.org http://gentoo.inode.at" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/a1 /usr/local/overlays/ulm" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3d aalib acpi alsa amr apache2 asf avi berkdb bitmap-fonts bzip2 cairo caps cdparanoia cdr cli clisp crypt directfb dlloader dri dvd eds emacs emacs-w3 emboss encode exif expat fam fbcon ffmpeg firefox foomaticdb fortran gcj gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml idea ieee1394 imap imlib ipv6 irda isdnlog java jpeg libcaca libg++ libwww logrotate mad mikmod mmx mng motif mp3 mpeg ncurses nls nocd nptl nptlonly nsplugin offensive ogg opengl oss pcmcia pcre pdflib perl png postgres pppd python qt qt3 qt4 quicktime readline recode reflection sdl seamonkey session skey sox spell spl sse sse2 ssl tcpd tetex tiff truetype truetype-fonts type1-fonts udev userlocales vorbis wifi win32codecs wxwindows xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_i810 video_cards_vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
It looks like the *.img (and *.b) files are no longer stripped in -22.7.2. If I omit lilo-22.7.2-nostrip.patch, everything is fine. So, please find another way to get rid of portage's QA notice. ;-)
It does indeed seem that although Portage wants to strip binaries by itself, it doesn't always do that correctly. I agree that the patch has to go. People will have to live with the warning for now. Thank you for your bug report :)
Please note that there is also an explicit "strip $$ROOT$(SBIN_DIR)/lilo" done during "make install". Removing this line from the Makefile seems to quieten Portage. See attachment.
Created attachment 91639 [details, diff] lilo-22.7.2-install-nostrip.patch
*** Bug 140326 has been marked as a duplicate of this bug. ***
Looks like I closed this bug a little too early, sorry about that. Thanks for the install-nostrip patch Ulrich, this has been incorporated into the lilo-22.7.2-r2 ebuild.