Operating System - HP-UX
1747992 Members
5055 Online
108756 Solutions
New Discussion юеВ

Re: use aCC to compile but meet this problem.

 

use aCC to compile but meet this problem.

Today I update /opt/aCC/newconfig/aCC.cwd, after that it meet some problem in compiling.

Here is the message:

-bash-3.2# make
No suffix list.
Compiling vtdisk.c ...
rm -f vtdisk.o
/opt/ansic/bin/cc -Ae +DD64 +O2 +DSitanium2 +kernel +objstatvars +Olit=all +Oshortdata=0 +W863 -DACLS -DAUDIT -DHPONCPLUS -DIDDS -DIPSEC -DIVT_INTERCEPT -DLWSYSCALL -DPGPROF -DSTCP -D_CLEAN_BE -D_HPUX_SOURCE -D_KERNEL -D_LARGEFILE64_SOURCE -D_NO_USER_PROTOS -D_UNSUPPORTED -D__BIGMSGQUEUE_ENABLED -D__ROSE__ -U__hp9000s700 -D_XPG4_EXTENDED -D__STDC_EXT__ -DCJYDISK_DLKM -DKERNEL_DEBUGGER -DVARIABLE_UAREA -D_SYSCALL_64 -D__NO_PA_HDRS +noobjdebug -c vtdisk.c
Warning #20013-D: Optimization aborted in function unknown. Attempting
compilation unit again but dropping the optimization level to +O1.
Please report this warning and error Signal 11 to HP. (20013)

Signal 11, code 1 (address not mapped to object)
(0) 0x4000000003a74870 __term_on_signal__host_envir.c__753664_0277__ + 0x390 [/opt/aCC/lbin/ecom]
(1) 0xe0000001080028e0 ---- Signal 11 (SIGSEGV) delivered ----
(2) 0xc0000000000e7560 __pthread_mutex_destroy + 0xc0 at /ux/core/libs/threadslibs/src/common/pthreads/mutex.c:2569 [/usr/lib/hpux64/libpthread.so.1]
(3) 0xc000000000357de0 __thread_mutex_free + 0xc0 at ../../../../../core/libs/libc/shared_em_64/../core/threads/wrappers1.c:315 [/usr/lib/hpux64/libc.so.1]
(4) 0xc000000001a5d370 _ZN15_HPMutexWrapperD1Ev + 0xd0 [/usr/lib/hpux64/libstd_v2.so.1]
(5) 0x4000000001f210c0 _ZN13TG_DwarfDebug12GetFileIndexE10SYZ_IdBaseI11SYZ_FilePxyE + 0x980 [/opt/aCC/lbin/ecom]
(6) 0x400000000208f1c0 _ZN10TG_TailGen15EmitLogicalSposE21SYZ_PtrToConstFromPxyI14SYZ_SyzNodePxyE + 0x8b0 [/opt/aCC/lbin/ecom]
(7) 0x40000000020c4e10 _ZN10TG_TailGen4EmitE21SYZ_PtrToConstFromPxyI14SYZ_SyzNodePxyE + 0x190 [/opt/aCC/lbin/ecom]
(8) 0x400000000202f6e0 _ZN10TG_TailGen8Perform_Ev + 0x5c0 [/opt/aCC/lbin/ecom]
(9) 0x4000000002c7c2d0 _ZN10TG_TailGenC1EP16SYZ_RoutineScopebb + 0x10e0 [/opt/aCC/lbin/ecom]
(10) 0x4000000002eeef90 _Z24TG_PerformTailGenerationP16SYZ_RoutineScope + 0xd0 [/opt/aCC/lbin/ecom]
(11) 0x4000000001a64c60 _ZN10SYZ_Driver25RoutineScopeBEOptPostLNO_EP16SYZ_RoutineScopebbbb + 0x550 [/opt/aCC/lbin/ecom]
(12) 0x4000000001a652c0 _ZN10SYZ_Driver18RoutineScopeBEOpt_EP16SYZ_RoutineScopebbb + 0x4c0 [/opt/aCC/lbin/ecom]
(13) 0x4000000001a71aa0 _ZN10SYZ_Driver23PerformBEOptimizations_EP12SYZ_LinkUnitbb + 0xb20 [/opt/aCC/lbin/ecom]
(14) 0x40000000030fd3b0 _ZN10SYZ_Driver7FEStartEbPKc + 0x7b0 [/opt/aCC/lbin/ecom]
(15) 0x40000000030d6200 _Z10syz_gen_bev + 0x960 [/opt/aCC/lbin/ecom]
(16) 0x40000000016444a0 back_end + 0x20 [/opt/aCC/lbin/ecom]
(17) 0x4000000001720660 cfe_main + 0x480 [/opt/aCC/lbin/ecom]
(18) 0x4000000003321610 main + 0x30 [/opt/aCC/lbin/ecom]
(19) 0xc00000000004ff30 main_opd_entry + 0x50 [/usr/lib/hpux64/dld.so]

Compilation terminated.
*** Error exit code 4

Stop.
*** Error exit code 1

Stop.

Anyone know what the problem is?

Thanks.
5 REPLIES 5
Dennis Handly
Acclaimed Contributor

Re: use aCC to compile but meet this problem.

What version of aC++ are you using? (cc -V)

>Warning #20013-D: Optimization aborted in function unknown. Attempting
compilation unit again but dropping the optimization level to +O1.

Does it work when it retries with +O1?
You may have to remove any -g from the command line.

Re: use aCC to compile but meet this problem.

Hi, Dennis

My aCC version is "HP C/aC++ B3910B A.06.20".

I have tried with the option O1, but still get the error of "Signal 11, code 1 (address not mapped to object)".

Before I update the aCC.cwd, I compile all the program well. So I think it is not the problem of my program.
Dennis Handly
Acclaimed Contributor

Re: use aCC to compile but meet this problem.

>Before I update the aCC.cwd,

What do you mean by "update"? The file doesn't exist, then you create the contents from the license PDF. After that, you can't update it.

You might want to add +nosrcpos and remove +noobjdebug. Also add -v and provide the output.

Basically you are stuck. You haven't paid for the compiler and don't have a support contract.

Re: use aCC to compile but meet this problem.

I have reinstalled my machine, then the compiler goes well again.

Re: use aCC to compile but meet this problem.

close...