delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/04/09/20:58:36

Date: Fri, 9 Apr 1999 20:57:07 -0400 (EDT)
From: J Kinsley <jkinsley AT bticc DOT net>
To: law AT cygnus DOT com, ssnyder AT indy DOT net
cc: bug-glibc AT gnu DOT org, pgcc AT delorie DOT com, pcg AT goof DOT com, egcs AT egcs DOT cygnus DOT com,
egcs-bugs AT egcs DOT cygnus DOT com
Subject: Re: pgcc-1.1.1 glibc-2.1.1 strptime.c forbidden register
In-Reply-To: <21886.923686973@upchuck>
Message-ID: <Pine.LNX.4.02.9904091934440.24499-100000@isis.bticc.net>
MIME-Version: 1.0
Reply-To: pgcc AT delorie DOT com
X-Mailing-List: pgcc AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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

> In message <Pine DOT LNX DOT 4 DOT 02 DOT 9904090755400 DOT 745-100000 AT isis DOT bticc DOT 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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019