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

Re: On HP-UX 11.31 IA64, Storable builds but making Storable testsfails

Thread Previous | Thread Next
From:
H.Merijn Brand
Date:
March 29, 2011 04:20
Subject:
Re: On HP-UX 11.31 IA64, Storable builds but making Storable testsfails
Message ID:
20110329132016.3a440adb@pc09.procura.nl
On Mon, 28 Mar 2011 17:24:06 +0300, Niskanen Mikko
<mikko.niskanen@cboss.fi> wrote:

> cc -c   -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_HPUX_SOURCE -Wl,+vnocompatwarnings +DSitanium2 +Z -DUSE_SITECUSTOMIZE -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fast +Ofltacc=strict   -DVERSION=\"2.25\" -DXS_VERSION=\"2.25\" +Z "-I/opt/perl_32/lib/5.8.8/IA64.ARCHREV_0-thread-multi/CORE"   Storable.c
> "Storable.c", line 6407: warning #2111-D: statement is unreachable
>         PUTBACK;
>         ^

Nicholas hinted me to the more obvious cause. -fast is broken here

-fast is a synonym for +Ofast with is a placeholder for the combination:

 +O2 +Onolimit +Ofltacc=relaxed +DSnative +FPD -Wl,+pi,1M \


if I change -fast to +O1 -z all tests pass

All tests successful.
Files=32, Tests=2341,  5 wallclock secs ( 0.61 usr  0.13 sys +  3.04 cusr  1.05 csys =  4.83 CPU)
Result: PASS


As all options are cumulative (the last overrules the first),

OPTIMIZE = -fast +Ofltacc=strict

can be changed to either

OPTIMIZE = -fast +Ofltacc=strict +O1

or the equivalent

OPTIMIZE = +Onolimit +DSnative +FPD -Wl,+pi,1M -Wl,+pd,1M -Wl,+mergeseg +Ofltacc=strict +O1

and all tests will pass

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous | Thread Next


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