www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17135] New: DMD hangs when compiling in release mode


          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 puremagic.com
          Reporter: cbkbbejeap 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

$ 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?

Jan 31 2017