Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88108 - grub-0.94-r1: build errors in a uclibc env (hardened)
Summary: grub-0.94-r1: build errors in a uclibc env (hardened)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Eric Edgar (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 18:28 UTC by Christian Zoffoli (RETIRED)
Modified: 2005-04-06 05:27 UTC (History)
2 users (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-04-05 18:28:50 UTC
at the beginning of the emerge process I've noticed this error
/usr/portage/eclass/flag-o-matic.eclass: line 347: -fno-pic: command not found

...after some minutes I can see this error on the compilation process:
---
  -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 78, Exitcode 2
!!! making netboot stuff
!!! If you need support, post the topmost build error, NOT this status message.
---

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

Actual Results:  
compilation fails 


Portage 2.0.51.19 (uclibc/x86/hardened, gcc-3.3.5, uclibc-0.9.27-r0, 
2.6.10-hardened-r1 i686) 
================================================================= 
System uname: 2.6.10-hardened-r1 i686 VIA Ezra 
Gentoo Base System version 1.6.9 
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr  5 2005, 
03:39:33)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.4-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.6.3, 1.9.4, 1.8.5-r3, 1.7.9-r1, 1.4_p6 
sys-devel/binutils:  2.15.92.0.2-r7 
sys-devel/libtool:   1.5.10-r4 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -pipe" 
CHOST="i386-pc-linux-uclibc" 
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="apache2 apm berkdb crypt dhcp gdbm hardened hostap-noplx justify libwww 
make-busybox-symlinks multicall ncurses oggvorbis pcmcia pic pie png pnp 
postgres readline slang snmp speex ssl tcpd uclibc x86 zlib" 
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-04-06 05:27:12 UTC
should be fine in 0.96-r1