Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues running on Windows DMD32 D Compiler v2.074.1 #3

Open
Poyeyo opened this issue Jun 5, 2017 · 5 comments
Open

Issues running on Windows DMD32 D Compiler v2.074.1 #3

Poyeyo opened this issue Jun 5, 2017 · 5 comments
Labels

Comments

@Poyeyo
Copy link

Poyeyo commented Jun 5, 2017

Using it as a library:

$ dub
Fetching capnproto-dlang 0.1.2 (getting selected version)...
Fetching openssl 1.1.5+1.0.1g (getting selected version)...
Fetching collie 0.9.7 (getting selected version)...
Performing "debug" build using dmd for x86.
capnproto-dlang 0.1.2: building configuration "lib"...
..\..\..\Users\Poyeyo\AppData\Roaming\dub\packages\capnproto-dlang-0.1.2\capnproto-dlang\source\capnproto\FileDescriptor.d(38,34): Error: cannot implicitly convert expression (this.file.size()) of type ulong to uint
dmd failed with exit code 1.

Running the test suite:

$ dub test
Generating test runner configuration 'capnproto-dlang-test-lib' for 'lib' (library).
Excluding package.d file from test due to https://issues.dlang.org/show_bug.cgi?id=11847
Performing "unittest" build using dmd for x86.
capnproto-dlang 0.1.2+commit.15.g3f02106: building configuration "capnproto-dlang-test-lib"...
Linking...
Running .\capnproto-dlang-test-lib.exe

core.exception.OutOfMemoryError@src\core\exception.d(696): Memory allocation failed
----------------
Program exited with code 1
@ThomasBrixLarsen
Copy link
Contributor

I think that at least the first is already fixed. Could you try using "~master" in dub.selections.json instead of "0.1.2"?

@Poyeyo
Copy link
Author

Poyeyo commented Jun 5, 2017

Confirmed, the first one is fixed in master branch.

@ThomasBrixLarsen
Copy link
Contributor

Excellent.

I think the second issue might be memory addressing related as dub test only allocates 7,16 MiB on my system. Can you try to build for 64 bit? Something like dub test --arch=x86_64 I imagine.

@Poyeyo
Copy link
Author

Poyeyo commented Jun 6, 2017

Yes, it works in 64 bit mode. Is that an issue in the lib or in d runtime?

@ThomasBrixLarsen
Copy link
Contributor

I've been meaning to look into this. I'm not sure where the issues is at this point. I will have to find a Windows machine to test on somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants