purify 4.1 and egcs still appear to be incompatible.

Laurent Bonnaud bonnaud@irisa.fr
Mon Feb 16 09:26:00 GMT 1998


>>>>> "Brad" == Brad M Garcia <bgarcia@fore.com> writes:
Brad> 
Brad> purify & egcs still don't quite get along.
Brad> 
Brad> When building, purify gives a bunch of warnings like:
Brad> 
Brad>     Purify engine: Warning: Found untested reloc type R_SPARC_GOT10
Brad>     at location 0x1bfc (section 1),
Brad>     apparently pointing to offset 0xfffffffc.

Same thing here.  These warnings seem harmless because, the purified
program works.

Brad> When running, purify reports a number of Uninitialized memory reads.
Brad> They all appear to have something to do with STL vectors, and each
Brad> one reports trying to read an address that is 17 bytes below the frame
Brad> pointer.

It works for me.  Here is what i get :

   Finished  e                    (   0 errors,    0 leaked bytes)
      Purify instrumented ./e (pid 20931 at Mon Feb 16 18:14:48 1998)
      Current file descriptors in use: 5
      Memory leaked: 0 bytes (0%); potentially leaked: 0 bytes (0%)
      Program exited with status code 0.

So you see there are absolutely no problems.

Brad> This is on a Solaris 2.6 machine, egcs 1.0.1, purify 4.1

I tried on solaris 2.6, with purify 4.1, both with egcs 1.0.1 and the
02-05 snapshot.  I'm using options -mcpu=ultrasparc -g -O2.

-- 
Laurent.



More information about the Gcc-bugs mailing list