From owner-freebsd-current@freebsd.org Tue May 31 16:43:12 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 CCC05B5547E for ; Tue, 31 May 2016 16:43:12 +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 AEE271221; Tue, 31 May 2016 16:43:12 +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 u4VGhBUE014483 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 31 May 2016 09:43:11 -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 u4VGhBLN014482; Tue, 31 May 2016 09:43:11 -0700 (PDT) (envelope-from sgk) Date: Tue, 31 May 2016 09:43:11 -0700 From: Steve Kargl To: Ed Maste Cc: Dimitry Andric , FreeBSD Current Subject: Re: Recent seems to have broken toolchain Message-ID: <20160531164311.GA14370@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Mailman-Approved-At: Tue, 31 May 2016 17:19:49 +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:43:12 -0000 On Tue, May 31, 2016 at 10:25:54AM -0400, Ed Maste wrote: > On 30 May 2016 at 15:51, Steve Kargl wrote: > > > > It happens with both /usr/bin/ld and /usr/local/bin/ld. I remove the > > binutils port and still had the issue. I tried reverting recent changes > > to elftoolchain/libelftc, the resulting tree would not build. > > 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? See my reply to dim@. I don't remember the error message, but it concerned a missing function with a cpp_ prefix. I just tried to reproduce the error and everything built as expected. I was hoping that you might have an 'Aha!' moment and know where to look. If I give gfortran48 the -Wl,--allow-multiple-definition the code builds without issue. So, it seems a compile-time option for ld (or loader script) has been flipped. -- Steve