digitalmars.D.bugs - [Issue 16547] New: -betterC switch no longer removes druntime symbols
- via Digitalmars-d-bugs (28/28) Sep 26 2016 https://issues.dlang.org/show_bug.cgi?id=16547
https://issues.dlang.org/show_bug.cgi?id=16547 Issue ID: 16547 Summary: -betterC switch no longer removes druntime symbols Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: dev nomad.so Example program: import core.stdc.stdio; extern(C) void main() { printf("Hello World!\n"); } When building an executable and using the -betterC flag using DMD v2.070.0 the symbols emitted from the above program are thus: 0000000000000000 T _main U _printf Starting from DMD v2.071.0 the druntime information is not omitted from the executable and there are over two thousand symbols inside. Reference thread: http://forum.dlang.org/thread/ixgtcyattenjrnqcoonv forum.dlang.org --
Sep 26 2016