[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#378628: gcc-4.0: GCC 4.0.3 miscompile debugging information



Package: gcc-4.0
Version: 4.0.3-1
Severity: normal


Linux kernels compiled with gcc 4.0.3 have invalid debuging information.

More information on this issue and how to verify this error can be
obtained in bug #378621. I'll also have to use gcc 4.0.3 to compile a
kernel with CONFIG_DEBUG_INFO, CONFIG_KPROBES, and optionally
CONFIG_RELAY. You also need the resulting kernel unstripped vmlinux.

Notice that bug 378621 was filed against systemtap but the issue here is
gcc 4.0. GCC 4.1 seems to provide correct/good debug information though.
Besides, although this error was spoted in a kernel compiled with 4.0,
this bug should also affect ordinary user-space debuggers.


-- 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.15-1-686
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored:
LC_ALL set to pt_BR)

Versions of packages gcc-4.0 depends on:
ii  binutils             2.16.1cvs20060117-1 The GNU assembler, linker and bina
ii  cpp-4.0              4.0.3-1             The GNU C preprocessor
ii  gcc-4.0-base         4.0.3-1             The GNU Compiler Collection (base
ii  libc6                2.3.6-13            GNU C Library: Shared libraries
ii  libgcc1              1:4.1.0-4           GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.6-13   GNU C Library: Development Librari
ii  libmudflap0-dev               4.0.3-1    GCC mudflap support libraries (dev

-- no debconf information

--
[]s
Tiago Alves Macambira



Reply to: