From owner-freebsd-hackers@freebsd.org Tue Oct 6 01:19:48 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CF2299BAF43 for ; Tue, 6 Oct 2015 01:19:48 +0000 (UTC) (envelope-from ian@freebsd.org) 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 B7C8C1EB3 for ; Tue, 6 Oct 2015 01:19:48 +0000 (UTC) (envelope-from ian@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id B74D59BAF3F; Tue, 6 Oct 2015 01:19:48 +0000 (UTC) Delivered-To: hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6EA79BAF3D for ; Tue, 6 Oct 2015 01:19:48 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from erouter6.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97A801EB2 for ; Tue, 6 Oct 2015 01:19:48 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound3.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Tue, 6 Oct 2015 01:18:00 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t961JeNs028252; Mon, 5 Oct 2015 19:19:40 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1444094380.66572.109.camel@freebsd.org> Subject: Re: boostrap target From: Ian Lepore To: Rui Paulo Cc: NGie Cooper , hackers@freebsd.org Date: Mon, 05 Oct 2015 19:19:40 -0600 In-Reply-To: <1444093706.6210.26.camel@me.com> References: <1444087075.6210.17.camel@me.com> <33379C03-977C-47B5-93AB-447715A9C215@gmail.com> <1444093706.6210.26.camel@me.com> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2015 01:19:48 -0000 On Mon, 2015-10-05 at 18:08 -0700, Rui Paulo wrote: > On Mon, 2015-10-05 at 17:40 -0700, NGie Cooper wrote: > > > On Oct 5, 2015, at 16:17, Rui Paulo wrote: > > > > > > Ian and I were trying to figure out how the boostrap target gets > > > called > > > in usr.bin/lex/Makefile. It seems to be part of afterdepend, but I > > > couldn't figure out how it gets added. Any ideas? > > > > Looking at ^/head/Makefile@r35703, `make bootstrap` for > > usr.bin/lex/Makefile@r35703 was broken when bootstrap-tools, etc, was > > written. > > That doesn't answer my question because I still don't know how it gets > added to afterdepend. > I think what you found that's related to afterdepend has something to do with META_MODE stuff that shouldn't be in play for the problem I was chasing. It appears that the only makefiles in the system that have a bootstrap: target are the latest version of lex (but not the version we had before it), and contrib/binutils and contrib/gcc. In other words, by searching and by experimenting, I've concluded the answer to "What invokes the bootstrap: target in makefiles?" is "Nothing does, since 1999." -- Ian