On Friday, 8 February 2019 at 05:28:30 UTC, DanielG wrote: > Is this correct behavior? It's correct for Windows: address of imported data is not known at link time and must use dynamic linkage. AFAIK, export attribute doesn't do much on posix platforms.