digitalmars.D.bugs - [Issue 10671] New: Stack unwinding is insufficient on Linux x86_64. (-fomit-frame-pointer)
- d-bugmail puremagic.com (26/26) Jul 19 2013 http://d.puremagic.com/issues/show_bug.cgi?id=10671
http://d.puremagic.com/issues/show_bug.cgi?id=10671 Summary: Stack unwinding is insufficient on Linux x86_64. (-fomit-frame-pointer) Product: D Version: D2 Platform: x86_64 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: druntime AssignedTo: nobody puremagic.com ReportedBy: Marco.Leise gmx.de Here is the catch: Druntime's stack unwinding code relies on frame pointers. Optimized gcc code (at any opt. level > 0) doesn't contain frame pointers. (Unless the architecture requires it for debugging, like x86 or -fno-omit-frame-pointer is given.) That means that using any Linux x86-64 libraries that take callbacks into D results in broken exception handling! Unless the maintainers of a specific distribution added -fno-omit-frame-pointer. You cannot expect that on Gentoo for example. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 19 2013