Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53825 - dev-util/biew-5.5.0 and 5.6.1 compilation failure
Summary: dev-util/biew-5.5.0 and 5.6.1 compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 12:18 UTC by David Holm (RETIRED)
Modified: 2004-06-17 11:49 UTC (History)
0 users

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 David Holm (RETIRED) gentoo-dev 2004-06-13 12:18:35 UTC
I tried emerging both versions of biew and they both fail at the same place:

biewlib/sysdep/ia32/cpu_info.c: In function `__cpuid_ebxecx':
biewlib/sysdep/ia32/cpu_info.c:166: error: can't find a register in class `BREG' while reloading `asm'

I tried using both my regular CFLAGS and no CFLAGS at all.

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://ds.thn.htu.se/linux/gentoo ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.tiscali.nl/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi acpi4linux afs apache1 apache2 apm avi berkdb bonobo cap caps clamav crypt cscope cups curl dillo distribution doc encode f77 faad fam fdftk flash freetds gcj gd gd-external gdbm gif ginac gmp gtk gtk2 gtkhtml hardened hdf hdf5 icc idea ifc imlib imlib2 ipv6 java javascript jikes jpeg kde kerberos lcms ldap libg libgda lua matroska mbox mcal md5sum memlimit milter mmap mmx mng mono motif mozilla moznoxft mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mysql nas ncurses nls objc oggvorbis opengl openssh pam parse-clocks pcre pdflib perl php pic plotutils png postgres prelude python qhull qt quicktime readline ruby samba sasl sdl slang slp snmp socks5 speex spell sqlite sse ssl svg tcltk tcpd tetex theora threads tiff truetype usb wmf x86 xchattext xface xml xml2 xosd xv xvid yaz zlib"
Comment 1 David Holm (RETIRED) gentoo-dev 2004-06-13 17:08:33 UTC
Seems to be caused by gcc being compiled with the hardened USE-flag. Recompiled gcc without it and now biew emerges.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-06-17 11:49:28 UTC
Ok, I added a warning about it in the ebuilds. They should now fail with a nice eerror message on systems with hardened gcc.