[Issue 17135] New: DMD hangs when compiling in release mode

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jan 31 12:59:37 PST 2017


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

          Issue ID: 17135
           Summary: DMD hangs when compiling in release mode
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: cbkbbejeap at mailinator.com

I'm at a bit of a loss as to narrowing this down, but I've hit a case where
compiling a project causes DMD to hang (but only when compiling in release
mode).

$ git clone https://github.com/Abscissa/SDLang-D.git sdlang
$ cd sdlang
$ dub test --build=release

It will never reach the linking stage, and you can check in your system's
process manager that DMD itself is hung with a spiked CPU utilization. If you
omit the "--build=release" it will work fine.

Maybe someone with better bisect-fu or dustmite-fu than I could get this
narrowed down a bit?

--


More information about the Digitalmars-d-bugs mailing list