Operating System - HP-UX
1748204 Members
3152 Online
108759 Solutions
New Discussion юеВ

Re: HP F90 on itanium crashes

 
JUP
Regular Advisor

HP F90 on itanium crashes

Hi,

I've posted before re. this same problem but have not been able to solve the problem. This time I have a bit more information..

I'm porting from PA-RISC 11 to Itanium B.11.23 U.
All works ok on PA-RISC.

The problem is my f90 compiler crashes on the itanium with the following:

MK-INFO: Compiling markpers.f
/var/tmp/fcpAAAa22088.F
external subroutine MARKPERS
*Compiler Internal Error* : Please report to HP
(0) 0x0000000000a7c260 abandoncomp + 0x1b0 [/opt/fortran90/lbin/f90com32]
(1) 0x0000000000a7c7a0 internalerror + 0x90 [/opt/fortran90/lbin/f90com32]
(2) 0x0000000000aa44a0 readline + 0xe0 [/opt/fortran90/lbin/f90com32]
(3) 0x0000000000aa47d0 hplistaction + 0x30 [/opt/fortran90/lbin/f90com32]
(4) 0x0000000000805350 fort90 + 0x15c10 [/opt/fortran90/lbin/f90com32]
(5) 0x00000000007ed840 main + 0x40 [/opt/fortran90/lbin/f90com32]
(6) 0x60000000c004b470 main_opd_entry + 0x50 [/usr/lib/hpux32/dld.so]
26 26
f90: error 213: Errors detected.



However if I change the order of one of the include files (there's about 8 of them) or remove some comments from the start of the subroutine (before the include files) or remove one comment (even if its a blank line) from one of the include files then the error goes away.

The problem I have is that I have thousands of source code files to compile. Some files compile ok even though they may call the include files. Some source files have more comments at the start of the file yet don't crash.

We only purchase the Itanium about 6 weeks ago so I have (I believe) the latest compiler installed. I've tried compiler patches but the system won't accept them cause it doesn't need them. I'm using the following:


B3909DB B.11.23.08 HP Fortran 90 Compiler and associated products (S800) for HP-UX 11.2x


The problem is not consistent across other files, yet its consistent when compiling the one file. In other words, if I fix up one file by removing one comment line and it then compiles, by adding that line back in it won't compile. Removing it will allow it to compile. However when I go to the next file it may already work ort may not - even though it has the same include files or more comments.


Any ideas would be much appreciated.

Thanks in advance
JUP

2 REPLIES 2
Georg Tresselt
Honored Contributor

Re: HP F90 on itanium crashes

Seems, your're not the first one to run into that

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=748110
http://www.tresselt.eu
JUP
Regular Advisor

Re: HP F90 on itanium crashes

Thanks Georg for your reply - but that other post was me again.

I'm trying to get to the bottom of this obvious compiler bug but have had no luck.

Any ideas anyone ?

Thanks in advance
JUP