pgcc-1.1.1 glibc-2.1.1 strptime.c forbidden register

J Kinsley jkinsley@bticc.net
Fri Apr 30 23:15:00 GMT 1999


On Fri, 9 Apr 1999, Jeffrey A Law wrote:

> In message < Pine.LNX.4.02.9904090755400.745-100000@isis.bticc.net >you write:
> > 
> > strptime.c: In function `strptime_internal':
> > strptime.c:818: fixed or forbidden register 3 (bx) was spilled for class 
> > GENERAL_REGS.
> > 

---snip---

> There's an asm in that code that requires 6 registers to
> satisfy.  However, when compiling with -fPIC the compiler is
> only allowed to allocate 5 registers.
> 
> Compiling with -fomit-frame-pointer will give the compiler an
> additional register and it can compile the asm.

Using -fomit-frame-pointer sitll results in the same error.  I
built egcs-1.1.2 using the rpm from rawhide.redhat.com (includes
the linux patch from hlj at varesearch) then built glibc-2.1.1
without error using the same flags as with pgcc-1.1.1.  However,
in a message that showed up on the pgcc list in response to my
original would indicate that egcs-1.1.2 and glibc-2.1.2-990401
produces the same error.  It seems this pesky problem has been
around for awhile and only occurs with certain combinations of
egcs/pgcc and glibc versions and not others.

Regards,
Jarrod

--
Jarrod S. Kinsley
System Administrator
BTI Communications





More information about the Gcc-bugs mailing list