From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Abbate To: help-gcc@gnu.org Subject: Re: GCC 2.95.2 & Purify Date: Fri, 12 May 2000 09:30:00 -0000 Message-id: <391C307F.AD665B7C@fluence.com> References: <391B0213.9FA1021@fluence.com> <20000511192802.F31910@ebb.org> X-SW-Source: 2000-05/msg00077.html > Hi, I've been using gcc 2.7.2.1 on my Solaris 2.5.1 operating system for some time now with "purify" and I have had no problems. I downloaded and built gcc 2.95.2 on my Solaris 2.5.1 system. Now, when I try to compile my code with it and link it with "purify" I get warning messages (see below). Then when I try to run it, I get a core dump. I tried to debug it with "gdb" but I get generally strange behavior (like stepping through the code of a CASE statement incorrectly and incorrectly evaluating IF statements etc.). When I link I get the following: purify gcc sens_main.o sens_info.o sens_go.o taskPrimary.o taskModel.o gen_sensdata.o op_version.o GradTask.o -L../Hspice_Integration -lHspice -L../Spectre_Integration -lSpectre -L../Calculator -lOP_Calc -L../OpDb -lOP_Db -L../Opwriting -lOP_writing -L../OpUtils -lOP_utils -L../OpDb -lOP_Db -L../OpSimAccess -lOP_SimAccess-L../srm -lOP_srmFE -L../SimCommon -lSIM_common -L../pvm/lib/SUN4SOL2/usr/lib/libw.a -Bdynamic -ldl -lnsl -lintl -ll -lsocket -lm -lc -lpvm3 -o MyExe Purify 4.1 Solaris 2, Copyright (C) 1992-1997 Rational Software Corp. All rights reserved. Instrumenting: libgcc.a...................................................... Purify engine: While processing file /usr/local/lib/gcc-lib/sparc-sun-solaris2.5.1/2.95.2/libgcc.a(tinfo2.o ): Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 12), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 14), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 16), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 18), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 20), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 22), apparently pointing to offset 0x1c. Purify engine: Warning: Found untested reloc type R_SPARC_WPLT30 at location 0xc (section 24), apparently pointing to offset 0x1c. Please advise!!! Thanks, Jim -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Jim Abbate | Phone: +1-503-672-8717 | | Senior Software Engineer | FAX: +1-503-672-8700 | | Fluence Technology, Inc. | mailto:jim@opmaxx.com | | (formerly Opmaxx Inc.) | mailto:jim@opmaxx.com | | 8700 SW Creekside Place | WWW: http://www.opmaxx.com | | Beaverton, OR 97008 USA | | | Mixed Signal Design and Test Automation | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+