From owner-freebsd-current@freebsd.org Mon May 14 23:33:29 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1F80EA72FE for ; Mon, 14 May 2018 23:33:29 +0000 (UTC) (envelope-from jhs@berklix.com) 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 A3D6370311 for ; Mon, 14 May 2018 23:33:29 +0000 (UTC) (envelope-from jhs@berklix.com) Received: by mailman.ysv.freebsd.org (Postfix) id 643BFEA72F7; Mon, 14 May 2018 23:33:29 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 51A74EA72F6 for ; Mon, 14 May 2018 23:33:29 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C750F7030D; Mon, 14 May 2018 23:33:28 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (pD9FA824B.dip0.t-ipconnect.de [217.250.130.75]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id w4ENVh4A082564 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 May 2018 23:31:47 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id w4ENXM35078987; Tue, 15 May 2018 01:33:22 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id w4ENX9Xc095858; Tue, 15 May 2018 01:33:22 +0200 (CEST) (envelope-from jhs@berklix.com) Message-Id: <201805142333.w4ENX9Xc095858@fire.js.berklix.net> To: Ed Maste cc: current Subject: Re: HEADS-UP: Linker issues building amd64 kernels with config & make From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Mon, 14 May 2018 18:58:25 -0400." Date: Tue, 15 May 2018 01:33:09 +0200 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 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: Mon, 14 May 2018 23:33:30 -0000 Hi, Reference: > From: Ed Maste > Date: Mon, 14 May 2018 18:58:25 -0400 Ed Maste wrote: > On 14 May 2018 at 18:05, Julian H. Stacey wrote: > > > > I guess this explains : > > Date: Sun, 13 May 2018 20:26:38 +0200 > > Subject: cd /sys/amd64/compile/GENERIC;make cleandepend; make cleandepend > > .svn_revision 333575 > > linking kernel.full > > iflib.o:(.rodata+0x178): undefined reference to `noop_attach' > > iflib.o:(.rodata+0x188): undefined reference to `iflib_pseudo_detach' > > No, that's something else; I haven't seen that problem before. Ah ! Thanks > Note that we've been using lld as the default bootstrap linker (i.e., > the linker used to link the world and kernel via 'make buildworld' and > 'make buildkernel') since Jan 10 (r327783). > > > PS Bloat factor > 20: 2M static V 40M dynamic, > > Keep in mind that the in-tree ld.bfd was released over a decade ago, > and has been obsolete for years now; a dynamically-linked contemporary > ld.bfd 12MB. lld is much faster than any of them (more than 20x > compared to in-tree ld.bfd on some operations) and all of the target > architectures are supported by a single binary. OK Thanks. Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich Brexit Referendum stole 3,700,000 votes, inc. 700,000 from British in EU. UK Govt. lied it's "democratic" in Article 50 letter to EU paragraph 3. Petition for votes: http://berklix.eu/queen/