Operating System - HP-UX
1752786 Members
5917 Online
108789 Solutions
New Discussion

Re: aCC A.03.56 - Signal 11 with -E/-P +inst_implicit_include

 
Anatoly Pidruchny
Occasional Contributor

aCC A.03.56 - minor problem report

Can I submit a bug report here? Will it reach the developers?
Here is how to reproduce the problem.
1. Create a file bug.cpp with only one line:
#include
2. Execute the command:
aCC -AA +inst_implicit_include bug.cpp -P

You will get:
Signal 11
( 0) 0x00275744 sighandler__FiT1 + 0x148 [/opt/aCC/lbin/ctcom.pa20]
( 1) 0xc0208ef8 _sigreturn [/usr/lib/libc.2]
( 2) 0x000a7744 $$dyncall_external_20 [/opt/aCC/lbin/ctcom.pa20]
( 3) 0x002c26dc deleteForest__9StatementFv + 0x3c [/opt/aCC/lbin/ctcom.pa20]
( 4) 0x0018c9ac __dt__8FunctionFv + 0x80 [/opt/aCC/lbin/ctcom.pa20]
( 5) 0x001bea10 __dt__14MemberFunctionFv + 0x58 [/opt/aCC/lbin/ctcom.pa20]
( 6) 0x00222c74 __dt__10DestructorFv + 0x1c [/opt/aCC/lbin/ctcom.pa20]
( 7) 0x001be660 deleteTree__9StatementFv + 0x48 [/opt/aCC/lbin/ctcom.pa20]
( 8) 0x001caaac ProcessExternalDeclaration__8CompilerFP11Declarationb + 0x5fc [/opt/aCC/lbin/ctcom.pa20]
( 9) 0x001c3444 ProcessExternalDeclarationList__8CompilerFP11Declaration + 0x114 [/opt/aCC/lbin/ctcom.pa20]
(10) 0x001a691c doReduction1__FiR12ScannerValueP12ScannerValue + 0x564 [/opt/aCC/lbin/ctcom.pa20]
(11) 0x001a5ce0 yyparse__Fv + 0xc24 [/opt/aCC/lbin/ctcom.pa20]
(12) 0x00245fac DoCompile__8CompilerFv + 0x22c [/opt/aCC/lbin/ctcom.pa20]
(13) 0x00263b88 DoCompile__8CompilerFP6Buffer + 0x34 [/opt/aCC/lbin/ctcom.pa20]
(14) 0x0025dc28 DoCompileFile__8CompilerFPc + 0x25c [/opt/aCC/lbin/ctcom.pa20]
(15) 0x00256290 main + 0x6c0 [/opt/aCC/lbin/ctcom.pa20]
(16) 0xc0143260 _start + 0xc0 [/usr/lib/libc.2]
(17) 0x001bd2f0 $START$ + 0x178 [/opt/aCC/lbin/ctcom.pa20]
Error (system problem) 689: # Compiler received signal 11

Thanks,
Anatoly.
6 REPLIES 6
Steve Steel
Honored Contributor

Re: aCC A.03.56 - minor problem report

Hi

That is not the latest version

Compiler Version A.03.57 Available in September 2004 as Patch PHSS_32004


Try that


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Anatoly Pidruchny
Occasional Contributor

Re: aCC A.03.56 - minor problem report

Well, I just tried the latest A.03.57 compiler. It has the same problem:

$ /opt/aCC/bin/aCC -V
aCC: HP ANSI C++ B3910B A.03.57
$ /opt/aCC/bin/aCC -AA +inst_implicit_include bug.cpp -P
Signal 11
( 0) 0x0027c8b8 sighandler__FiT1 + 0x148 [/opt/aCC/lbin/ctcom.pa20]
( 1) 0xc0208ef8 _sigreturn [/usr/lib/libc.2]
( 2) 0x000a7744 $$dyncall_external_20 [/opt/aCC/lbin/ctcom.pa20]
( 3) 0x002c7308 deleteForest__9StatementFv + 0x3c [/opt/aCC/lbin/ctcom.pa20]
( 4) 0x0018afe4 __dt__8FunctionFv + 0x80 [/opt/aCC/lbin/ctcom.pa20]
( 5) 0x001bea00 __dt__14MemberFunctionFv + 0x58 [/opt/aCC/lbin/ctcom.pa20]
( 6) 0x002257f8 __dt__10DestructorFv + 0x1c [/opt/aCC/lbin/ctcom.pa20]
( 7) 0x001be2e4 deleteTree__9StatementFv + 0x48 [/opt/aCC/lbin/ctcom.pa20]
( 8) 0x001cb1e4 ProcessExternalDeclaration__8CompilerFP11Declarationb + 0x5fc [/opt/aCC/lbin/ctcom.pa20]
( 9) 0x001c2388 ProcessExternalDeclarationList__8CompilerFP11Declaration + 0x114 [/opt/aCC/lbin/ctcom.pa20]
(10) 0x001a52ac doReduction1__FiR12ScannerValueP12ScannerValue + 0x564 [/opt/aCC/lbin/ctcom.pa20]
(11) 0x001a43ac yyparse__Fv + 0xc9c [/opt/aCC/lbin/ctcom.pa20]
(12) 0x0024c998 DoCompile__8CompilerFv + 0x23c [/opt/aCC/lbin/ctcom.pa20]
(13) 0x000b5fc4 DoCompile__8CompilerFP6Buffer + 0x34 [/opt/aCC/lbin/ctcom.pa20]
(14) 0x00264cdc DoCompileFile__8CompilerFPc + 0x25c [/opt/aCC/lbin/ctcom.pa20]
(15) 0x0025c29c main + 0x6c0 [/opt/aCC/lbin/ctcom.pa20]
(16) 0xc0143260 _start + 0xc0 [/usr/lib/libc.2]
(17) 0x001bced8 $START$ + 0x178 [/opt/aCC/lbin/ctcom.pa20]
Error (system problem) 689: # Compiler received signal 11
Ermin Borovac
Honored Contributor

Re: aCC A.03.56 - minor problem report

If you don't get any response here you can try cxx-dev mailing list (HP's ANSI C++ compiler) at

http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,3798,00.html

BTW Your bug doesn't show up on my 11i system with aCC A.03.55.
Prabu_3
Frequent Advisor

Re: aCC A.03.56 - minor problem report

I am also getting the same error with the following version of C++ compiler :

aCC: HP ANSI C++ B3910B A.03.57

Any solution for this problem. can you the share the same.

Note: I am using HP-UX 11i(PA-RISC) with GOLDBASE and GOLDAPP patches of June 2004.
melvyn burnard
Honored Contributor

Re: aCC A.03.56 - minor problem report

This is NOT the place to log a "bug" or "feature".
Please log a support call with your local HP Response Centre and ask them to raise an SR to fix this , if indeed it is a valid issue.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Dennis Handly
Acclaimed Contributor

Re: aCC A.03.56 - Signal 11 with -E/-P +inst_implicit_include

>aCC -AA +inst_implicit_include bug.cpp -P

 

This is a known problem that won't be fixed.  Also, it doesn't happen on aCC6.

You shouldn't be using -E/-P with +inst_implicit_include.

And you should migrate your sources from the non-Standard cfront template coding style that needs +inst_implicit_include.