From owner-freebsd-mono@freebsd.org Wed Apr 26 12:08:23 2017 Return-Path: Delivered-To: freebsd-mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F4C2D51612 for ; Wed, 26 Apr 2017 12:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 790ACFBB for ; Wed, 26 Apr 2017 12:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 7867AD51611; Wed, 26 Apr 2017 12:08:23 +0000 (UTC) Delivered-To: mono@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78122D51610 for ; Wed, 26 Apr 2017 12:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 680EBFBA for ; Wed, 26 Apr 2017 12:08:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v3QC8NMO042856 for ; Wed, 26 Apr 2017 12:08:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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 Date: Wed, 26 Apr 2017 12:08:21 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: mono@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mono@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Mono and C# applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2017 12:08:23 -0000 O. Hartmann has reassigned Bugzilla Automation 's request for maintainer-feedback to mono@FreeBSD.or= g: 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=3D218885 --- Description --- 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)