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: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Marco Leise <[email protected]> 2013-07-19 04:20:32 PDT ---
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: -------