Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34000 - electricsheep-2.4-r1 compile error
Summary: electricsheep-2.4-r1 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-21 02:53 UTC by Peter Gantner (a.k.a. nephros)
Modified: 2003-11-21 07:02 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 Peter Gantner (a.k.a. nephros) 2003-11-21 02:53:09 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include    -w 
-march=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -ffast-math -mfpmath=sse,
387 -m3dnow -frename-registers  -c `test -f 'getopt.c' || echo './'`getopt.c
distcc[12086] ERROR: compile on localhost failed
cpu_accel.c: In function `arch_accel':
cpu_accel.c:78: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:84: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:92: error: can't find a register in class `BREG' while reloading 
`asm'
cpu_accel.c:96: error: can't find a register in class `BREG' while reloading 
`asm'
make[3]: *** [cpu_accel.o] Error 1

Reproducible: Always
Steps to Reproduce:




I am using an NPTL-enabled glibc, and the following system settings:

USE="3dnow aalib acpi acpi4linux apache2 avi cdr crypt dga dvd flac gtk2 \ 
        icc icc-pgo imlib informix java jikes joystick junit \
        mikmod mmx moznoirc moznomail mozp3p mysql nas nocardbus nptl \
        odbc offensive oggvorbis openal opengl oss am perl pic psyco \
        qt qtmt quicktime samba sse ssl stroke svgalib \
        tiff tcltk tcl tk wxwindows usb wmf xml xml2 xmms xv zlib \
        -alsa -apm -emacs -esd -esound -glade -gnome -gnome2 -ldap -nls \
        -ruby \
        "
FEATURES="distcc ccache prelink sandbox fixpackages"
CFLAGS="-w -march=athlon-mp -O3 -pipe -fomit-frame-pointer -fPIC -ffast-math  
-mfpmath=sse,387 -m3dnow -frename-registers"
 
glibc-2.3.2-r8
gcc-3.3.2-r2
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
Comment 1 SpanKY gentoo-dev 2003-11-21 07:02:06 UTC
take fpic out of your CFLAGS