From owner-svn-src-head@FreeBSD.ORG Mon Jan 30 19:45:41 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 257FE1065687; Mon, 30 Jan 2012 19:45:41 +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 C97538FC08; Mon, 30 Jan 2012 19:45:40 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id D98FCC3849; Mon, 30 Jan 2012 20:27:38 +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 YgY2JXBCWTzi; Mon, 30 Jan 2012 20:27:38 +0100 (CET) Received: from [10.0.0.112] (nat3-133.ghnet.pl [91.150.222.133]) by smtp.semihalf.com (Postfix) with ESMTPSA id 28CE0C3847; Mon, 30 Jan 2012 20:27:38 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Rafal Jaworowski In-Reply-To: <201201271829.q0RIT4Xq051545@svn.freebsd.org> Date: Mon, 30 Jan 2012 20:27:36 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201201271829.q0RIT4Xq051545@svn.freebsd.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1084) Cc: svn-src-head@freebsd.org, 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: Mon, 30 Jan 2012 19:45:41 -0000 On 2012-01-27, at 19:29, Dimitry Andric wrote: > Author: dim > Date: Fri Jan 27 18:29:03 2012 > New Revision: 230622 > URL: http://svn.freebsd.org/changeset/base/230622 >=20 > Log: > When the buildkernel stage 2.3 (build tools) runs, the PATH is still = set > to the default from the top-level Makefile. Therefore, invocations = of > lex and yacc (used during building of aicasm) will use the = executables > in /usr/bin, not those optionally built during the previous = buildworld > or kernel-toolchain. This makes kernel builds from older FreeBSD > releases more difficult than necessary. >=20 > Fix this by setting PATH to ${BPATH}:${PATH} in stage 2.3, so the > bootstrap tools directories are searched before the regular ones. Is this supposed to work for cross building as well? I'm still = encountering problems on a 7.3 host build: 1. Cross world builds fine make -j 8 buildworld TARGET_ARCH=3Darm 2. Kernel fails w/ the aicasm make buildkernel TARGET_ARCH=3Darm KERNCONF=3DSHEEVAPLUG [...] cc -O2 -pipe -nostdinc -I/usr/include -I. = -I/home/raj/work/svn/base/head/sys/dev/aic7xxx/aicasm -std=3Dgnu99 = -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wno-pointer-sign -c aicasm_scan.c cc1: warnings being treated as errors /home/raj/work/svn/base/head/sys/dev/aic7xxx/aicasm/aicasm_scan.l:837: = warning: function declaration isn't a prototype *** Error code 1 Stop in = /home/raj/work/obj/arm.arm/home/raj/work/svn/base/head/sys/SHEEVAPLUG. *** Error code 1 Stop in /home/raj/work/svn/base/head. *** Error code 1 Stop in /home/raj/work/svn/base/head. Do you know any workarounds to this? Rafal