[Issue 17898] Segfault in compile with -deps and -unittest

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 17 11:00:05 UTC 2019


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

--- Comment #5 from Dlang Bot <dlang-bot at dlang.rocks> ---
@MartinNowak updated dlang/dmd pull request #9122 "Fix Issue 17898 - Segfault
in compile with -deps and -debug/unittest" fixing this issue:

- Fix Issue 17898 - Segfault in compile with -deps and -debug/unittest

  Revert "Merge pull request #6748 from RazvanN7/Fix_Issue_7016"

  This reverts commit afebe0c2ba89594b434d676fbe0c050389a5b48c, reversing
  changes made to a91bc973217924a47c46aca7012c10b8762bd26b.

  The original change was apparently never used for rdmd and made `-deps`
unusable
  due to causing segfault during IR-gen. Furthermore the PR killed a common
  use-case for the `-deps` switch, collecting shallow dependencies for make
et.al.

  And lastly https://dlang.org/changelog/2.079.0.html#includeimports added an
  alternative implementation for recursive compilation, so recursive
dependencies
  are no longer needed for rdmd. I'm also not aware of any other user of
  recursive dependencies.

https://github.com/dlang/dmd/pull/9122

--


More information about the Digitalmars-d-bugs mailing list