Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#31098 - [llvm] Fix emitted debug information

Attached to Project: Arch Linux
Opened by Poco (poco) - Friday, 10 August 2012, 18:26 GMT
Last edited by Evangelos Foutras (foutrelis) - Friday, 10 August 2012, 21:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

LLVM 3.1 produces invalid debug information. This is known upstream, but
LLVM does not have point releases, and 3.2 could take a long time. Other
distributions also integrated the revert.

Bug is also described in:

http://llvm.org/bugs/show_bug.cgi?id=13211
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676144

Additional info:
* package version(s) llvm 3.1-3

Steps to reproduce:

% cat > hello.c << EOF
heredoc> #include <stdio.h>
heredoc> int main (void) { puts ("Hello world!"); return 0; }
heredoc> EOF
% clang -g hello.c
% gdb ./a.out
GNU gdb (GDB) 7.4.1
...
(gdb) break main
Breakpoint 1 at 0x400584
(gdb) run
Starting program: /home/poco/a.out
Breakpoint 1, 0x0000000000400584 in main ()
(gdb) next
Single stepping until exit from function main,
which has no line number information.

This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Friday, 10 August 2012, 21:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  Patch applied in llvm-3.1-4. Thanks!

Loading...