Satoshi via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Mon Jun 13 03:57:57 PDT 2016
I created mylib.so where I linked libdruntime.a and libphobos.a
with -L--whole-archive param but mylib.so doesn't contains some
phobos functions. And program cannot be linked with mylib.so
(without phobos and druntime). there are some unresolved symbols.
mylib.so doesn't contains some symbols from phobos too. (nm
When I added e.g. import std.parallelism; to any file in the
mylib.so everything works fine.
(druntime is compiled with -d-version=Shared)
Can someone tell me if this is a bug or must I add .a libs to the
.so in other way?
Im using 1.0.0 LDC for compiling/linking on arch linux with
custom compiled druntime and phobos.
More information about the digitalmars-d-ldc