[Issue 18456] crt_constructor/crt_destructor segfaults if -lib

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 2 05:51:02 UTC 2019


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

--- Comment #4 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/20afb4363b236fdd006b43282973749c25049aae
fix issue 18456 - crt_constructor/crt_destructor segfaults if -lib

delay objmod.setModuleCtorDtor until the function is actually generated
don't make them extra object files in a library, they will never be linked

https://github.com/dlang/dmd/commit/2842e8bfe231775bda1683bf3fb82d4ffe47e87f
Merge pull request #9132 from rainers/issue18456

fix issue 18456 - crt_constructor/crt_destructor segfaults if -lib
merged-on-behalf-of: Nicholas Wilson <thewilsonator at users.noreply.github.com>

--


More information about the Digitalmars-d-bugs mailing list