Operating System - Linux
1830504 Members
2406 Online
110006 Solutions
New Discussion

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

 
Manuel Plaza
Regular Advisor

Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

Hi all,
When we try to compile with aCC 3.37 on a K370 server with HP-UX 11.0 we obtain this error:
Error (system problem) 689: # Compiler received signal 11

Somebody could help us ?

Thanks in advance
6 REPLIES 6
A. Clay Stephenson
Acclaimed Contributor

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

Signal 11 is a segmentation violation. It is possible that this could be caused by maxssiz being too small especially if running with the default maxssiz of 8MB. I would increase it to 32MB but no more than 64MB. This may fix you but this could well be a compiler bug. 3.37 is very old. You should really install a later compiler along with any cumulative patches. You should find aCC on your latest Application CD's.
If it ain't broke, I can fix that.
Manuel Plaza
Regular Advisor

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

We have maxssiz established in 96 Mb and we are using 3.37 due to requisites of an application.
A. Clay Stephenson
Acclaimed Contributor

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

You need to install PHSS_28756 and probably PHSS_28594. This will patch 3.37 upto 3.45 and does fix a SIGSEGV problem. It's been my experience that newer compiler releases work with software packages and you should view the 3.37 version as a minimum required version for your software. In any event, your compiler is broken and this appears to be the only viable fix. By the way, a 96MB stack (even in 64-bit land) would only be required by very poorly written software. 32MB-64MB is very generous.
If it ain't broke, I can fix that.
SG Ganesh
New Member

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

There are two main causes for compiler getting Sig 11. One is that the compiler uses-up stack space beyond maxssize (or other kernel parameters). Other possibility is that its a compiler defect.

Can you provide us a reduced testcase or a preprocessed file (use -E -.i option)?

Thanks!
-Ganesh
Manuel Plaza
Regular Advisor

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

We have instaled the last version of aCC, 3.67 and the error persists.
We have discovered that the problem is the use of the pragma VERSIONID and option -E.
HP says that is a bug of the compiler.
Thanks for your answers.
Manuel Plaza
Regular Advisor

Re: Signal 11 to try compile with aCC 3.37 on HP-UX 11.0

Thread closed.