purifying egcs's g++ ?

Yotam Medini yotamm@tmai.com
Mon Sep 29 15:57:00 GMT 1997


Hello Purify:

I tried to purify a code that is compiled 
by egcs's g++ (See http://www.cygnus.com/egcs/ ).

// I know egcs is experimental - but it may well become the main-g++-stream.

This is what I got:

  (export PATH; PATH=/home/seg/yotam/build/dryinst.Solaris/bin:$PATH; \
  echo PATH=$PATH; \
  /site/pure/bin/purify -chain-length=16 g++ -g \
	  -Wl,-R/home/seg/yotam/build/dryinst.Solaris/lib \
	  -o testTicks.pure.new Ticks.o testTicks.o debug.o 2>&1 | tee link.err | c++filt)
  PATH=/home/seg/yotam/build/dryinst.Solaris/bin:/home/yotamm/EMACS/bin:/site/seg/bin:/usr/fsf/bin:.:/site/seg/bin:/home/yotamm/bin:/usr/lang/sc/bin:/usr/lang:/usr/x11r5/bin:/usr/openwin/bin:/usr/fsf/bin:/site/tex/bin:/usr/local:/usr/local/bin:/usr/bin:/usr/ucb:/bin:/etc
  Purify 4.0.1 Solaris 2, Copyright (C) 1992-1996 Pure Atria Corp. All rights reserved. 
  Instrumenting: crt1.o crti.o crtbegin.o Ticks.o
  Purify engine: While processing file /home/yotamm/ticks/Ticks.o:
  Warning: Unknown N_FUN type ''.
  Debug info may not be handled correctly.

  Purify engine: Warning: Unknown N_FUN type ''.
  Debug info may not be handled correctly.

  .... repeated ...

   Purify engine: While processing file /home/seg/yotam/build/dryinst.Solaris/lib/libstdc++.so.2.8.0:
   Error: Stab relocated relative to undefined symbol.
   If possible, please send a bug report to support@pureatria.com including the product
    name and version (Purify 4.0.1 Solaris 2),
    this and any preceding error messages, and ideally a uuencoded copy
    of any object or data files involved.
    Thank you.

   Purify engine 4.0.1 got signal 11 (SIGSEGV - Segmentation Fault)
    sigcode=0; pc=0x1be38; npc=0x1be3c; sp=0xefffb620; addr=0x0
   Please let Pure Atria know by sending this output to support@pureatria.com.
    Thank you.
   Globals: %g0 = 0x0, %g1 = 0x5b5a4 [0x9de3bc58], %g2 = 0x0, %g3 = 0x0, 
	   %g4 = 0x0, %g5 = 0x0, %g6 = 0x0, %g7 = 0x0
    #0  pc=0xef737d44;
	   (%i0 = 0xb, %i1 = 0x0, %i2 = 0xefffb368 [0xf] "", %i3 = 0x1, 
	   %i4 = 0x1f, %i5 = 0x0, %i6 = 0xefffb308 [0x0] "", %i7 = 0x1eddc [0x7ffff413], 
	   %l0 = 0x0, %l1 = 0x0, %l2 = 0x0, %l3 = 0x0, 
	   %l4 = 0x0, %l5 = 0x0, %l6 = 0x0, %l7 = 0xef78df54)
    #1  pc=0x1eddc;
	   (%i0 = 0xa4768 [0x2c6698] "", %i1 = 0x5e8, %i2 = 0x98c78 [0x2f686f6d] "/home/yotamm/ticks/floatc"..., %i3 = 0x184, 
	   %i4 = 0x8, %i5 = 0x518c38 [0x98c78] "", %i6 = 0xefffb680 [0x66594] "", %i7 = 0x1ff1c [0x7ffffb98], 
	   %l0 = 0x0, %l1 = 0x22, %l2 = 0x1, %l3 = 0x1, 
	   %l4 = 0x18b9d0 [0x16093] "", %l5 = 0x18b9dc [0x621] "", %l6 = 0x18b9dc [0x621] "", %l7 = 0x1d6bf8 [0xce29] "")
    #2  pc=0x1ff1c;
	   (%i0 = 0xa4768 [0x2c6698] "", %i1 = 0x66560 [0x0] "", %i2 = 0x98c78 [0x2f686f6d] "/home/yotamm/ticks/floatc"..., %i3 = 0x66560 [0x0] "", 
	   %i4 = 0x0, %i5 = 0x0, %i6 = 0xefffbbf0 [0x9cc] "", %i7 = 0x476e0 [0x9fc64000], 
	   %l0 = 0x66594 [0x466f756e] "Found an N_SLINE whose ad"..., %l1 = 0x66568 [0x466f756e] "Found an N_SLINE with no "..., %l2 = 0x87040 [0x4e5f434d] "N_CMDLINE: ", %l3 = 0x87038 [0x4e5f4f50] "N_OPT: ", 
	   %l4 = 0x0, %l5 = 0x87784 [0x2f746d70] "/tmp/:/usr/tmp/:/var/tmp/"..., %l6 = 0x66564 [0x0] "", %l7 = 0x0)
    #3  pc=0x476e0;
	   (%i0 = 0xa4768 [0x2c6698] "", %i1 = 0x1fc5c [0x9de3ba90], %i2 = 0xa47c0 [0x1ca08] "", %i3 = 0x213154 [0x2e6c696e] ".lin", 
	   %i4 = 0x5, %i5 = 0x213154 [0x2e6c696e] ".lin", %i6 = 0xefffbc50 [0x0] "", %i7 = 0x178bc [0x4000230c] "@", 
	   %l0 = 0x9cc, %l1 = 0x840, %l2 = 0x1, %l3 = 0x1b8, 
	   %l4 = 0x9fbc0 [0x0] "", %l5 = 0x160, %l6 = 0x66698 [0x54686520] "The .init section of the "..., %l7 = 0x66690 [0x2e696e69] ".init")
    #4  pc=0x178bc;
	   (%i0 = 0x2415d0 [0x8427c] "", %i1 = 0xefffc460 [0x2f686f6d] "/home/seg/yotam/build/dry"..., %i2 = 0x0, %i3 = 0x0, 
	   %i4 = 0x97778 [0x0] "", %i5 = 0xa4768 [0x2c6698] "", %i6 = 0xefffc318 [0x80c00] "", %i7 = 0x1827c [0x7ffffd4e], 
	   %l0 = 0x0, %l1 = 0x0, %l2 = 0x0, %l3 = 0xef7962b4, 
	   %l4 = 0x0, %l5 = 0x97400 [0x0] "", %l6 = 0x0, %l7 = 0xefffc460 [0x2f686f6d] "/home/seg/yotam/build/dry"...)
    #5  pc=0x1827c;
	   (%i0 = 0xefffc8c0 [0x2f686f6d] "/home/seg/yotam/build/dry"..., %i1 = 0xefffc460 [0x2f686f6d] "/home/seg/yotam/build/dry"..., %i2 = 0x3, %i3 = 0x2415d0 [0x8427c] "", 
	   %i4 = 0x89db2 "/home/seg/yotam/build/dry"..., %i5 = 0x24c8f8 [0x842a8] "", %i6 = 0xefffc378 [0x0] "", %i7 = 0x18a44 [0x7ffffdcc], 
	   %l0 = 0x80c00 [0x74202843] "t (C) 1992-1996 Pure Atri"..., %l1 = 0x7f, %l2 = 0x45, %l3 = 0x4c, 
	   %l4 = 0x46, %l5 = 0x0, %l6 = 0x0, %l7 = 0x26a)
    #6  pc=0x18a44;
	   (%i0 = 0xefffc8c0 [0x2f686f6d] "/home/seg/yotam/build/dry"..., %i1 = 0x9ee70 [0x9a508] "", %i2 = 0x1, %i3 = 0x2, 
	   %i4 = 0x2415d0 [0x8427c] "", %i5 = 0x89db2 "/home/seg/yotam/build/dry"..., %i6 = 0xefffc860 [0xff000000], %i7 = 0x19194 [0x7ffffd69], 
	   %l0 = 0x0, %l1 = 0x6000, %l2 = 0x0, %l3 = 0x97800 [0x0] "", 
	   %l4 = 0x80c00 [0x74202843] "t (C) 1992-1996 Pure Atri"..., %l5 = 0x89c00 [0x72206461] "r data", %l6 = 0x0, %l7 = 0x3)
    #7  pc=0x19194;
	   (%i0 = 0xefffe745, %i1 = 0x3, %i2 = 0xffffffff, %i3 = 0x7464632b, 
	   %i4 = 0x6c, %i5 = 0x6c, %i6 = 0xefffccc0 [0x65574] "", %i7 = 0x1a3b0 [0x7ffffb5a], 
	   %l0 = 0xff000000, %l1 = 0xff0000, %l2 = 0xff00, %l3 = 0xac6afeff, 
	   %l4 = 0x0, %l5 = 0x73, %l6 = 0x7efefeff, %l7 = 0x81010100)
    #8  pc=0x1a3b0;
	   (%i0 = 0x3, %i1 = 0x15, %i2 = 0x28, %i3 = 0x14, 
	   %i4 = 0x50, %i5 = 0xefffe745, %i6 = 0xefffe118 [0x84000] "", %i7 = 0x1ae7c [0x7ffffb61], 
	   %l0 = 0x65574 [0x2d750000] "-u", %l1 = 0x65570 [0x2d650000] "-e", %l2 = 0x6556c [0x2d6f0000] "-o", %l3 = 0x65568 [0x2d7a0000] "-z", 
	   %l4 = 0x65780 [0x2d427374] "-Bstatic", %l5 = 0x6578c [0x2f757372] "/usr/lib/mcrt0.o", %l6 = 0x0, %l7 = 0x0)
    #9  pc=0x1ae7c;
	   (%i0 = 0x1b, %i1 = 0xefffe204 [0xefffe488], %i2 = 0x65800 [0x25732f6c] "%s/libinternal_stubs.a", %i3 = 0x65974 [0x2e000000] ".", 
	   %i4 = 0x0, %i5 = 0xefffe49e, %i6 = 0xefffe1a0 [0x1b] "", %i7 = 0x1616c [0x400012d1] "@", 
	   %l0 = 0x84000 [0x88640] "", %l1 = 0xefffe488, %l2 = 0x84000 [0x88640] "", %l3 = 0x0, 
	   %l4 = 0x8, %l5 = 0x165d8 [0x9de3bfa0], %l6 = 0x6f, %l7 = 0x0)
    #10  pc=0x1616c;
	   (%i0 = 0x0, %i1 = 0x0, %i2 = 0x0, %i3 = 0x0, 
	   %i4 = 0x0, %i5 = 0x0, %i6 = 0x0, %i7 = 0x0, 
	   %l0 = 0x1b, %l1 = 0xefffe204 [0xefffe488], %l2 = 0xefffe274, %l3 = 0x97400 [0x0] "", 
	   %l4 = 0x0, %l5 = 0x0, %l6 = 0x0, %l7 = 0x0)
   memory contents from 0xffffffc0 to 0x40:
   ---- Prior information ----
   N_OPT: gcc2_compiled.
   ... repeated ...
   N_OPT: gcc2_compiled.
   mv testTicks.pure.new testTicks.pure
   mv: testTicks.pure.new: No such file or directory
   gmake: *** [testTicks.pure] Error 1
   gmake: Leaving directory `/home/yotamm/ticks'

   Compilation exited abnormally with code 2 at Mon Sep 29 15:43:10

-- yotam
Yotam Medini -----------------------------:)--h--o--m--e---------------------\
<< Technology Modeling Associates, Inc.   >> 1144 Craig Dr.          // Lost  |
<< 595 Lawrence Expy. Sunnyvale, CA 94086 >> San Jose, CA 95129-2913 // my    |
<< yotam_medini@tmai.com            -3922 >> yotam@blueneptune.com   // smart |
<< (408) 328-3887   [fax (408)3280940]    >> (408) 257-0840          // quote |
<<                     http://www.blueneptune.com/~yotam/                     |



More information about the Gcc mailing list