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

Re: (fwd) 5.8.2 on itanium

From:
TJ Saunders
Date:
November 18, 2003 23:39
Subject:
Re: (fwd) 5.8.2 on itanium
Message ID:
Pine.LNX.4.44.0311182333510.15835-100000@spanner.ActiveState.com

On Thu, 13 Nov 2003 16:05:08 +0100, "H.Merijn Brand" <h.m.brand@hccnet.nl>
wrote:

> Someone is trying to build perl-5.8.2 on HP-UX 11.23 (itanium) and is
> facing problems. I don't have access to Itanium architecture machines
> 
> http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=248415
> 

[snip]

> E -lperl -lcl -lpthread -lnsl -lnm -ldl -ldld -lm -lsec -lc
> LD_LIBRARY_PATH=/usr/local/src/perl-5.8.2 ./miniperl -w -Ilib -MExporter
> -e '<?>' || gmake minitest
> /bin/sh: 13992 Memory fault(coredump)
> 
> Lowering the optimization level does not have any effect.

FWIW, I've been able to successfully compile perl-5.8.2 on HP-UX 11.22 
using gcc-3.2.  I ran into the same symptom as above, and found that 
disabling gcc's optimization entirely, via -Doptimize=-O0 (or -Uoptimize), 
got rid of the coredumps.

Hope this helps,
TJ

-------------------------------------------------------------------
 TJ <tjs@ActiveState.com>
-------------------------------------------------------------------





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