https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218885

            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: m...@freebsd.org
          Reporter: ohartm...@walstatt.org
             Flags: maintainer-feedback?(m...@freebsd.org)
          Assignee: m...@freebsd.org

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-mono@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mono
To unsubscribe, send any mail to "freebsd-mono-unsubscr...@freebsd.org"

Reply via email to