Building a dmd that works on old systems: TLS problems with libc

David Nadlinger via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 3 03:47:09 PDT 2014


On Friday, 3 October 2014 at 08:47:07 UTC, Atila Neves wrote:
>     ld: <...>/libphobos2.a(sections_linux_570_420.o): undefined 
> reference to symbol '__tls_get_addr@@GLIBC_2.3'
>     /lib64/ld-linux-x86-64.so.2: error adding symbols: DSO 
> missing from command line
>     collect2: error: ld returned 1 exit status

So to be clear, this is with a libphobos2.a built on the target 
system? The error message looks like you might have a Phobos 
library built for a newer libc.

David


More information about the Digitalmars-d-learn mailing list