www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 19868] New: Segmentation Fault Everytime

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

          Issue ID: 19868
           Summary: Segmentation Fault Everytime
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: unlimiter zoho.com

I have installed dmd (dmd_2.086.0-0_i386.deb) from
https://dlang.org/download.html.
When I compile any '.d' file with dmd, no matter what it contains (even an
empty file with an empty main function), and run the output file, it says
"Segmentation fault (core dumped)".

Things work fine with gdc, however I don't like passing every imported file to
it. With dmd, I just pass "-i", and it knows what file to link.

What do I do to make dmd produce good binaries.

--
May 13 2019