From owner-freebsd-amd64@FreeBSD.ORG Fri Jan 25 23:03:09 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA6E16A421 for ; Fri, 25 Jan 2008 23:03:09 +0000 (UTC) (envelope-from prvs=1910bf16bb=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (core6.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 3170913C447 for ; Fri, 25 Jan 2008 23:03:08 +0000 (UTC) (envelope-from prvs=1910bf16bb=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1201302020; x=1201906820; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=T7jUwQ1aGYlShwxNdlmWf jgsicLmAoDJ9f6WmrqN2YM=; b=QJi5J+4DWiS9EfiwfE/MpAzqcG2zPwhkwyLP2 IraLZRmY3ioXTD0A1j8Db1r6o397tWyX0N3vO3XhIe1556p4G58wlaLBJELcU1Nj 8c7eIOGrV7JJbFMx1xlSbdcNVnV+R4D0rCd022DOwP8IwnBcLxeGwSn85m1+JCm0 MeIYb0= X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on mail1.multiplay.co.uk X-Spam-Level: X-Spam-Status: No, score=-14.7 required=6.0 tests=BAYES_00, USER_IN_WHITELIST, USER_IN_WHITELIST_TO autolearn=ham version=3.1.8 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v9.6.3) with ESMTP id md50004936434.msg; Fri, 25 Jan 2008 23:00:19 +0000 Message-ID: <000f01c85fa6$0d0dd7c0$b6db87d4@multiplay.co.uk> From: "Steven Hartland" To: "John Baldwin" , References: <07bb01c85f68$04f85440$b6db87d4@multiplay.co.uk> <200801251503.29219.jhb@freebsd.org> Date: Fri, 25 Jan 2008 23:00:16 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 212.135.219.182 X-Return-Path: prvs=1910bf16bb=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-Spam-Processed: mail1.multiplay.co.uk, Fri, 25 Jan 2008 23:00:20 +0000 X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 25 Jan 2008 23:00:20 +0000 Cc: Subject: Re: Cross build of i386 on 7.0 fails X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jan 2008 23:03:10 -0000 ----- Original Message ----- From: "John Baldwin" > On Friday 25 January 2008 10:36:14 am Steven Hartland wrote: >> I'm sure I must be missing something simple but I've searched google >> and the mail archives and cant find the answer to this. >> >> When trying to build i386 targets in amd64 buildkernel fails with the >> following:- >> > make buildkernel TARGET=i386 >> .... >> >>> stage 3.1: making dependencies >> ... >> /usr/src/sys/i386/i386/genassym.c:1: error: -mpreferred-stack-boundary=2 is > not between 4 and 12 >> >> What I think is happening is that something is still working as though >> I want amd64 bins and hence the error. Is this the case? What am I >> missing? > > Did you do 'make TARGET=i386 kernel-toolchain' (or buildworld or toolchain) > first? Nope, that fixed it thanks a lot! On standard builds that step seems to be done automatically? So is there a missing dependency / check when cross building? Now I know that option searching for kernel-toolchain turned up the information in "man build" which seems to have similar but more info than the header of:- /usr/src/Makefile It might be nice to have a reference "man build" in the header to help others who try to do the same thing and ensure they don't hit the same brick wall I did. Thanks again Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.