Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HP 11.11 ansi compiler 3.45 + Rational Purify 2

Status
Not open for further replies.

jonesq

Technical User
Jun 30, 2003
14
US
Hi,

I am currently running tests on HP11.11 64 bit machine against our certified product which was built on a 32 bit HP11.00 ansi machine.

Now the tests all seem to work ok apart from the tests that use Purify. Now the current version of purify we are using is Version 2002.05.00 HP-UX (32-bit). Here is a snip of the trace i receive when purify instruments:

----*************** SNIP **********************************
Purify 2003.06.00 HP-UX (32-bit) Copyright (C) 1992-2002 Rational Software Corp. All rights reserved.
Instrumenting: libCsup.2.
Purify engine: While processing file /usr/lib/libCsup.2:
Warning: Symbol table defines T symbol __ZStaticCtorTable_Start at 0x19110; outside
text limit 0x19110.
Ignored.

Purify engine: Warning: Symbol table defines T symbol __StaticCtorTable_End at 0x19
110; outside text limit 0x19110.
Ignored.

Purify engine: Warning: Symbol table defines T symbol __StaticCtorTable_Start at 0x
19110; outside text limit 0x19110.
Ignored.

Purify engine: Warning: Symbol table defines T symbol __ZStaticCtorTable_End at 0x1
9110; outside text limit 0x19110.
Ignored.
dld.sl.
Purify engine: While processing file /lib/dld.sl:
Internal error: Patch failure on pass2
Please look at Solution 142809914 on for more information. If you are unable to work around
this issue, please send a bug report to support@rational.com
including the product name and version
(Purify 2003.06.00 HP-UX (32-bit)),
plus your compiler name and version, operating system version,
this and any preceding error messages, and ideally a uuencoded copy
of any object or data files involved.
Thank you.
----*************** END Snip ****************************
Now when i do
ldd -v /usr/lib/aCC/dld.sl
I get
/usr/lib/dld.sl: Call to mmap() failed - TEXT /usr/lib/aCC/dld.sl
/usr/lib/dld.sl: Not enough space

My ulimit -a returns
core file size (blocks) 2097151
data seg size (kbytes) 327680
file size (blocks) unlimited
max memory size (kbytes) unlimited
open files 120
pipe size (512 bytes) 16
stack size (kbytes) 8192
cpu time (seconds) unlimited
max user processes 76
virtual memory (kbytes) unlimited
____________________________________________

Has anybody any ideas what might be the cause of this. I am suspecting that this is a problem with the installation of purify but I just thought maybe one of you guys has done something like this before

Cheers
QJ
 
Ok,
Just to let anybody interested know, that the resoultion of this problem involved patching the hpux shared library dld.sl
 
The HP patch that is required is ' PHSS_28871 1.0 ld(1) and linker tools cumulative patch'
 
ldd is not designed to handle dld.sl. dld.sl doesnt depend on any shared libraries.

did rational/ibm/purify folks tell you that PHSS_28871 is required to solve this problem?
 
No I did not get the information from Rational. Our unix sys admin found the details. Apparently the version of purify and our HP shared libraries were incompatible. The patch solved our problems.

Hope this helps
 
for the record: rational folks said that this was a bug in purify 2003.06 (it was failing to patcht the latest dld correctly) and ti was fixed in purify 2003a.06.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top