From owner-svn-src-head@FreeBSD.ORG Tue Jan 31 14:21:18 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCDA41065673; Tue, 31 Jan 2012 14:21:18 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 6A6C88FC19; Tue, 31 Jan 2012 14:21:18 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 6CF51C3CB6; Tue, 31 Jan 2012 15:21:17 +0100 (CET) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id V6el3qg-nhRU; Tue, 31 Jan 2012 15:21:16 +0100 (CET) Received: from [10.0.0.22] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id C5557C3849; Tue, 31 Jan 2012 15:21:16 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Rafal Jaworowski In-Reply-To: <4F27F26F.8080107@FreeBSD.org> Date: Tue, 31 Jan 2012 15:21:16 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <95928C11-96DD-4C54-8327-B499E213E80E@semihalf.com> References: <201201271829.q0RIT4Xq051545@svn.freebsd.org> <4F26F8C9.3080807@FreeBSD.org> <1327956501.1662.13.camel@revolution.hippie.lan> <4F27120E.5000207@FreeBSD.org> <9DAB4777-9799-49E3-8EBC-E7A567414D2A@semihalf.com> <4F27F26F.8080107@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1084) Cc: svn-src-head@freebsd.org, Ian Lepore , svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r230622 - head X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 31 Jan 2012 14:21:18 -0000 On 2012-01-31, at 14:53, Dimitry Andric wrote: > On 2012-01-31 14:20, Rafal Jaworowski wrote: >> On 2012-01-30, at 22:56, Dimitry Andric wrote: > ... >>> That said, I still don't understand why the generated aicasm_scan.c = file >>> is still defining the input() function. Rafal, just to be sure, can = you >>> please paste the file that was generated during your buildkernel? >>=20 >> Problem identified: the auto-gen'd aicasm files would not get updated = in the preexisting kernel OBJ subdir. After wiping out the OBJ sub dir = entirely make buildkernel works fine. >>=20 >> Do you know why would the generated aicasm* files not get a refresh = in the kernel OBJ dir? >=20 > Well, in general, incremental building is difficult to get working for > all corner cases, like this particular one. The lexer and scanner .c > files are generated from .l and .y files, so if the latter did not get > an updated timestamp, the .c files will not be regenerated either. >=20 > The only way to fix this would be to add a dependency on the actual = lex > and yacc executables. But that is probably overkill: if you wanted to > be consistent, you would also have to relink every executable if ld = gets > updated, recompile every object file if cc gets updated, and so on. >=20 > It's probably easier to just clean out your object tree, and build = from > scratch. :) Sure, I was just curious. Thanks for help! Rafal