From owner-freebsd-stable@FreeBSD.ORG Tue Oct 2 11:41:36 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 939DB106566C for ; Tue, 2 Oct 2012 11:41:36 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 438778FC0A for ; Tue, 2 Oct 2012 11:41:36 +0000 (UTC) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1TJ0qz-000NqY-BC; Tue, 02 Oct 2012 13:41:33 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3 To: "Thomas Mueller" In-reply-to: <11.02.17648.C6BBA605@smtp01.insight.synacor.com> References: <11.02.17648.C6BBA605@smtp01.insight.synacor.com> Comments: In-reply-to "Thomas Mueller" message dated "Tue, 02 Oct 2012 06:01:16 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 02 Oct 2012 13:41:33 +0200 From: Daniel Braniss Message-ID: Cc: freebsd-stable@freebsd.org 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: Tue, 02 Oct 2012 11:41:36 -0000 > > when using an amd64 host to 'make buildworld' it seems that > > it's using the wrong cpp, at least when building ioctl.c via mkioctl in > > usr.bin/ktrace and having set WITHOUT_CPP(*). This used to work with > > previous releases. > > > *: Im compiling for an embedded system, and hence I want the minimum stuff. > > > at the moment the work around is to remove the WITHOUT_CPP, but it got me > > worried. > > > any fix? > > > cheers, > > danny > > 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. > ok, the missing info is: base system: FreeBSD 8.2-stable amd64 and cross-compiling to FreeBSD 9.1-PRERELEASE i386 > 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. 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