[Issue 20248] Module constructors in executable called twice, never in loaded shared library

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 5 07:55:06 UTC 2021


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

kinke <kinke at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kinke at gmx.net

--- Comment #1 from kinke <kinke at gmx.net> ---
This 'works' with LDC v1.27 (but DMD v2.097 still fails):

0x55debef38074 0x55debef34090
HI
0x7fdfb6c12064 0x7fdfb6c10870

I think this is more likely related to compiler differences wrt. relocation
model, not a druntime divergence.

--


More information about the Digitalmars-d-bugs mailing list