Practical Problems with distribution D projects
Dicebot
public at dicebot.lv
Wed Feb 26 12:21:04 PST 2014
On Wednesday, 26 February 2014 at 17:34:45 UTC, Adam D. Ruppe
wrote:
> Anyway, let's try the -static switch we can use to do
> statically linked libc on some programs.
>
> $ dmd hellod.d -c
> $ gcc hellod.o -o hellod -m32
> -L/home/me/d/dmd2/linux/bin32/../lib32 -Xlinker
> --export-dynamic -l:libphobos2.a -lpthread -lm -lrt -static
>
> undefined reference to `__tls_get_addr'
Huh, I was sure this works. Unpleasant surprise.
Have filed a bug report :
https://d.puremagic.com/issues/show_bug.cgi?id=12268
( I don't have time to properly answer holy war topics, probably
later :) )
More information about the Digitalmars-d
mailing list