From owner-freebsd-current@freebsd.org Sun Jun 3 15:12:18 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 14930FE0160 for ; Sun, 3 Jun 2018 15:12:18 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yw0-x242.google.com (mail-yw0-x242.google.com [IPv6:2607:f8b0:4002:c05::242]) (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 A63E76A5CD for ; Sun, 3 Jun 2018 15:12:17 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yw0-x242.google.com with SMTP id v68-v6so9744573ywd.3 for ; Sun, 03 Jun 2018 08:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=n/umkDUQQTqKL0aa14ssEA0Qu5cODIeP8+6B4hPPNzA=; b=fMRAafY11WbLuPCfAsLqoT66eRWj5RMcZ+AqhARQGK8FZm5jPb7lRNDO6Nya3uN7yg osVqWrWC/wI9et4wCKURy9p5HDQ2ldJefQMNeeRuPqcDArF0LIT6WSH9wQhOfTNVVMUT x6Z/lHB0zWpbVeg7FxJcx/AnYDlNq65M1+Dpo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=n/umkDUQQTqKL0aa14ssEA0Qu5cODIeP8+6B4hPPNzA=; b=e+/FafUzTYh8AxsVpXPqmdNw1BfRyHdggfY3s6RDmhQIBcqyLRnoKkj1ieM4vjglNW lnbaIJW5PhtX1QI2AChwj7nK54HE+KfNDWadp375eYgxDbaVeQ+3I257utYSqlIWob4B TDQxftoJR9qKWTpdB6Tm7jOlx0cPM4ImS+pogal8cuuxMwMbuLS0LZpcYmbS0tqA1c00 k31K7U8BE+4s9spqSE+7tzDnJStLvb3CbX+LyxOsfeJLmJR6avbkYfYIkWWVncGFRG0y S2z41EKyrKHQV2N1piYqs0+vVlrLVEjHdXt3QPHQSI7ElfhaMy6USbR/mekdhznzItF4 qGJQ== X-Gm-Message-State: ALKqPwdnCID0+z+CyHEg5SeaCx5GGxTYDDZsxFxnpsYcvGXV/tyof+7y 40zdrG/TAzmpaoYUT6Xl7MeAajiAvQX7Kf5x06zcaV+i X-Google-Smtp-Source: ADUXVKLkQ/ZLoC/ps6F75vZoyR8vTycTu7ihAJzbDhLzxqukR40rZcNme5QESVjjVtsHV9PCTYQZbtguer0LSK/j+Z4= X-Received: by 2002:a81:af1d:: with SMTP id n29-v6mr9427905ywh.113.1528038736891; Sun, 03 Jun 2018 08:12:16 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:ef50:0:0:0:0:0 with HTTP; Sun, 3 Jun 2018 08:11:46 -0700 (PDT) In-Reply-To: <7464D18D-2879-4C2A-ADD3-BF84D80940BB@FreeBSD.org> References: <20180531095222.399e7a37@ernst.home> <20180531095850.5845fd7a@ernst.home> <20180531160406.GD27985@kduck.kaduk.org> <32C087A4-1B67-4694-B769-16A347D4804E@FreeBSD.org> <7464D18D-2879-4C2A-ADD3-BF84D80940BB@FreeBSD.org> From: Eitan Adler Date: Sun, 3 Jun 2018 08:11:46 -0700 Message-ID: Subject: Re: ``make buildkernel'' fails when /usr/obj is empty To: Dimitry Andric Cc: Warner Losh , Benjamin Kaduk , Gary Jennejohn , FreeBSD 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: Sun, 03 Jun 2018 15:12:18 -0000 On 31 May 2018 at 11:19, Dimitry Andric wrote: > On 31 May 2018, at 20:11, Warner Losh wrote: >> >> On Thu, May 31, 2018 at 11:47 AM, Dimitry Andric wrote: >> On 31 May 2018, at 18:04, Benjamin Kaduk wrote: >> > On Thu, May 31, 2018 at 09:58:50AM +0200, Gary Jennejohn wrote: >> >> On Thu, 31 May 2018 09:52:22 +0200 >> >> Gary Jennejohn wrote: > ... >> > Whatever happened to the "run buildworld or kernel-toolchain before >> > buildkernel" requirement? >> >> That is still a requirement, yes. Otherwise, you might have outdated >> toolchain components are in your /usr/obj. >> >> Usually you can get away without doing that, and now that clang is the toolchain that's rebuilt (and that's not fast) people try to get away with it more and more... > > Actually clang doesn't get updated *that* often, but there is a minor > snag that one of llvm's config files (lib/clang/include/llvm/Config/config.h) > includes , so each time __FreeBSD_version is bumped, quite > a lot of dependencies get triggered... > > The version is only used for two checks: > > #if __FreeBSD_version >= 1000052 > /* Define to 1 if you have the `backtrace' function. */ > #define HAVE_BACKTRACE TRUE > > and: > > /* Define to 1 if you have the `futimens' function. */ > #if __FreeBSD_version >= 1100056 > #define HAVE_FUTIMENS 1 > #endif > > Maybe the first check could be dropped, assuming that backtrace() is > always available, but I'm not sure about futimens(). Is there any > supported version of FreeBSD left that does *not* have it? 10.4 is supported until October 31, 2018 but it might be worth making the change in -current ? -- Eitan Adler