O. Hartmann <[email protected]> has reassigned Bugzilla Automation
<[email protected]>'s request for maintainer-feedback to [email protected]:
Bug 218885: lang/mono: WITH_LLD_IS_LD: pthread_support: error: failed to
compute relocation: R_X86_64_DTPOFF64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218885



--- Description ---
On recent CURRENT (FreeBSD 12.0-CURRENT #16 r317435: Wed Apr 26 10:22:35 CEST
2017 amd64) with WITH_LLD_IS_LD enabled, port lang/mono fails via compiling on
the host itself (make in ports tree) and via poudriere with the error shown
below, which I believe is caused by LLVM 4.0.0/LLD):

[...]
libtool: link: cc -shared  -fPIC -DPIC  -Wl,--whole-archive ./.libs/libmini.a
../../mono/metadata/.libs/libmonoruntime.a ../../mono/io-layer/.libs/libwapi.a
../../mono/utils/.libs/libmonoutils.a
/usr/ports/lang/mono/work/mono-4.6.2/eglib/src/.libs/libeglib.a
../../libgc/.libs/libmonogc.a -Wl,--no-whole-archive  -L/usr/local/lib
-L../../eglib/src -lm -linotify  -O2 -O3 -fstack-protector -fstack-protector
-pthread -pthread   -pthread -Wl,-soname -Wl,libmonoboehm-2.0.so.1 -o
.libs/libmonoboehm-2.0.so.1.0.0
error: failed to compute relocation: R_X86_64_DTPOFF64
/usr/bin/ld: error: pthread_support.c:218: can't create dynamic relocation
R_X86_64_TLSLD against symbol 'GC_thread_tls' defined in
../../libgc/.libs/libmonogc.a(pthread_support.o)
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "[email protected]"

Reply via email to