Homebuilt dmd fails to link my dub application
Nordlöw
per.nordlow at gmail.com
Sun Mar 25 12:05:32 UTC 2018
If my homebuilt dmd fails to build my dub project with message
/usr/bin/ld: error:
.dub/build/application-unittest-linux.posix-x86_64-dmd_2079-C9019ECA621321CC168B385F53D82831/knetquery.o: requires dynamic R_X86_64_32 reloc against '_D6object9Throwable7__ClassZ' which may overflow at runtime; recompile with -fPIC
what have I done wrong?
Where should I add the -fPIC switch?
More information about the Digitalmars-d-learn
mailing list