Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2017 12:08:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        mono@FreeBSD.org
Subject:   [Bug 218885] lang/mono: WITH_LLD_IS_LD: pthread_support: error: failed to compute relocation: R_X86_64_DTPOFF64
Message-ID:  <bug-218885-23699@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218885

            Bug ID: 218885
           Summary: lang/mono: WITH_LLD_IS_LD: pthread_support: error:
                    failed to compute relocation: R_X86_64_DTPOFF64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mono@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(mono@FreeBSD.org)
          Assignee: mono@FreeBSD.org

On recent CURRENT (FreeBSD 12.0-CURRENT #16 r317435: Wed Apr 26 10:22:35 CE=
ST
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/libwap=
i.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)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218885-23699>