Package: qprof
Version: 0.5.1-3
Severity: important
Tags: patch

qprof for IA64 is compiled with libunwind support.
When qprof is compiled with libunwind, /usr/lib/libqprof_libpfm3.so
must define the symbol QPROF_pc_sample_list_stack_handler.

However, as src/prof_utils_libpfm3.c do not include config.h,
HAVE_LIBUNWIND_H is not set and thus leave the symbol undefined.

The suggested enclosed patch just include config.h at the beginning of
the file.

I set the severity of this bug to "important" and not "serious" as it
affects only IA64 users using a 2.6.x kernel. However, I would appreciate
this is considered as if it was "serious", as this bug makes qprof unusable
at this time. In addition, one of the upstream author will receive a copy of
this bug.

*** /home/delahaym/qprof/patch
diff -Nru orig/src/prof_utils_libpfm3.c new/src/prof_utils_libpfm3.c
--- orig/src/prof_utils_libpfm3.c       2005-02-11 10:50:17.678545078 -0600
+++ new/src/prof_utils_libpfm3.c        2005-02-11 10:51:37.418778476 -0600
@@ -28,10 +28,10 @@
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
THE
  * SOFTWARE. 
  */
+#include "config.h"
 
 #include "prof_utils.h"
 #include "q-lib.h"
-
 #include <errno.h>
 #include <link.h>
 #include <sys/time.h>


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: ia64
Kernel: Linux 2.6.8-1-mckinley-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages qprof depends on:
ii  libc6.1                     2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libpfm2                     2.0-4        IA-64 Performance Monitor (PMU) --
ii  libpfm3                     3.0-3        IA-64 Performance Monitor (PMU) --
ii  libunwind7                  0.98.3-3     A library to determine the call-ch

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to