[TRE-general] can't find a register in class `GENERAL_REGS' while reloading `asm'
Ville Laurikari
ville at laurikari.net
Mon Apr 16 09:08:00 EEST 2007
On Sun, Apr 15, 2007 at 04:43:52PM -0700, Gregory Sharp wrote:
> wholly certain. I also found that I can work around by
> setting CFLAGS="-O1".
>
> What is the cause, and is there a general solution
> for this? My concern is that I'm including (and
As far as I understand, this is a bug in certain versions of GCC.
The general solution is to either force the CFLAGS like you did, or
use a different version of GCC.
Since you're bundling TRE sources with your app, you should be able to
just always use CFLAGS="-O1" when compiling for x86 with gcc. GCC 4.x
-O1 generates slightly slower code than -O2. GCC 3.x -O1 generates
slightly faster code than -O2.
--
http://www.iki.fi/vl/
More information about the TRE-general
mailing list