From owner-svn-src-head@freebsd.org Thu May 10 23:14:39 2018 Return-Path: Delivered-To: svn-src-head@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 78282FDA51E; Thu, 10 May 2018 23:14:39 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (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 AA94E7E484; Thu, 10 May 2018 23:14:37 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id c3-v6so8604itj.4; Thu, 10 May 2018 16:14:37 -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=RH2fPlRoRVUFi3mqFn7ol0RoC5Dfes+7Hi3Ey5SUHAA=; b=hmN1n/5wXCEHa5OS6f3jwEaVHapJYGN1VtjR2GbH7eD2YGUTGdBXje4/O8Cmfp/3dV RM/8cY3Tu8v+yNfaZfkB91FZQrzWvdqpI9oj9SHFYkL7WX56XITjLsCJUkDTbwflw1f0 HpwxmSCemfbhTTcDaZvgR8Yax0PST9PXLlPw6CzsVJU/by7tvitP8a9xC0U3Q0gYL8L3 LJxIo/dTXe7airP8P5N+pVeViacKZj2vd5JZau3rQ9BfcG/bf4CaRUVhxCYLGzRLhrqw fXpNoBbERCw5Q7v5CK0TWwDA8Uazo14IUsS+9PtbiTswIAOFvY8pR/DD2UUaF79OYz9M 1eSQ== 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=RH2fPlRoRVUFi3mqFn7ol0RoC5Dfes+7Hi3Ey5SUHAA=; b=mwl5j5uaBxDVKBXKkeRLHREWm1K2Ljd9E9yXQEjhdPw8IOnAWuo7dQS+SQDegGWvvb rRB0t886FWbPL2Oo64cIDQhStZIVFyrd75Ug0IYy7WQsgHtGT6AMv++HobGstiJSyUc1 1x8u8U/Di9prwatkpYvCKwA32NNxC9Qq/EIV+c1QiepS7lCePcnWXgx3TMV+A8MrjEaW OWMqKeJcn3XY4Bekv2fkF3tcotRUggCgce+jP2xlXPplLM+S0iYDrylhYPdbt+znvwMV LiO/+qwy0sEJ72CNCRhs95L209WBbAaA1tA/txSC6oJ9bHCM6bTTiN1X96th1e31pKAE zb4Q== X-Gm-Message-State: ALKqPwdbkw5v3Ue3Mp+e3zHCHuAkq2m4HRVXDoS0n8cDnSVzLPmV26ix WrazohwaU3uqsOPbsYRhxkXmHNIcnqzhQD9rI81RqA== X-Google-Smtp-Source: AB8JxZoD8MksnNFVx7BFwaNULKb61skJ7fIFkP3pJ9ureMeoOgeYb/Fr7HMXOwD9XcGSlduRrt75yOS2WDu0yhJIW5k= X-Received: by 2002:a24:4293:: with SMTP id i141-v6mr971149itb.54.1525994076511; Thu, 10 May 2018 16:14:36 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.130.167 with HTTP; Thu, 10 May 2018 16:14:16 -0700 (PDT) In-Reply-To: <788634f4-7a63-36c9-2ebd-5842d464f324@cs.duke.edu> References: <201805102010.w4AKA3Ww094768@repo.freebsd.org> <788634f4-7a63-36c9-2ebd-5842d464f324@cs.duke.edu> From: Ed Maste Date: Thu, 10 May 2018 19:14:16 -0400 X-Google-Sender-Auth: 1NYFhxCsLiFuk_l-NxF4Q87yy0Y Message-ID: Subject: Re: svn commit: r333470 - in head: share/mk sys/conf To: Andrew Gallatin Cc: src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org, Konstantin Belousov Content-Type: text/plain; charset="UTF-8" X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 May 2018 23:14:39 -0000 On 10 May 2018 at 18:24, Andrew Gallatin wrote: > Rather than erroring out, we please just use the appropriate linker? That's my goal, but it's a bit of an involved change and will take some time to make sure we don't introduce new corner cases. I'm sorry that I didn't catch this before the first ifunc use went in -- lld has been the default bootstrap linker (via buildworld or kernel-toolchain) since mid-Jan and this problem slipped my mind. I added the error in the meantime to avoid the silently broken kernel case that you unfortunately encountered. The low-friction method of getting past this in the interim is to just use ld.lld as the system linker: # ln -fs ld.lld /usr/bin/ld I'm just waiting on an update to the lang/ghc port and another exp-run before that becomes the default.