/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Development/debugging/profiling/rational.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Purifying sources
 
2
-----------------
 
3
  . /opt/rational/purifyplus_setup.sh
 
4
  CC=gcc CFLAGS="-g -gdwarf-2 -g3 -DDEBUG_GDB" make
 
5
  make -C srv clean
 
6
  #LD="purify -best-effort gcc" LDFLAGS="-g" CFLAGS="-g -gdwarf-2 -g3 -DDEBUG_GDB" make -C srv
 
7
  #LD="quantify -best-effort gcc" LDFLAGS="-g" CFLAGS="-g -gdwarf-2 -g3 -DDEBUG_GDB" make -C srv
 
8
  #LD="purecov -best-effort gcc" LDFLAGS="-g" CFLAGS="-g -gdwarf-2 -g3 -DDEBUG_GDB" make -C srv
 
9
 
 
10
  Unfortunatelly, there is problem with glibc symbol resolving (open64). Purify
 
11
 wrongly instruments that. Probably it due to unsupported version of glibc (2.9)
 
12
 while in the latest supported distribution only 2.6? is used.
 
13
  - In virtual machine with scietific linux everything works fine!
 
14
  - I tried some trick to start it in Gentoo, i was able to start apps, but some was crashing
 
15
  and other produce inappropriate results.
 
16
 
 
 
b'\\ No newline at end of file'