huge stack of __dmd_personality_v0 when static libraries are used.
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Sun Jun 5 17:18:57 PDT 2016
On 6 Jun 2016, at 1:13, Basile B. via digitalmars-d-ldc wrote:
> No, the cairo deimos binding is passed as a static library: so the *.a
> file as a source then only the search path (-I). Then LDC is called
> via LDMD2 (with exactly the same command line that's passed when I use
> The project also does the same (*.a + I<source root>) with libX11
> (which is several order of magnitude bigger then cairo) and no similar
> error has occured.
> On the other hand I've already found several issues in the old cairo
> binding so I really don't accuse LDC to have a bug, furthemore the
> real problem I had is now fixed (dmd_personnality). I'll report a bug
> if it happens with another library.
It would still be interesting to have a look what's going on there. The
initialiser should definitely be emitted if all modules are linked in.
More information about the digitalmars-d-ldc