[Issue 7319] .bss section not used
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri May 15 10:55:40 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=7319
kinke <kinke at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kinke at gmx.net
--- Comment #8 from kinke <kinke at gmx.net> ---
(In reply to Mathias LANG from comment #5)
> Just tested on Mac OSX. Modified to use `core.stdc.stdio : printf` and
> `alias TypeTuple(T...) = T;` to remove Phobos imports.
>
> The test case now returns false for everything (the pointer is null, but not
> the length). The binary is still huge (8.1 Mbs), even with LDC (5.5Mb).
That must have another reason though. On Win64 and with DMD 2.091 / LDC 1.21,
the 64-bit .obj file size is 27 KB (~2 KB overhead for the object.RTInfoImpl
bit mask for the precise GC) and contains no struct initializers at all. The
final executable size is < 0.5 MB when linking MSVC statically, and < 0.25 MB
when linking MSVC dynamically.
I.e., seems totally fixed.
--
More information about the Digitalmars-d-bugs
mailing list