perl5.004_01 on 64 bit machine 
Author Message
 perl5.004_01 on 64 bit machine


I'm trying to build perl5.004_01 on a HAL 385 system running Sparc64/OS -
basically a hacked Solaris 2.4/2.5.1 hybrid that uses 64 bit addressing.
I can get it to compile, but it's failing 17 of the tests.  There are a
number of different types of tests that fail, but the ones that bug me

pragma/constant...Can't use string ("main::PI") as a symbol ref while
"strict refs" in use at ../lib/ line 152.


# strict refs - no error
use strict ;
no strict 'refs' ;
my $fred ;
my $b = "fred" ;
my $a = $$b ;
use strict 'refs' ;

Can't use string ("fred") as a SCALAR ref while "strict refs" in use at -
line 7.
FAILED on test 11

lib/complex.......Can't use string ("Math::Complex::pi") as a symbol ref
while "strict refs" in use at ../lib/ line 152.

..etc, etc.. Basically anything that tries to use "strict refs" is dieing
with these errors.

Here's perl -V:
Summary of my perl5 (5.0 patchlevel 4 subversion 1) configuration:
    osname=solaris, osvers=2.4, archname=sun4-solaris
    uname='sunos hal 5.4 sparc64os_2.4.5 sun4h sparc '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=n useperlio= d_sfio=
    cc='cc', optimize='-g', gccversion=
    ccflags =''
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=8, alignbytes=8, usemymalloc=y, randbits=15
  Linker and Libraries:
    ld='cc', ldflags ='-L/usr/lib/sparc64 -L/usr/ccs/lib/sparc64'
    libpth=/usr/lib/sparc64 /usr/ccs/lib/sparc64
    libs=-lsocket -lnsl -ldl -lc -lcrypt -lm
    libc=/usr/lib/sparc64/, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=, ccdlflags=' '
    cccdlflags='-Kpic', lddlflags='-G -L/usr/lib/sparc64 -L/usr/ccs/lib/sparc64'                

The lib/sparc64 directories contain 64 bit versions of the usual libs.

I've managed to port a number of other things to this architecture, and it
usually involvedd patching the code, not just tweaking Makefiles.. Anyone
know where I should start looking?


Thu, 13 Jan 2000 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Conflicts between 32-bit and 64-bit

2. 32-bit perl module not recognized by 64-bit perl

3. How to create a 64 bit long and xor it with a 64 bit buffer?

4. How to create a 64 bit long and xor it with a 64 bit buffer?

5. Help with alarm() on Solaris 9 (64-bit)

6. 64 bit functionality?

7. Any modules for handling 64 bit ints?

8. PERL with 64-bit support?

9. perl 64-bit clean on DEC-Alpha?

10. Odd file test behaviour on 64 bit windows

11. Active State 64-bit and Win32 Modules

12. DBD::Sybase with FreeTDS on 64-bit linux fix


Powered by phpBB® Forum Software