develooper Front page | perl.perl5.porters | Postings from November 2003

RE: [perl #24439] 64 bit build failure on Solaris 9

From:
Berger, Daniel
Date:
November 23, 2003 09:56
Subject:
RE: [perl #24439] 64 bit build failure on Solaris 9
Message ID:
AEB584A22DA94547847EC196AE7393BE02341E61@minntex003.interprise.com

> -----Original Message-----
> From: Andy Dougherty [mailto:doughera@lafayette.edu] 
> Sent: Friday, November 21, 2003 7:36 AM
> To: Daniel Berger
> Cc: perlbug-followup@perl.org
> Subject: RE: [perl #24439] 64 bit build failure on Solaris 9

<snip>

> 
> > LD_RUN_PATH="" gcc  -m64 -L/usr/lib/sparcv9 
> -L/usr/local/lib C.o  -o 
> > ../../../lib/auto/B/C/C.so
> > Undefined                       first referenced
> >  symbol                             in file
> > Perl_safesysmalloc                  C.o
> > Perl_Tmarkstack_ptr_ptr             C.o
> 
> Oh.  This one's my fault.  Try changing the line
> 
> > > +		lddlflags="$lddlflags -m64"
> 
> in hints/solaris_2.sh to
> 
> > > +		lddlflags="$lddlflags -G -m64"
> 
> (I think that's the right flag for gcc on Solaris using Sun's ld.)
> 
>     Andy Dougherty		doughera@lafayette.edu

That worked!  Thanks!!!

Regards,

Dan 



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About