develooper Front page | perl.perl5.porters | Postings from April 2010

perl 5.12.0RC5 tests on Solaris 10/sparc+sparc64 with sunstudio 12.1

From:
Jens Rehsack
Date:
April 11, 2010 05:59
Subject:
perl 5.12.0RC5 tests on Solaris 10/sparc+sparc64 with sunstudio 12.1
Message ID:
s2ldf5c9d981004110417y8beb70e9r10ad1d75a6f68d83@mail.gmail.com
Hi everyone,

I've tested as promised yesterday the following 4 configurations on my
Ultra60 with SunStudio 12.1:

./Configure -sde -Dusethreads -Duse64bitall -Dcc=/opt/sunstudio12.1/bin/cc
./Configure -sde -Dusethreads -Dcc=/opt/sunstudio12.1/bin/cc
./Configure -sde -Dcc=/opt/sunstudio12.1/bin/cc
./Configure -sde -Duse64bitall -Dcc=/opt/sunstudio12.1/bin/cc

All tests passes without reported error, but I found 4 "issues":

1) cc: Warning: -xarch=generic64 is deprecated, use -m64 to create
64-bit programs
This comes from the 'getconf XBS5_LP64_OFF64_CFLAGS' call in hints/solaris_2.sh
getconf is a good utility to get configuration parameters for system
dependent flags, but the compiler on Solaris is a separate product and
should be handled differently.
pkgsrc knows how to handle and could be seen at
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mk/compiler/sunpro.mk?rev=1.46
(look for _COMPILER_ABI_FLAG.64)

2) Bundled EU::CB cannot handle solaris c++ compiler:
cpan/ExtUtils-CBuilder/t/03-cplusplus..........................cc:
Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit
programs
cc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise
cc: No valid input files specified, no output generated
cc: Warning: -xarch=generic64 is deprecated, use -m64 to create 64-bit programs
cc: Warning: Option -x passed to ld, if ld is invoked, ignored otherwise
cc: No valid input files specified, no output generated
skipped

xdg has some patches and is going to review them - maybe (I don't want
to suggest update bundle or so) the new version could find a way into
perl 5.12.0

3) I got a core dump at:
t/op/stash.....................................................Segmentation
Fault - core dumped
ok

Backtrace (without debug) is:
(dbx) where
=>[1] strlen(0x1b8, 0x100156540, 0x1b8, 0x100156, 0x0, 0x0), at
0xffffffff7eb3bb50
  [2] Perl_gv_stashpv(0x1b8, 0x1, 0x1, 0x1002899e0, 0x1000ad370, 0x2),
at 0x10003b114
  [3] Perl_newSVrv(0x1002899e0, 0x1b8, 0x1002b2ea8, 0x10026f000,
0x10026f, 0x1002899f0), at 0x1000bb400
  [4] make_sv_object(0x1002899e0, 0x1002b2ea8, 0x1000, 0x1002b2ea8,
0xffffffff7e91f508, 0xff), at 0xffffffff7e805a44
  [5] XS_B__CV_GV(0x8, 0x100277b30, 0x1002b2ea8, 0x10026fb48,
0xffffffff7e91e3d0, 0x10026f808), at 0xffffffff7e8164f0
  [6] Perl_pp_entersub(0x10026d448, 0x10030add8, 0x2, 0x100000,
0x10030add8, 0x1003042f8), at 0x1000ab964
  [7] Perl_runops_standard(0x0, 0x0, 0x1000a15e8, 0x1002b8c40,
0x10026e000, 0x10026e), at 0x1000a0480
  [8] S_run_body(0x10026e000, 0x1002b8c40, 0x0, 0x10026e, 0x100000,
0x100000), at 0x100033410
  [9] perl_run(0x3, 0xffffffff7ffff608, 0x3, 0x100000, 0x1,
0x10026f000), at 0x100033284
  [10] main(0x2, 0xffffffff7ffff848, 0xffffffff7ffff880, 0x10026e6a0,
0x10026d, 0x100000), at 0x10001a86c

I'm going to rebuild with -DDEBUGGING and see what I get.

4) (Seen on other 64-bit platforms in earlier versions, too):
cpan/List-Util/t/p_reduce......................................Hexadecimal
number > 0xffffffff non-portable at ../../lib/Scalar/Util/PP.pm line
44.
Hexadecimal number > 0xffffffff non-portable at
../../lib/Scalar/Util/PP.pm line 44.
Hexadecimal number > 0xffffffff non-portable at
../../lib/Scalar/Util/PP.pm line 44.
ok

Best regards,
Jens



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