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

[perl #37156] perl-5.8.7 doen't compile on IA64

From:
Steve Peters via RT
Date:
October 1, 2005 22:55
Subject:
[perl #37156] perl-5.8.7 doen't compile on IA64
Message ID:
rt-3.0.11-37156-121892.17.167530674196@perl.org
> [Johnds@sgi.com - Tue Sep 13 04:07:02 2005]:
> 
> Just to advice you about a problem with IA64 gcc-3.2.3-47 and perl-
> 5.8.7, that seems to be well known, but not mentionened in your
> README's.
> 
> The problem shows during compilation as:
> ./miniperl -Ilib lib/lib_pm.PL
> Attempt to free unreferenced scalar: SV 0x6000000000034d00 at
> lib/lib_pm.PL line 1.
> Attempt to free unreferenced scalar: SV 0x600000000003c7c0 at
> lib/File/Basename.pm line 138.
> Attempt to free unreferenced scalar: SV 0x600000000003c7c0 at
> lib/File/Basename.pm line 142.
> Attempt to free unreferenced scalar: SV 0x6000000000065680 at
> lib/warnings.pm
> line 134.
> Attempt to free unreferenced scalar: SV 0x600000000003c7f0 at
> lib/File/Basename.pm line 143.
> Attempt to free unreferenced scalar: SV 0x6000000000042980 at
> lib/Exporter/Heavy.pm line 3.
> make: *** [lib/lib.pm] Segmentation fault
> 
> The workarounds are:
> 1. Upgrade gcc to gcc-3.2.3-50  or later
> 2. Compile pp_ctl.c, pp_hot.c and pp_sort.c using -O1
> 3. Compile pp_ctl.c, pp_hot.c and pp_sort.c using -O2 and
> -fno-delete-null-pointer-checks
> 
> I have tried workaround 3 on both 5.8.6 and 5.8.7 and it works fine.
> 
> Maybe you should consider er README.ia64 with this information?
> 
> The full description of the problem maybe found at:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=141694
> 
> BR
> John Damm Sørensen
> SGI DK
> 

An existing chang to the hints/linux.sh was made to fix this problem
with PPC chips.  It defaults optimize to -O1 on all PPC/Linux.  I'd
prefer to simply add the "-fno-delete-null-pointer-checks" to ccflags. 
Any other thoughts?




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