From owner-svn-src-head@FreeBSD.ORG Mon Jan 30 21:01:34 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 5B2AF106564A for ; Mon, 30 Jan 2012 21:01:34 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3F0A08FC14 for ; Mon, 30 Jan 2012 21:01:34 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta12.emeryville.ca.mail.comcast.net with comcast id Twh71i0010lTkoCACwoQLJ; Mon, 30 Jan 2012 20:48:24 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta04.emeryville.ca.mail.comcast.net with comcast id TwoN1i01A4NgCEG8QwoPfc; Mon, 30 Jan 2012 20:48:24 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q0UKmLX0019418; Mon, 30 Jan 2012 13:48:21 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Dimitry Andric In-Reply-To: <4F26F8C9.3080807@FreeBSD.org> References: <201201271829.q0RIT4Xq051545@svn.freebsd.org> <4F26F8C9.3080807@FreeBSD.org> Content-Type: text/plain Date: Mon, 30 Jan 2012 13:48:21 -0700 Message-Id: <1327956501.1662.13.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, Rafal Jaworowski , 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 21:01:34 -0000 On Mon, 2012-01-30 at 21:08 +0100, Dimitry Andric wrote: > 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"? Shouldn't lex and yacc be listed in the Makefile.inc1 bootstrap-tools target for this to be fully effective? It looks like neither is in RELENG_7 and lex is only conditionally listed in RELENG_8. -- Ian