Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64456 - emerge ogle-gui: compile gives can't find a register in class `GENERAL_REGS' while reloading `asm'
Summary: emerge ogle-gui: compile gives can't find a register in class `GENERAL_REGS' ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on: 64450
Blocks:
  Show dependency tree
 
Reported: 2004-09-17 14:29 UTC by Ole Tange
Modified: 2005-07-24 06:55 UTC (History)
1 user (show)

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


Attachments
Output from emerge ogle-gui (ogle-gui.out,29.27 KB, text/plain)
2004-09-17 14:29 UTC, Ole Tange
Details
Output from emerge info (emerge-info,2.50 KB, text/plain)
2004-09-17 14:30 UTC, Ole Tange
Details
Output from USE=-mmx emerge ogle-gui (ogle-gui.out-mmx,145.97 KB, text/plain)
2004-09-17 14:44 UTC, Ole Tange
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2004-09-17 14:29:26 UTC
emerge ogle-gui gives the attached output

Reproducible: Always
Steps to Reproduce:
Comment 1 Ole Tange 2004-09-17 14:29:58 UTC
Created attachment 39797 [details]
Output from emerge ogle-gui
Comment 2 Ole Tange 2004-09-17 14:30:32 UTC
Created attachment 39798 [details]
Output from emerge info
Comment 3 Ole Tange 2004-09-17 14:44:26 UTC
Created attachment 39803 [details]
Output from USE=-mmx emerge ogle-gui

It seems USE=-mmx solved this issue. Just like Bug 62489
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-17 17:42:11 UTC
have you tried with -march _instead of_ -mcpu?
Comment 5 Ole Tange 2004-09-17 19:18:29 UTC
Yes. That works, too. However, mmx is not a default Gentoo setting, whereas mcpu _is_. In my opinion it would be unreasonable to assume a Gentoo user should change a default setting just to make something compile.

Comment 6 Martin Holzer (RETIRED) gentoo-dev 2004-09-20 05:34:04 UTC
depend -> same reporter
Comment 7 Ole Tange 2004-09-25 10:03:30 UTC
I had a gut feeling that this was caused by USE=hardened. So I tried removing
'hardened' and recompiled first gcc then ogle-gui. It works. I thereby feel
that it is proven that it is the 'hardened' version of gcc that conflicts with
ogle-gui.

See also Bug 65215.
Comment 8 Daniel Black (RETIRED) gentoo-dev 2004-12-23 15:19:09 UTC
bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11203
Comment 9 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-16 14:46:38 UTC
hardened, please advise. looks to me like this is related to you :-)
Comment 10 solar (RETIRED) gentoo-dev 2005-04-16 18:37:24 UTC
You can blame hardened if you want.
USE=-mmx or -fomit-frame-pointer or misc levels of -O[0-3,s] all effect the 
number of free registers on the x86 arch. so pick something mmx/pic/-fomit.. or 
other to free up some regs.
Comment 11 Kevin F. Quinn (RETIRED) gentoo-dev 2005-07-24 06:55:18 UTC
ogle-0.9.2 emerges fine here with mmx enabled; I think because the file is now
compiled with the '-fomit-frame-pointer', which regains a register (something
from the ogle build, not from my CFLAGS).

Please try the latest version, and re-open if problem is not fixed for you.