Why can't Studio 11 analyzer (IDE) on Linux show source?

Collector version: `Sun Performance Analyzer 7.5 2005/10/13'; experiment version 9.3 (64-bit)

Host `dontcare', OS `Linux 2.6.9-22.ELsmp', page size 4096, architecture `x86_64'

1 CPU, clock speed 2793 MHz.

I have created and run a Collector experiment, running an application that I compiled on RedHat Enterprise Linux 4 update 2 using the native compiler (gcc/c++ 3.4.4). I compiled my application with -O0 -g.

In the Error/Warning Log IDE window, I get the following:

Error: Source file `(unknown)' not readable

Why doesn't Sun Studio 11 know where to find the source?

[619 byte] By [Evelyn.Mast] at [2007-11-26 8:45:25]
# 1
The error message says that the source file is not known rather than couldn't be found.Please check if you have libdwarf.so.1 in <analyzer installdir>/prod/lib.Installing the latest patch (121623-02) is also recommended.
OlegMazurov at 2007-7-6 22:29:25 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 2

Yes, I have libdwarf.so.1 :

[x86-64box:289] ls /opt/sun/sunstudio11/prod/lib/libd*

libdbxadb.so* libdwarf.so@libdwarf.so.1*

We just installed the latest patch. And I just re-did the collect run and analyzer (within the IDE).

It still says: Source File: (unknown)

I did an objdump --full on the exectable and then searched for the .debug_info section. There I see the source directory paths all over the place.

Now what?

Evelyn

EvelynMast at 2007-7-6 22:29:25 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 3
I need more information to find out what's wrong. Is it possible for you to create a smaller test case demonstrating the problem and send it over to me (first_name.last_name@sun.com)?Apparently, I can't reproduce it on a similar system with our tests.
OlegMazurov at 2007-7-6 22:29:25 > top of Java-index,Development Tools,Solaris and Linux Development Tools...
# 4
The test case provided showed a problem in Analyzer processing DWARF information from g++. Bug 6452264 has been filed: dwarf parser ignores DW_TAG_lexical_block. The bug will be fixed in the upcoming release. In order to get it fixed in a patch for SS11 please escalate it.
OlegMazurov at 2007-7-6 22:29:25 > top of Java-index,Development Tools,Solaris and Linux Development Tools...