Operating System - HP-UX
1833777 Members
2017 Online
110063 Solutions
New Discussion

Re: Ustack underflow (5705)

 
Peter Chan_4
New Member

Ustack underflow (5705)

I am trying to instrument(+I) on HPUX11. I got the following error during the linking. Any one has any idea on how to fix it?

It was running on:
- HP-UX 11
- C++ compiler

--------------
ld: Duplicate symbol "std::basic_string,std::allocator>::basic_s
tring(const std::basic_string,std::allocator> &)" in files libid
mpi-O.a[lphys.o] and ../../Lib/liblib.a[Locknew.o]
ld: Duplicate symbol "std::basic_string,std::allocator>::basic_s
tring(const std::basic_string,std::allocator> &)%2" in files lib
idmpi-O.a[lphys.o] and ../../Lib/liblib.a[Locknew.o]
ucomp : niagara.o
Error at line 0 in procedure @ : Ustack underflow (5705)
removing /var/tmp/AAAa13724
2 REPLIES 2
Michael Steele_2
Honored Contributor

Re: Ustack underflow (5705)

Noted this patch:

PHSS_3774:
Error 1718 when initializing a const struct to const struct
Internal error 5705 Ustack underflow on bitfield casting
Incorrect debug information was generated for
multi-dimension array passed as parameter
Incorrect alignment with arrays in struct under the
HP_ALIGN HPUX_NATURAL_S500 pragma

http://www2.itrc.hp.com/service/cki/patchDocDisplay.do?patchId=PHSS_10357
Support Fatherhood - Stop Family Law
Peter Chan_4
New Member

Re: Ustack underflow (5705)

Hi Michael,
Thanks for replying. "HP_ALIGN HPUX_NATURAL_S500 pragma" is no longer supported on HP11.
So, I used
#pragma pack 16.
This doesn't seem to work.
Do you have anymore idea? Thanks.