Compilation phobos errors with DMD 2.071,2.072 or dub

kozzi11 via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 3 10:41:00 PDT 2016


Really? This issue is here on forum many times, can you pleas read last few post? Just by name.

Sent from my Samsung device. 





---- Original message ----
From: Ozan (ONS) via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
Sent: 03/11/2016 15:55:24
To: digitalmars-d-learn at puremagic.com
Subject: Compilation phobos errors with DMD 2.071,2.072 or dub



Hi,



with a fresh Ubuntu 16.10 installation using "Hello, World" I got 

a list of following errors like:

/usr/bin/ld: 

/usr/lib/x86_64-linux-gnu/libphobos2.a(thread_256_713.o): 

relocation R_X86_64_32 against symbol 

`_D6object9Throwable7__ClassZ' can not be used when making a 

shared object; recompile with -fPIC



Example: Using dmd 2.071 and dub; dub init appName; compile 

appName with dub.

Or direct with dmd



What I'm missing? Any hints?



Thanks & Regards, Ozan





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20161103/9b781032/attachment.html>


More information about the Digitalmars-d-learn mailing list