Operating System - HP-UX
1832455 Members
3314 Online
110043 Solutions
New Discussion

Re: Purify compilation failure.

 
Rashmi Jha
Occasional Contributor

Purify compilation failure.

When trying to compile with purify, error is encountered:
Details:
---------------
1) o/p of "ulimit -a" :
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 262144
stack(kbytes) 32768
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 120
2) aCC compiler used
/opt/aCC/bin/aCC:
$Revision: 92453-07 linker linker crt0.o B.11.30 020412 $
HP aC++ B3910B A.03.39
HP aC++ B3910B A.03.33 Language Support Library
3) Rouge Wave version used is 7.1.1
4) Oracle 9i used
5) o/p of "uname -a"
HP-UX turtola B.11.11 U 9000/785 2005532668 unlimited-user license
6) Purify used:
/opt/local/purifyplus6.0/releases/DeveloperTools.2002a.06.00.Proto.0029/hppa_hpux/bin/purify
7) Error seen:
Instrumenting: libCsup_v2.2.
Purify engine: While processing file /vobs/src02/hpcorr/lib/libCsup_v2.2:
Warning: Symbol table defines T symbol __StaticCtorTable_End at 0x192a8; outside text limit 0x192a8.
Ignored.
Purify engine: Warning: Symbol table defines T symbol __ZStaticCtorTable_Start at 0x192a8; outside text limit 0x192a8.
Ignored.
Purify engine: While processing file /lib/dld.sl:
Internal error: Patch failure on pass2
If possible, please send a bug report to support@rational.com
including the product name and version
(Purify 2002a.06.00 Proto 0029 011206 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.
*** Error code 1



8 REPLIES 8
T G Manikandan
Honored Contributor

Re: Purify compilation failure.

Try increasing

maxtsiz --text area for a process

Also do increase these values

maxdsiz
maxssiz

If you are running a 64 bit applicaiton increase the 64 bit equ. of these kernel parameters

maxtsiz_64

How is your swap and memory usage on thh machine?
T G Manikandan
Honored Contributor

Re: Purify compilation failure.

Just found from one of the sites

http://www.tek-tips.com/gviewthread.cfm/lev2/3/lev3/20/pid/51/qid/689456

Patch PHSS_28871 would fix this

http://www2.itrc.hp.com/service/patch/patchDetail.do?BC=patch.breadcrumb.main|patch.breadcrumb.search|&patchid=PHSS_28871&context=hpux:800:11:11
Rashmi Jha
Occasional Contributor

Re: Purify compilation failure.

1) Have already tried this, but it does not work.
2) PHSS_28871 is for Rouge Wave version 7.0.6, we use 7.1.1.
T G Manikandan
Honored Contributor

Re: Purify compilation failure.

First bump up the kernel parameters as said before.
Maxtsiz

Second,Please revert as what Patch bundles you are running on the machine.Load the latest patch bundles from the patch database site.

Revert on results
ranganath ramachandra
Esteemed Contributor

Re: Purify compilation failure.

check the version of dld ("what /usr/lib/dld.sl"). please contact rational to confirm that your version purify works with your version of dld.sl. if it does not, you will have to either run the latest version of purify or rollback to the version of dld.sl that is purify can work with.

the problem Manikandan refers to at tek-tips is different. it occurs because ldd is being run on dld.sl. that wont work because ldd is in fact a stub program which would be loading dld.sl by default. since the user is attempting to load dld.sl again (mmap'ing MAP_SHARED), mmap will always fail, at least on PA-RISC. it is not really a problem and since dld.sl does not depend on any shared libraries ( of course :) ), "ldd dld.sl" is not required.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

ranganath ramachandra
Esteemed Contributor

Re: Purify compilation failure.

sorry ... remembered this after posting first reply.

-----
Warning: Symbol table defines T symbol __StaticCtorTable_End at 0x192a8; outside text limit 0x192a8.
-----

this is a bug in purify 2002a.06... and it is fixed in the latest (2003) version.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

ranganath ramachandra
Esteemed Contributor

Re: Purify compilation failure.

PHSS_28871 is a linker/loader patch. it has nothing to do with roguewave.
 
--
ranga
hp-ux 11i v3[i work for hpe]

Accept or Kudo

Rashmi Jha
Occasional Contributor

Re: Purify compilation failure.

Yes, that's what was suggested by "IBM Rational software ".
Quote from IBM:
"The above error is caused because the linker patch on your system is newer than what Purify could understand.
This is fixed in our latest release, version 2003a.06.00. Please upgrade your Purify to the latest release. "