February 18, 2018 [Issue 18456] New: crt_constructor/crt_destructor segfaults if -lib | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18456 Issue ID: 18456 Summary: crt_constructor/crt_destructor segfaults if -lib Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: normal Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: ilyayaroshenko@gmail.com pragma(crt_constructor) extern(C) void mir_cpuid_crt_init() { } dmd -lib -oflibmir-cpuid.a source.d Segmentation fault: 11 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply