From owner-freebsd-embedded@FreeBSD.ORG Mon Sep 29 06:30:34 2008 Return-Path: Delivered-To: freebsd-embedded@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 411F71065689 for ; Mon, 29 Sep 2008 06:30:34 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from mail.vega.ru (infra.dev.vega.ru [90.156.167.14]) by mx1.freebsd.org (Postfix) with ESMTP id E9DB08FC16 for ; Mon, 29 Sep 2008 06:30:33 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from [87.242.97.68] (port=62349 helo=edoofus.dev.vega.ru) by mail.vega.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68 (FreeBSD)) (envelope-from ) id 1KkByO-0005fU-55; Mon, 29 Sep 2008 06:11:08 +0000 Date: Mon, 29 Sep 2008 10:10:57 +0400 From: Ruslan Ermilov To: Andrey Chernov , Bruce M Simpson , freebsd-embedded@FreeBSD.org Message-ID: <20080929061057.GB57821@edoofus.dev.vega.ru> References: <48E001DC.9010503@incunabulum.net> <20080929002040.GA64397@nagual.pp.ru> <48E02B0D.9030806@incunabulum.net> <20080929015554.GA66575@nagual.pp.ru> <20080929020606.GA67341@nagual.pp.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080929020606.GA67341@nagual.pp.ru> Cc: Subject: Re: r181397 of src/usr.bin/make/job.c breaks cross-compiles X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 06:30:34 -0000 Hi, On Mon, Sep 29, 2008 at 06:06:06AM +0400, Andrey Chernov wrote: > On Mon, Sep 29, 2008 at 05:55:56AM +0400, Andrey Chernov wrote: > > > It looks to me as if the change to "make" assumes that the FreeBSD 8.x > > > versions of the arc4 library functions are always available, even for > > > cross compilation. This assumption doesn't seem to be robust, and it > > > breaks down in this cross-compilation use case. > > > > It not breaks because all is builded by old 'make' in 6, 7, and 8. New > > 'make' is not installed until the very final stage. I see no problem with > > cross-compilation in that way. > > I just check cross-tools list in 6, 7 and 8 and not found 'make' there > too. > The first thing buildworld does is to check if a passed instance of `make' is good enough; if not, it's bootstrapped -- built and used later in the process. It's handled by the `upgrade_checks' target in src/Makefile which buildworld depends on. An ability to compile the latest make on the lowest supported version of FreeBSD is a requirement of our build procedure. If your change doesn't meet it, you should really think of either backing it out, or making it compile and work. For RELENG_7 it's currently FreeBSD 5.3, for HEAD -- FreeBSD 6.0. Cheers, -- Ruslan Ermilov ru@FreeBSD.org FreeBSD committer