shared lib and __data_start

Jacob Carlborg doob at me.com
Sun Nov 11 23:16:42 PST 2012


On 2012-11-12 03:49, Ellery Newcomer wrote:
> Playing with pypy.
>
> I build me a shared library with ldc and try to access it via ctypes,
> and it gives me a
>
> /usr/lib64/libdruntime-ldc.so.60: undefined symbol: __data_start
>
> So the natural question is what is __data_start? Am I right in assuming
> it is a symbol that points to the data section or something and that it
> is relevant in executables but not shared libraries (and thus shouldn't
> be in druntime for shared lib builds)?

Yes, although I don't know if it should be in shared libraries or not.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-learn mailing list