From owner-freebsd-stable@FreeBSD.ORG Fri Jan 31 21:24:21 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A4B98315; Fri, 31 Jan 2014 21:24:21 +0000 (UTC) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62B6B1A93; Fri, 31 Jan 2014 21:24:20 +0000 (UTC) Received: from alph.d.allbsd.org (p2106-ipbf2009funabasi.chiba.ocn.ne.jp [114.146.169.106]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id s0VLNueo034748 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 1 Feb 2014 06:24:07 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [IPv6:::1]) (authenticated bits=0) by alph.d.allbsd.org (8.14.7/8.14.7) with ESMTP id s0VLNrw3097971; Sat, 1 Feb 2014 06:23:54 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sat, 01 Feb 2014 06:23:38 +0900 (JST) Message-Id: <20140201.062338.1549211642350100193.hrs@allbsd.org> To: ian@FreeBSD.org Subject: Re: building stable/8 on stable/10 host: is it supported? From: Hiroki Sato In-Reply-To: <1391198005.13026.14.camel@revolution.hippie.lan> References: <1391198005.13026.14.camel@revolution.hippie.lan> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sat_Feb__1_06_23_38_2014_177)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender DNS name whitelisted, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sat, 01 Feb 2014 06:24:08 +0900 (JST) X-Spam-Status: No, score=-94.3 required=13.0 tests=CONTENT_TYPE_PRESENT, RCVD_IN_PBL,RCVD_IN_RP_RNBL,SPF_SOFTFAIL,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: erichsfreebsdlist@alogt.com, freebsd-stable@FreeBSD.org, marck@rinet.ru X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jan 2014 21:24:21 -0000 ----Security_Multipart(Sat_Feb__1_06_23_38_2014_177)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ian Lepore wrote in <1391198005.13026.14.camel@revolution.hippie.lan>: ia> On Thu, 2014-01-30 at 17:51 +0400, Dmitry Morozovsky wrote: ia> > On Thu, 30 Jan 2014, Dmitry Morozovsky wrote: ia> > ia> > > Hiroki-san, ia> > ia> > [snip] ia> > ia> > > > Currently stable/8 does not build on a box running 10 or later ia> > > > because several commits to fix build errors at the toolchain ia> > > > bootstrapping stages due to the toolchain migration were not MFC'd ia> > > > yet. For stable/8, try the following patch: ia> > > > ia> > > > http://people.allbsd.org/~hrs/FreeBSD/stable-8-patch.diff ia> > > ia> > > Thanks a lot, will try and report! ia> > ia> > amd64 world/kernel built successfully, thanks again. ia> > ia> > However, cross-build to TARGET=i386 chokes on aicasm module: ia> > ia> > ./aicasm -nostdinc -I. -I/FreeBSD/pristine/src.8/sys ia> > -I/FreeBSD/pristine/src.8/sys/contrib/altq ia> > -I/FreeBSD/pristine/src.8/sys/contrib/ipfilter ia> > -I/FreeBSD/pristine/src.8/sys/contrib/pf -I/FreeBSD/pristine/src.8/sys/dev/ath ia> > -I/FreeBSD/pristine/src.8/sys/dev/ath/ath_hal ia> > -I/FreeBSD/pristine/src.8/sys/contrib/ngatm ia> > -I/FreeBSD/pristine/src.8/sys/dev/twa ia> > -I/FreeBSD/pristine/src.8/sys/gnu/fs/xfs/FreeBSD ia> > -I/FreeBSD/pristine/src.8/sys/gnu/fs/xfs/FreeBSD/support ia> > -I/FreeBSD/pristine/src.8/sys/gnu/fs/xfs -I/FreeBSD/pristine/src.8/sys/dev/cxgb ia> > -I/FreeBSD/pristine/src.8/sys/dev/cxgbe -I/FreeBSD/pristine/src.8/sys/cam/scsi ia> > -I/FreeBSD/pristine/src.8/sys/dev/aic7xxx -o aic79xx_seq.h -r aic79xx_reg.h -p ia> > aic79xx_reg_print.c -i /FreeBSD/pristine/src.8/sys/dev/aic7xxx/aic79xx_osm.h ia> > /FreeBSD/pristine/src.8/sys/dev/aic7xxx/aic79xx.seq ia> > ./aicasm: Stopped at file /FreeBSD/pristine/src.8/sys/dev/aic7xxx/aic79xx.seq, ia> > line 53 - Undefined symbol code referenced ia> > ./aicasm: Removing aic79xx_seq.h due to error ia> > ./aicasm: Removing aic79xx_reg.h due to error ia> > *** Signal 11 ia> > ia> > Stop in /usr/obj/i386/FreeBSD/pristine/src.8/sys/GENERIC. ia> > *** Error code 1 ia> > ia> > Stop in /FreeBSD/pristine/src.8. ia> > *** Error code 1 ia> > ia> > Stop. ia> > make: stopped in /FreeBSD/pristine/src.8 ia> ia> Some time in 2013 the build process for aicasm got broken for the ia> cross-build case (it builds with the wrong compiler and header files). ia> I fixed it late in 2013 with a series of botched attempts that fixed it ia> in some case and broke it for some other case. Eventually it got fixed ia> for all cases except apparently the old-school kernel compile method of ia> running make from the sys/config dir. Now it has been fixed on head by ia> just nuking aicasm and checking in some firmware binary blob instead. ia> I'm not sure whether it makes sense to mfc that binary-blob fix to ia> stable branches or not. ia> ia> I've distilled the end result of my build mechanism changes down to a ia> patch against stable-8, I'll attach it to this mail. It lets me build ia> amd64 and arm on this i386 machine, so I think it'll let you build i386 ia> on an amd64 host. Great, I was about to send a patchset including changes in r260401[*] but I think your change should be sufficient. [*] http://people.allbsd.org/~hrs/FreeBSD/stable-8-patch-20140201-1.diff -- Hiroki ----Security_Multipart(Sat_Feb__1_06_23_38_2014_177)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEABECAAYFAlLsFFoACgkQTyzT2CeTzy2QMACeMjguOvjcbYSOVIokmhSj9WOc c4IAoLW2l8rPmifY6/VrkPLrxjKV0NCf =vigN -----END PGP SIGNATURE----- ----Security_Multipart(Sat_Feb__1_06_23_38_2014_177)----