Date: Wed, 26 Apr 2017 12:08:21 +0000 From: bugzilla-noreply@freebsd.org To: mono@FreeBSD.org Subject: maintainer-feedback requested: [Bug 218885] lang/mono: WITH_LLD_IS_LD: pthread_support: error: failed to compute relocation: R_X86_64_DTPOFF64 Message-ID: <bug-218885-23699-442KIw3MPe@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-218885-23699@https.bugs.freebsd.org/bugzilla/> References: <bug-218885-23699@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
O. Hartmann <ohartmann@walstatt.org> has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to mono@FreeBSD.org: 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218885-23699-442KIw3MPe>
