From owner-freebsd-toolchain@freebsd.org Fri Sep 29 07:11:47 2017 Return-Path: Delivered-To: freebsd-toolchain@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 B4CD3E25872 for ; Fri, 29 Sep 2017 07:11:47 +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 A325B81154 for ; Fri, 29 Sep 2017 07:11:47 +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 v8T7BlDP087558 for ; Fri, 29 Sep 2017 07:11:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 222641] www/firefox libgkrust.a: could not read symbols Date: Fri, 29 Sep 2017 07:11:47 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gecko@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 07:11:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222641 --- Comment #8 from Konstantin Belousov --- (In reply to Jan Beich from comment #7) There are a lot of clues in the reports. I am almost sure, that the error message comes out because in-tree ld(1) does not know about some relocation type used by some object file included into libgkrust.a. When people insta= ll the binutils from ports and set a knob to force use /usr/local/bin/ld, the build finishes successfully because new ld understands this relocation. The solution would be to force use binutils port ld(1) for linking. libgkrust.a is produced by the rust compiler, unless I am wrong. It probab= ly triggers some code generation paths in llvm backend which caused to issue unusual relocations, which typically not created by clang. So the C compilation is not affected and do not trip old linker in base. --=20 You are receiving this mail because: You are on the CC list for the bug.=