Subject: Re: perl on sparc64
To: None <imain@gtk.org>
From: Greg Earle <earle@isolar.DynDNS.ORG>
List: port-sparc64
Date: 02/21/2001 20:08:05
> # make
> ===> Building for perl-base-5.6.0
> `sh  cflags libperl.a miniperlmain.o`  miniperlmain.c
>           CCCMD =  gcc -DPERL_CORE -c -DDEBUGGING -fno-strict-aliasing
> -I/usr/pkg/include -g -msoft-quad-float -O2 -DGCC2952_SPARC64_WORKAROUND   
> /var/tmp/cc2Ees9x.s: Assembler messages:
> /var/tmp/cc2Ees9x.s:495: Fatal error: Can't extend frag 99. chars
> *** Error code 1

I'm pretty sure patch-ag specifies "-g -msoft-quad-float -O2 -DGCC2952..."
for "optimize".  Change that to "-O -msoft-quad-float -DGCC2952_SPARC64..."
and it'll work (note that you'll have to do "tail +2 patch-ag | md5" to
gen a new MD5 checksum for the patch, and change files/md5 to reflect
that new "patch-ag" MD5 checksum).

> I wouldn't mind so much if everything didn't depend on it, or if there were
> package.
> 
> Anyone have any ideas ?  My apologies if this isn't the right place to post
> this problem.

Spank yourself for not reading the port-sparc mailing list archives for
the last month to see my own posts on this very topic  :-P

( http://mail-index.netbsd.org/port-sparc/2001/02/15/0004.html specifically )

	- Greg