[Issue 17601] New: [REG2.075.0-b1] segmentation fault for dmd -deps

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 5 06:04:45 PDT 2017


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

          Issue ID: 17601
           Summary: [REG2.075.0-b1] segmentation fault for dmd -deps
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: kroeplin.d at googlemail.com

Sorry: the reduced example still depends on:
    https://github.com/atilaneves/unit-threaded
    https://github.com/QAston/DMocks-revived

a.d:
    import unit_threaded;

b.d:
    import c;

c.d:
    import dmocks.mocks;

> dmd -c -deps -IDMocks-revived -Iunit-threaded/source a.d b.d -of/dev/null
...
Segmentation fault

Workaround(?): use -o- instead of -of/dev/null

--


More information about the Digitalmars-d-bugs mailing list