Thread overview
[Issue 15625] Internal error: backend/elfobj.c 1014
Apr 04, 2016
zunkree@gmail.com
Apr 05, 2016
Alexander Milushev
Apr 05, 2016
ag0aep6g@gmail.com
Apr 05, 2016
Mark Isaacson
Sep 03, 2016
Walter Bright
Sep 03, 2016
Mark Isaacson
Oct 08, 2016
bachmeil@yahoo.com
Jul 06, 2017
Marco Leise
Jul 07, 2017
Vladimir Panteleev
Oct 31, 2022
RazvanN
April 04, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

zunkree@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zunkree@gmail.com

--- Comment #1 from zunkree@gmail.com ---
Faced with the same issue:

  Internal error: backend/elfobj.c 1014

on my linux boxes:

  * tiny core linux x86_64, glibc 2.20, gcc-4.9
  * tiny core linux x86_64, glibc 2.22, gcc-5.2

--
April 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

--- Comment #2 from Alexander Milushev <zunkree@gmail.com> ---
Looks like following PR https://github.com/D-Programming-Language/dmd/pull/5324 the reason of this issue.

--
April 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

ag0aep6g@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice
                 CC|                            |ag0aep6g@gmail.com

--
April 05, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

--- Comment #3 from Mark Isaacson <markisaa@umich.edu> ---
Super excited that you know what you're doing/how to root cause this. I had/have no idea how to proceed with fixing this.

--
September 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #4 from Walter Bright <bugzilla@digitalmars.com> ---
Can't do anything without a reproducible example.

--
September 03, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

--- Comment #5 from Mark Isaacson <markisaa@umich.edu> ---
I'll work on getting one at the next hackathon.

--
October 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15625

bachmeil@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bachmeil@yahoo.com

--- Comment #6 from bachmeil@yahoo.com ---
I got this error on Ubuntu with dmd 2.070. Upon ugrading to 2.071.2, the error disappeared.

It would be difficult to provide an example (it relies on several C libraries as well as an installation of R) but the problem surfaced when I created an alias for enforce inside a version block.

--
July 06, 2017
https://issues.dlang.org/show_bug.cgi?id=15625

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

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

--- Comment #7 from Marco Leise <Marco.Leise@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.

--
July 07, 2017
https://issues.dlang.org/show_bug.cgi?id=15625

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net

--- Comment #8 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
(In reply to Mark Isaacson from comment #0)
> No idea how to debug this.

Dustmite!

https://github.com/CyberShadow/DustMite

I would suggest trying to narrow it down to a certain module first, as a brute reduction of building all of Druntime may take a few days.

--
October 31, 2022
https://issues.dlang.org/show_bug.cgi?id=15625

RazvanN <razvan.nitu1305@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305@gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #9 from RazvanN <razvan.nitu1305@gmail.com> ---
This is an old issue and it seems that it has been fixed in subsequent versions of druntime. Closing as WORKSFORME.

--