From owner-freebsd-current@freebsd.org Tue May 31 16:36:52 2016 Return-Path: Delivered-To: freebsd-current@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 2156AB5521E for ; Tue, 31 May 2016 16:36:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 013E31E20; Tue, 31 May 2016 16:36:51 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id u4VGaoQk014334 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 31 May 2016 09:36:50 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id u4VGaoKw014333; Tue, 31 May 2016 09:36:50 -0700 (PDT) (envelope-from sgk) Date: Tue, 31 May 2016 09:36:50 -0700 From: Steve Kargl To: Dimitry Andric Cc: Ed Maste , FreeBSD Current Subject: Re: Recent seems to have broken toolchain Message-ID: <20160531163650.GA14168@troutmask.apl.washington.edu> Reply-To: kargl@uw.edu References: <20160529022702.GA57282@troutmask.apl.washington.edu> <1EF864CF-12E8-4A48-B6E9-317D438B7B7C@FreeBSD.org> <20160530195116.GA93546@troutmask.apl.washington.edu> <68FA9A9C-241A-4315-8DED-28359368B8A4@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68FA9A9C-241A-4315-8DED-28359368B8A4@FreeBSD.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Mailman-Approved-At: Tue, 31 May 2016 17:07:25 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 16:36:52 -0000 On Tue, May 31, 2016 at 06:21:06PM +0200, Dimitry Andric wrote: > > > > The elftoolchain changes are a good candidate to check, although they > > should have no impact at all on the linker. > > > > What error did you encounter when trying to build with them reverted? > Ed is referring to a different an error after I tried revert to a known good revision. 190 9:20 cd /usr/src 191 9:20 svn revert -R . 192 9:21 cd contrib/elftoolchain/libelftc 193 9:21 svn merge -r head:295577 . 194 9:21 cd /usr/src/lib/libelftc 197 9:22 svn merge -r head:295577 . 198 9:22 make This actually builds now. Previously, I go an error about a missing function (which I can't remember). > > Yes, pointm.o is in both libtgt.a and liboa.a. In the past, during > > linking, the symbols are resolved from the first of -ltgt or -loa > > depending on the order on the command line. > > Maybe elftoolchain's ar does something different? Assuming the .a files > are built with the system ar, of course. > I tried reverting ar to a previously known good revision. That did not help. I was hoping either you or Ed would have an 'Aha!' moment and recognize where to look in the source. Unfortunately, the problem appears on the master node of my small cluster, which in the middle of a fairly long computation. I won't be able to bisect the tree until at least Friday. -- Steve