On Thursday, 27 August 2015 at 11:33:02 UTC, John Colvin wrote:
On Thursday, 27 August 2015 at 09:06:54 UTC, ddos wrote:
when i import the vibe.d module my project it dies with the
error message "cannot allocate memory in static TLS block"
compiled as dynamic library on debian x86
"name": "alice",
"description": "A minimal D application.",
"copyright": "Copyright © 2015, dom",
"authors": ["dom"],
"targetType": "dynamicLibrary",
"dflags": ["-fPIC"],
"dependencies": {
"ddbc": "~>0.2.24",
"zmqd": "~>1.0.0-alpha",
"msgpack-rpc": "~>0.1.1",
"vibe-d": "~>0.7.19"
}
import vibe.d; is enough to cause the error
i don't really know what TLS is, but can i avoid it somehow?
rgds, dominik
Firstly, try with up-to-date vibe.d and zmqd.
What happens if you remove some of those dependencies? If you
remove targetType dynamicLibrary? Is it just vibe.d on it's own
that is causing the problem, or is it a combination?
P.S. this would be better asked in
http://forum.dlang.org/group/learn or
http://forum.rejectedsoftware.com