Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78549 - sys-boot/grub-0.94-r1.ebuild failed to compile on a uclibc env
Summary: sys-boot/grub-0.94-r1.ebuild failed to compile on a uclibc env
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Robert Moss (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 11:00 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-01-26 15:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Zoffoli (RETIRED) gentoo-dev 2005-01-18 11:00:44 UTC
I can't compile grub-0.94-r1 in a uclibc env.

FYI, grub-0.95.20040823 compiles fine

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
if i386-pc-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1
 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1
-falign-loops=1 -falign-functions=1 -Wundef -Os -fno-builtin -nostdinc
-DFSYS_TFTP=1 -DINCLUDE_3C509 -DINCLUDE_3C529=1 -DINCLUDE_3C595=1
-DINCLUDE_3C90X=1 -DINCLUDE_CS89X0=1 -DINCLUDE_DAVICOM=1 -DINCLUDE_DEPCA=1
-DINCLUDE_EEPRO=1 -DINCLUDE_EEPRO100=1 -DINCLUDE_EPIC100=1 -DINCLUDE_3C507=1
-DINCLUDE_EXOS205=1 -DINCLUDE_NI5210=1 -DINCLUDE_LANCE=1 -DINCLUDE_NE2100=1
-DINCLUDE_NI6510=1 -DINCLUDE_NATSEMI=1 -DINCLUDE_NI5010=1 -DINCLUDE_3C503=1
-DINCLUDE_NE=1 -DINCLUDE_NS8390=1 -DINCLUDE_WD=1 -DINCLUDE_OTULIP=1
-DINCLUDE_RTL8139=1 -DINCLUDE_SIS900=1 -DINCLUDE_SK_G16=1 -DINCLUDE_SMC9000=1
-DINCLUDE_TIARA=1 -DINCLUDE_TULIP=1 -DINCLUDE_VIA_RHINE=1 -DINCLUDE_W89C840=1
-DCONGESTED=1 -DNE_SCAN=0x280,0x300,0x320,0x340 -DWD_DEFAULT_MEM=0xCC000 -g -MT
libdrivers_a-fsys_tftp.o -MD -MP -MF ".deps/libdrivers_a-fsys_tftp.Tpo" \
  -c -o libdrivers_a-fsys_tftp.o `test -f 'fsys_tftp.c' || echo './'`fsys_tftp.c; \
then mv -f ".deps/libdrivers_a-fsys_tftp.Tpo" ".deps/libdrivers_a-fsys_tftp.Po"; \
else rm -f ".deps/libdrivers_a-fsys_tftp.Tpo"; exit 1; \
fi
if i386-pc-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../stage2 -I../stage1
 -Wall -Wmissing-prototypes -Wunused -Wshadow -Wpointer-arith -falign-jumps=1
-falign-loops=1 -falign-functions=1 -Wundef -Os -fno-builtin -nostdinc
-DFSYS_TFTP=1 -DINCLUDE_3C509 -DINCLUDE_3C529=1 -DINCLUDE_3C595=1
-DINCLUDE_3C90X=1 -DINCLUDE_CS89X0=1 -DINCLUDE_DAVICOM=1 -DINCLUDE_DEPCA=1
-DINCLUDE_EEPRO=1 -DINCLUDE_EEPRO100=1 -DINCLUDE_EPIC100=1 -DINCLUDE_3C507=1
-DINCLUDE_EXOS205=1 -DINCLUDE_NI5210=1 -DINCLUDE_LANCE=1 -DINCLUDE_NE2100=1
-DINCLUDE_NI6510=1 -DINCLUDE_NATSEMI=1 -DINCLUDE_NI5010=1 -DINCLUDE_3C503=1
-DINCLUDE_NE=1 -DINCLUDE_NS8390=1 -DINCLUDE_WD=1 -DINCLUDE_OTULIP=1
-DINCLUDE_RTL8139=1 -DINCLUDE_SIS900=1 -DINCLUDE_SK_G16=1 -DINCLUDE_SMC9000=1
-DINCLUDE_TIARA=1 -DINCLUDE_TULIP=1 -DINCLUDE_VIA_RHINE=1 -DINCLUDE_W89C840=1
-DCONGESTED=1 -DNE_SCAN=0x280,0x300,0x320,0x340 -DWD_DEFAULT_MEM=0xCC000 -g -MT
libdrivers_a-main.o -MD -MP -MF ".deps/libdrivers_a-main.Tpo" \
  -c -o libdrivers_a-main.o `test -f 'main.c' || echo './'`main.c; \
then mv -f ".deps/libdrivers_a-main.Tpo" ".deps/libdrivers_a-main.Po"; \
else rm -f ".deps/libdrivers_a-main.Tpo"; exit 1; \
fi
main.c: In function `udpchksum':
main.c:697: error: can't find a register in class `BREG' while reloading `asm'
make[2]: *** [libdrivers_a-main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94/netboot'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/grub-0.94-r1/work/grub-0.94'
make: *** [all] Error 2

!!! ERROR: sys-boot/grub-0.94-r1 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! making netboot stuff
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51-r3 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.26-r7,
2.6.10-hardened-r1 i686)
=================================================================
System uname: 2.6.10-hardened-r1 i686 AMD Athlon(TM) XP 2500+
Gentoo Base System version 1.4.16
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.92.0.2-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe"
CHOST="i386-pc-linux-uclibc"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache digest distlocks nodoc noinfo
noman sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/x86/embedded"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.4.11/gentoo-portage"
USE="berkdb crypt dhcp gdbm hardened hostap-noplx justify libwww
make-busybox-symlinks multicall ncurses oggvorbis pcmcia pic pie png readline
snmp ssl tcpd uclibc x86 zlib"
Comment 1 Christian Zoffoli (RETIRED) gentoo-dev 2005-01-26 15:27:54 UTC
now grub compiles fine in a uclibc env