On Mon, 14 Oct 2013 23:13:25 +0200
"monarch_dodra" <monarchdo...@gmail.com> wrote:
> On Monday, 14 October 2013 at 13:25:23 UTC, Benjamin Thaut wrote:
> > I'm also getting random missing symbol linker errors with both
> > dmd 2.063.2 and dmd 2.064. But only on 32-bit windows. On
> > 64-bit windows it works fine.
> > This is really frustrating...
> I've encountered this too. I'll try to reduce, but the test case
> isn't easy.
I've been bit by a similar (same?) issue.
What I didn't realize is that DMD *doesn't* pass the LIB directories
(from sc.ini) into optlink. Optlink *itself* reads sc.ini. So if the
optlink being run isn't in the same directory as dmd.exe, then optlink
may end up grabbing the wrong sc.ini and therefore the wrong Phobos as
well. Hence, weird linker errors for Win32.
Relevant "issue": http://d.puremagic.com/issues/show_bug.cgi?id=10729