Attached is a new efibootmgr ebuild and a patch to elilo to support 2.6 kernels, in which /proc/efi/vars has moved to /sys/firmware/efi and changed format. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 42695 [details] ebuild for current efibootmgr version
Created attachment 42696 [details, diff] patch required for new efibootmgr ebuild
Created attachment 42698 [details, diff] patch to sys-boot/elilo/files/elilo-3.4 to support 2.6 kernels
i dont see the point of the second patch ... i didnt need it when i built 0.5.0 ... in the future, file sep bugs for sep packages
added 0.5.0 to portage w/out your patch
*shrug* I needed to the patch to get it to compile; if you don't, great. My glibc is probably older than yours.
Compiles fine here. What compiler error are you getting?
Don't worry about it. Like I said, I'm probably running an older glibc. My Itaniums are in production, so I can't immediately upgrade glibc whenever a new version comes out.
ok, we should be set then yeah ? :)
Cannot compile efibootmgr 0.5.0, as the system does not know about u64... Looks like I miss the u64 patch too ! My glibc is 2.3.4.20041102 And my emerge info: Portage 2.0.51.19 (default-linux/ia64/2004.3, gcc-3.3.2, glibc-2.3.2-r1,glibc-2.3.2-r3,glibc-2.3.4.20041102-r0,glibc-2.3.2-r11,glibc-2.3.2-r9,glibc-2.3.2-r12, 2.6.8-gentoo-r3 ia64) ================================================================= System uname: 2.6.8-gentoo-r3 ia64 Gentoo Base System version 1.4.16 Python: dev-lang/python-2.2.3-r1,dev-lang/python-2.3.4-r1,dev-lang/python-2.3.4,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.3 [2.3.4 (#1, Mar 8 2005, 17:25:32)] dev-lang/python: 2.2.3-r1, 2.3.4-r1, 2.3.4, 2.2.3-r5, 2.3.3 sys-devel/autoconf: 2.57-r1, 2.58, 2.58-r1, 2.59-r4, 2.59-r5, 2.13, 2.59-r6 sys-devel/automake: 1.7.5-r2, 1.7.8, 1.8.3, 1.8.5-r1, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.14.90.0.2, 2.14.90.0.6-r3, 2.14.90.0.6-r6, 2.14.90.0.7-r4, 2.14.90.0.8-r1 sys-devel/libtool: 1.4.3-r1, 1.4.3-r4, 1.5.2-r5, 1.5.2-r7, 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="ia64" AUTOCLEAN="no" CFLAGS="-O2 -pipe" CHOST="ia64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acpi alsa apache2 berkdb bitmap-fonts crypt cups curl dba doc dvd encode fam font-server fortran gd gdbm gif ia64 imap imlib jpeg ldap libg++ libwww maildir mikmod mpi mysql ncurses nls oggvorbis oss pam pam-mysql pdflib perl png python readline samba sasl snmp spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb vhosts xml2 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS And emerge output: # emerge efibootmgr Calculating dependencies ...done! >>> emerge (1 of 1) sys-boot/efibootmgr-0.5.0 to / >>> md5 src_uri ;-) efibootmgr-0.5.0.tar.gz >>> Unpacking source... >>> Unpacking efibootmgr-0.5.0.tar.gz to /var/tmp/portage/efibootmgr-0.5.0/work * Applying efibootmgr-0.4.1-makefile.patch ... [ ok ]>>> Source unpacked. cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants -Isrc/lib -Isrc/include -c -o src/lib/crc32.o src/lib/crc32.c cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants -Isrc/lib -Isrc/include -c -o src/lib/disk.o src/lib/disk.c cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants -Isrc/lib -Isrc/include -c -o src/lib/efi.o src/lib/efi.c cc -O2 -pipe -DEFIBOOTMGR_VERSION=\"0.5.0\" -Wall -fno-merge-constants -Isrc/lib -Isrc/include -c -o src/lib/efichar.o src/lib/efichar.c In file included from src/lib/efi.c:39: /usr/include/linux/ethtool.h:243: error: syntax error before "u64" /usr/include/linux/ethtool.h:250: error: syntax error before "u64" /usr/include/linux/ethtool.h:349: error: syntax error before "u64" /usr/include/linux/ethtool.h:353: error: syntax error before "u64" make: *** [src/lib/efi.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: sys-boot/efibootmgr-0.5.0 failed. !!! Function src_compile, Line 26, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Then, what should to do ? Is it safe to remove all glibc versions but the last one ? Or should I just patch elilo and efibootmgr to compile them ? And 1 last question about this error msg '/usr/include/linux/ethtool.h:243: error: syntax error before "u64"': how is it possible that a C type used in a system header is undefined ?