From owner-svn-src-all@FreeBSD.ORG Mon Jan 30 20:08:46 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A37031065675; Mon, 30 Jan 2012 20:08:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id 6259D8FC0A; Mon, 30 Jan 2012 20:08:46 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:2059:d200:251:990d] (unknown [IPv6:2001:7b8:3a7:0:2059:d200:251:990d]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 85BD05C59; Mon, 30 Jan 2012 21:08:44 +0100 (CET) Message-ID: <4F26F8C9.3080807@FreeBSD.org> Date: Mon, 30 Jan 2012 21:08:41 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120124 Thunderbird/10.0 MIME-Version: 1.0 To: Rafal Jaworowski References: <201201271829.q0RIT4Xq051545@svn.freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 20:08:46 -0000 On 2012-01-30 20:27, Rafal Jaworowski wrote: ... >> 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=arm > > 2. Kernel fails w/ the aicasm > make buildkernel TARGET_ARCH=arm KERNCONF=SHEEVAPLUG > [...] > cc -O2 -pipe -nostdinc -I/usr/include -I. -I/home/raj/work/svn/base/head/sys/dev/aic7xxx/aicasm -std=gnu99 -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 Can you please try doing "make buildenv TARGET_ARCH=arm", then run "which lex" and "which yacc"?