develooper Front page | perl.perl5.porters | Postings from October 2011

Re: perl 5.14.2 make test fails under Solaris 10 x64

Thread Previous | Thread Next
Nicholas Clark
October 31, 2011 07:45
Re: perl 5.14.2 make test fails under Solaris 10 x64
Message ID:
On Sun, Oct 30, 2011 at 07:56:38PM +0200, Stefan Parvu wrote:
> Hello,
> Im trying to build Perl 5.14.2 under Solaris 10 x64. Previously 
> versions, 5.12.x worked fine. Now it seems that the perl distro
> does not build, failing on many tests:

> Failed 10 tests out of 1961, 99.49% okay.
>         ../cpan/autodie/t/context.t
>         ../cpan/autodie/t/context_lexical.t
>         ../cpan/autodie/t/format-clobber.t
>         ../cpan/autodie/t/usersub.t
>         ../dist/Storable/t/attach_errors.t
>         op/blocks.t
>         op/caller.t
>         op/gv.t
>         op/method.t
>         op/stash.t

> The command to build perl was:
> sh Configure -Dcc='cc' -Doptimize='-xO3' -Duselargefiles -Duse64bitall \
>              -Dprefix=${iprefix}/perl -des
> As well it seems related with -Duse64bitall option passed to Configure. If Im not
> using 64bitall everything seems to be ok for these configs.
> Any ideas, hints ?

I can replicate this on the Solaris system I have access to.
If I recompile sv.o with -xO2 instead of -xO3, and then (re)build perl,
the failing tests pass.

(The failing tests abort with a SEGV. The stacktrace shows a function in sv.c)

I don't know more than this currently.

Nicholas Clark

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About