From owner-freebsd-current@freebsd.org Mon May 14 22:58:48 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 A3736E7E110 for ; Mon, 14 May 2018 22:58:48 +0000 (UTC) (envelope-from carpeddiem@gmail.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 2C70C68CAB for ; Mon, 14 May 2018 22:58:48 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DE890E7E10C; Mon, 14 May 2018 22:58:47 +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 CCCB3E7E10B for ; Mon, 14 May 2018 22:58:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x22a.google.com (mail-it0-x22a.google.com [IPv6:2607:f8b0:4001:c0b::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 635EC68C91 for ; Mon, 14 May 2018 22:58:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x22a.google.com with SMTP id q4-v6so15309266ite.3 for ; Mon, 14 May 2018 15:58:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=zCraJ8n+JPtNo2WcUyHYSKSuZh5yfg36dB881d3wdeU=; b=MRSY8xvirxVXrbGwyuz8f0yoCpfnEpTRVBmFgsL7TJSMvo2aUNSe1emK+0Y1m6ZrIv 4v4zN/CK9FVxZufjwQXWUCVz0CAM8vb066OAA8pNSb4JTm+PII/mxYLBLyFiU/SkCyTA 6kF0Jk9jNsuNVvXjB/OIuCgBEHO4uJpKoRwdJ+YMNXlasrPyHmjgAyr8O0St/DQJNtI2 EbYBWmAt9cosBgCk4AgNYtFQMrNI+ZcG5+yAOch++yOfsmU07zskZ6W3TllTSuPU5arK BHzV7Qu7xSiF/9tW6IR4Vk7UUdPk97npo/GIz19tfeVq9OCrZRONpXoTd5j6x/t7OGUn eiAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=zCraJ8n+JPtNo2WcUyHYSKSuZh5yfg36dB881d3wdeU=; b=bm/nOgSJJzgooL/4KYSQmWVWc2yq9JVIwlDttJaY40bLiX8FuIqeweiWSDhF18nk2O RHBthv3OJbIPYXQbtCFCA1s5uP7mX6gHCm5p19cO7yS2YDdTweQcBqdG1hibCq2rb2Ib vbvRsBhauh4z6gPxIKvRgYRJXPORk9sT7E5klAXt3eJqiByP7dsEX9gdj84Y7qI7KJ82 ywmgZ2fgw1Zv71qLBCSaWDUT4WXNbUK2tFSwGqAfupr9hZCKF8i5lGY3r/kACTyOA1Em d5B2BEI9IvTk9VRLjiXaWBddNES55+Dw/cnZXZt3A0zAqJahii+WsKbz6Sd6zmC+yxMj R4nQ== X-Gm-Message-State: ALKqPwfPgFMVmeILJjU0mekAISIH4Ne5NIGwu88hDHiO0PZZi9dwAvKY ScwhAYhwOnAQLa/Q3I75tozoOV3eP3qZZob9XdGYlK3H X-Google-Smtp-Source: AB8JxZr9wScjbkLm/epHMM6Y4yRmJ7k+Bc3EY1dVvpiBjBsZ6vWoCD7dTqtAnSX/4QWrcsT9RRKgIXnOlP7dOIX42ag= X-Received: by 2002:a6b:298f:: with SMTP id p137-v6mr13230112iop.288.1526338726432; Mon, 14 May 2018 15:58:46 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.130.167 with HTTP; Mon, 14 May 2018 15:58:25 -0700 (PDT) In-Reply-To: <201805142205.w4EM5j5w010919@fire.js.berklix.net> References: <201805142205.w4EM5j5w010919@fire.js.berklix.net> From: Ed Maste Date: Mon, 14 May 2018 18:58:25 -0400 X-Google-Sender-Auth: scRqC-42i3giK4YthoVKii4LKXg Message-ID: Subject: Re: HEADS-UP: Linker issues building amd64 kernels with config & make To: "Julian H. Stacey" Cc: current Content-Type: text/plain; charset="UTF-8" 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 22:58:49 -0000 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. 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.