Package: systemtap
Version: 0.0.20060701-1
Severity: important


GCC 4.0 seems to miscompile the kernel with proper debug information.
This behaviour can be easly verified by trying to run the following
simple systemtap script:

   sudo stap -e 'probe syscall.open{print(filename."\n")}'

All filenames will come out as '<unknown>'. If instead of printing the
content of 'filename' you print the value of it's pointer ($filename)
all you'll get is a silly pointer reference to 0x5.

This is not a bug in systemtap, per see,  but rather a bug in gcc 4.0.x.
But since this is the default compiler in sid now  systemtap should try
to aliviate this issue depending on gcc (version >=4.1) or conflict with
known buggy gcc versions. Perhaps systemtap should be removed from sid
untill gcc 4.1 is available for it.


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-systemtap-1.1
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages systemtap depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libglib2.0-0                  2.10.2-1   The GLib library of C routines
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3
ii  sudo                          1.6.8p9-2  Provide limited super user privile

systemtap recommends no packages.

-- no debconf information

[]s
Tiago Alves Macambira


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

Reply via email to