Follow the steps on either: http://xinutec.org/~pippijn/files/txt/46e78059d1e42f9381587ea2ab502f2b.txt https://gist.github.com/56744b9f0a5b0d69b83e
on FreeBSD. Dwarf debug information is wrong, but this only happens on FreeBSD and only if the compiling (-S) and assembling (-c) step are split. It happens for PIC and non-PIC code. It happens for i386 and x86_64. This bug is blocking, because I rely on this separate assembling step due to an assembly code analysis and pattern replacement stage in my build. It is especially blocking, because I can't fix a blocking bug in my own software. -- Summary: Broken debug information on FreeBSD (dwarf) Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pip88nl at gmail dot com GCC build triplet: i386-undermydesk-freebsd GCC host triplet: i386-undermydesk-freebsd GCC target triplet: i386-undermydesk-freebsd http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37196