Hi Fons, Following up on my purify/root problem of a few weeks ago. It seems that the only way to get purify running with root is to use static libraries. I think I will use "workshop" on solaris till this purify bug is fixed. Eddy ------------- Begin Forwarded Message ------------- From: Joe Rinaldi <jr@rentec.com> Subject: RE : apatel CaseID : v0497201-Purify-R_SPARC_RELATIVE (fwd) To: eddy@fox.rentec.com (Eddy Offermann) Date: Fri, 23 Jun 2000 09:52:51 -0400 (EDT) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Eddy, It seems you were right, you'll have to link with a static library We only have the 106327 patch but I think we need it. Joe Forwarded message: > From anpatel@Rational.Com Thu Jun 22 19:06:26 2000 > Reply-To: <support@Rational.Com> > From: "Anita Patel" <anpatel@Rational.Com> > To: <jr@rentec.com> > Cc: <support@ratioanl.com> > Subject: RE : apatel CaseID : v0497201-Purify-R_SPARC_RELATIVE > Date: Thu, 22 Jun 2000 16:04:39 -0700 > Message-ID: <000201bfdc9e$3ee51fd0$994113ac@rational.com> > MIME-Version: 1.0 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 7bit > X-Priority: 3 (Normal) > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) > Importance: Normal > X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 > Content-Length: 3161 > > Hi Joe > > > Purify engine: While processing file /usr/local/ren/prod/lib/libinfo.so.2: > > Warning: Found non-pic R_SPARC_LO10 with addend 67504 in shared library > at offset 0xa140. > > There is inherent ambiguity in such cases. > > Such code may not always be possible to translate perfectly. > > If you experience unexpected memory corruption problems, either > > recompile this library with -pic, or use the non-shared library form > > of the file, if that is possible. > > liboptions.a. libmts_new.so libiostream.a........................ > libCrun.so.1 > > Purify engine: While processing file /usr/lib/libCrun.so.1: > > Error: R_SPARC_RELATIVE reloc at 0x1a5e0 (section 22) has target 0x1e8d8 > outside of file. > > If possible, please send a bug report to support@rational.com > > including the product name and version > > (Purify 5.1 Solaris 2 (32-bit)), > > Please take a look at the following tech note regarding the error you are > running into while using Purify. > > **************************************************************************** > ***************************** > SYMPTOM: > > After installing Sun Patch 105591-08, 106327-07 or 106529-06, C++ > application builds fail because Purify complains: > > Purify 5.1 Solaris 2 (32-bit), Copyright (C) 1992-2000 Rational Software > Corp. > All rights reserved. > Instrumenting: libC.so.5 > Purify engine: While processing file /usr/lib/libC.so.5: > Error: R_SPARC_RELATIVE reloc at 0x4f9a4 (section 20) has target 0x62830 > outside of file. > libCrun.so.1 > Purify engine: While processing file /usr/lib/libCrun.so.1: > Error: R_SPARC_RELATIVE reloc at 0x1a57c (section 22) has target 0x1e858 > outside of file. > libdemangle.so.1 > Purify engine: While processing file /usr/lib/libdemangle.so.1: > Error: R_SPARC_RELATIVE reloc at 0x26fbc (section 22) has target 0x30728 > outside of file. > > Purify engine: Error: Errors detected while instrumenting files. > Linking suppressed. > (To force continuation, use "purify -best-effort $(CC) ...".) > > CAUSE: > > Purify sees unexpected relocation sequences in sections of the shared > object files libC.so.5, libCrun.so.1, and libdemangle.so.1 contained in > Sun's patch 105591-08, 106327-07 or 106529-06. > > RESOLUTION: > > Currently the only known workarounds are to back out the Sun patch > or use the non-shared (archive) form of the library. > > **************************************************************************** > ******************************** > There is already a bug filed within Rational to address this issue. > Currently our developers are working on it. Once the fix is available, I > will let you know. > > FYI, the bugID number is : PSIps43654 > > Hope this helps! > > > Regards, > Anita > > PS:If you need further assistance , please reply to support@rational.com > with "Re:CaseID: <your current CaseID>" in the subject line. > =========================================================================== > Anita Patel > Technical Support Tel: (408) 863-4000 > Rational Software Fax: (408) 863-4001 > 18880 Homestead Road E-mail: support@rational.com > Cupertino, CA 95014 http://www.rational.com/support > =========================================================================== > > ------------- End Forwarded Message ------------- Eddy A.J.M. Offermann Renaissance Technologies Corp. 25 East Loop Rd. Suite 211 Stony Brook, NY 11790 e-mail: eddy@rentec.com phone: (516)246-5550 fax: (516)246-5761
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:28 MET