vibe-d / vibe.d

Official vibe.d development
MIT License
1.15k stars 284 forks source link

Can't build on Windows x64 #671

Closed etcimon closed 10 years ago

etcimon commented 10 years ago

The events2.lib file is missing which makes it impossible to compile it through dub (git) master with --arch=x86_64. Using the i386 events2.lib file returns a "wrong magic number" error.

Compiling with VibeWin32Driver configuration Win32 failed when executing the Windows x86_64 binary; it crashes at run-time.

My DMD environment is safe and tested for x86_64 applications, so it can't be the issue here.

s-ludwig commented 10 years ago

Seems like fibers are broken in general on Win64. The following program also just crashes:

import std.stdio;
import core.thread;

void main()
{
    auto f = new Fiber({ writeln("Hello, World!"); });
    f.call(false);
}

Not sure if this was a regression in DMD 2.064 as I can't get 2.063 to compile 64-bit right now.

s-ludwig commented 10 years ago

Reported: http://issues.dlang.org/show_bug.cgi?id=12800

dymk commented 10 years ago

Supposably fixed in the dmd ~master

etcimon commented 10 years ago

Ah, yes it is.