On Monday, 13 April 2015 at 18:33:46 UTC, Johannes Pfau wrote:
Am Mon, 13 Apr 2015 15:29:57 +0000
schrieb "Ivan Kazmenko" <ga...@mail.ru>:

On Monday, 13 April 2015 at 15:25:08 UTC, Ivan Kazmenko wrote:
> Trying to link the libraries manually ("-lgdruntime > -lgphobos2") does not change the error. The symbols seem to > be present in both libs as far as my understanding goes > (tlsgc.o in libgdruntime.a lists __D2rt5tlsgc4initFZPv in my > viewer, for example). So, what's wrong?
>
> Ivan Kazmenko.

The symbol is listed as _D2rt5tlsgc4initFZPv (one underscore) in 64-bit build and __D2rt5tlsgc4initFZPv int 32-bit build (two underscores). I remember having similar underscore issues when converting COFF <-> OMF libraries for 32-bit dmd. So that may be the explanation. Still, what do I do with that in this particular case?

Ivan Kazmenko.

Thanks for the feedback. I can't debug this right now but I'll make a note on the MinGW to-be-fixed list ;-)

I'll also note that druntime and phobos linked just fine in the previous 32-bit Windows release, so it's most likely a regression of the build process.

Reply via email to