[Issue 15625] Internal error: backend/elfobj.c 1014

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 6 07:41:54 PDT 2017


https://issues.dlang.org/show_bug.cgi?id=15625

Marco Leise <Marco.Leise at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise at gmx.de

--- Comment #7 from Marco Leise <Marco.Leise at gmx.de> ---
This patch seems to work for me:

--- dmd2/src/dmd/backend/backconfig.c    2016-03-03 11:42:12.000000000 +0100
+++ dmd2/src/dmd/backend/backconfig.c    2017-07-06 16:32:03.540184944 +0200
@@ -95,7 +95,7 @@
 #if TARGET_LINUX
     if (model == 64)
     {   config.exe = EX_LINUX64;
-        config.ehmethod = EH_DWARF;
+        config.ehmethod = EH_DM;
         config.fpxmmregs = TRUE;
     }
     else

It switches exception handling on 64-bit Linux back from DWARF to the old
druntime method, in case someone needs a quick fix to get this old version
compiling again.

--


More information about the Digitalmars-d-bugs mailing list