Date: Fri, 9 Apr 1999 20:57:07 -0400 (EDT) From: J Kinsley 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: pgcc AT delorie DOT com X-Mailing-List: pgcc AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 9 Apr 1999, Jeffrey A Law wrote: > In message 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