Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gimp 2.0.0 doesn't build - cannot find a register
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
jmkf
n00b
n00b


Joined: 24 May 2004
Posts: 3

PostPosted: Sat Jun 26, 2004 7:08 pm    Post subject: gimp 2.0.0 doesn't build - cannot find a register Reply with quote

I get the following error whele building gimp 2.0.0:


gimp-composite-mmx.c: In function `gimp_composite_addition_rgba8_rgba8_rgba8_mmx':
gimp-composite-mmx.c:117: error: can't find a register in class `GENERAL_REGS' while reloading `asm'

I got this error while using:

CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
USE="-3dfx 3dnow mmx -accessibility -afs doc apache2 apm -cjk cddr -canna -bidi crypt cscope ethereal gnome gphoto2 gif gtk gtk2 hardened imap imagemagick java jpeg junit mozilla mpeg ldap ncurses nocardpub odbc pam perl png postgres bindist scanner samba snmp ssl tetex tiff truetype X Xaw3d xml xml2 zlib"

I have got installed:

sys-devel/gcc-3.3.3-r6
sys-libs/glibc-2.3.3.20040420

when using other CFLAGS:
CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"
something similar occurs:

cpu-accel.c: In function `arch_accel':
cpu-accel.c:174: error: can't find a register in class `BREG' while reloading `asm'

I also tried both build with -hardened instead of hardened but the received errors are the same. All other packages have been build using hardened and with the CFLAGS CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"

anyone an idea?
Back to top
View user's profile Send private message
Prince Caspian
n00b
n00b


Joined: 26 Oct 2002
Posts: 11
Location: Waterloo, Ontario, Canada

PostPosted: Sun Jun 27, 2004 10:35 pm    Post subject: Reply with quote

I was having this problem, too, until I removed -fPIC from my CFLAGS. But it doesn't look like you have that flag.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum