From owner-freebsd-stable@FreeBSD.ORG Wed Oct 3 01:52:49 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C5F31065693 for ; Wed, 3 Oct 2012 01:52:49 +0000 (UTC) (envelope-from mueller23@insightbb.com) Received: from mail.insightbb.com (smtp3.insight.synacor.com [208.47.185.25]) by mx1.freebsd.org (Postfix) with ESMTP id 2D05D8FC08 for ; Wed, 3 Oct 2012 01:52:48 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.1 cv=K/p5VaknQOJDhrEDcD93QsaYGScowlD1uH+DOMUGUmo= c=1 sm=0 a=9fOwHjcT9nYA:10 a=jLN7EqiLvroA:10 a=F4_ZJLAPQAHbAhHuI90A:9 a=AcdsImxJPJ9Yo6Ye3TGm+Q==:117 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.insight.synacor.com header.from=mueller23@insightbb.com; sender-id=softfail Authentication-Results: smtp02.insight.synacor.com smtp.mail=mueller23@insightbb.com; spf=softfail; sender-id=softfail Received-SPF: softfail (smtp02.insight.synacor.com: transitional domain insightbb.com does not designate 74.134.34.76 as permitted sender) Received: from [74.134.34.76] ([74.134.34.76:52326] helo=localhost) by mail.insightbb.com (envelope-from ) (ecelerity 2.2.2.40 r(29895/29896)) with ESMTP id 7A/49-16145-F6A9B605; Tue, 02 Oct 2012 21:52:47 -0400 Date: Tue, 02 Oct 2012 21:52:47 -0400 Message-ID: <7A.49.16145.F6A9B605@smtp02.insight.synacor.com> From: "Thomas Mueller" To: freebsd-stable@freebsd.org Cc: Subject: Re: problem cross-compiling 9.1 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 01:52:49 -0000 ^ You don't say what target architecture you are cross-compiling for, and if ^ your host OS was FreeBSD or something else like Linux or NetBSD. ^ I've been cross-compiling NetBSD 5.1_STABLE, 6.0 prerelease and HEAD for ^ i386 and amd64 from FreeBSD 9.0_STABLE with varied results, but in my ^ experience NetBSD is less stable and less up-to-date than FreeBSD. > ok, the missing info is: > base system: > FreeBSD 8.2-stable amd64 > and cross-compiling to > FreeBSD 9.1-PRERELEASE i386 > I have been cross-compiling since amd64 appeared with no problems (well almost > :-). > The first time was i386 to amd64, and amd64 to x ever since. > cheers, > danny 9.1-PRERELEASE is not too far ahead of 8.2-stable for building the system. Advantage of a 64-bit OS over 32-bit OS for compiling is that 32-bit only supports about 3 GB RAM, unless you use PAE, while 64-bit is not so limited, but this is an issue only if you have >= 4 GB RAM. FreeBSD is capable of cross-compiling the system for all supported architectures ("make universe"). There have been questions on the FreeBSD lists on Clang vs. GCC for building the system and ports. Tom