[TRE-general] can't find a register in class `GENERAL_REGS' while reloading `asm'
skaller
skaller at users.sourceforge.net
Mon Apr 16 05:26:17 EEST 2007
On Sun, 2007-04-15 at 16:43 -0700, Gregory Sharp wrote:
> -------------
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gnulib/lib -g -O2
> -Wall -MT tre-match-approx.lo -MD -MP -MF
> .deps/tre-match-approx.Tpo -c tre-match-approx.c -fPIC -DPIC -o
> .libs/tre-match-approx.o
> tre-match-approx.c: In function `tre_tnfa_run_approx':
> /usr/include/bits/string.h:125: error: can't find a register in
> class `GENERAL_REGS' while reloading `asm'
The problem is compiling a C library system header file
not TRE. This should only happen if code reserves a machine
register before #including a C header (which should never
be done because it changes the interface).
but it can also happen due to a bug in gcc. Report
gcc --version
and
uname -a
pls?
--
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net
More information about the TRE-general
mailing list