From owner-freebsd-ia64 Thu Jun 6 18:11:57 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id F0CC937B404 for ; Thu, 6 Jun 2002 18:11:49 -0700 (PDT) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g571BlJ93485; Thu, 6 Jun 2002 18:11:47 -0700 (PDT) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3) with ESMTP id g571Bm31005257; Thu, 6 Jun 2002 18:11:48 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.3/8.12.3/Submit) id g571Bm4R005256; Thu, 6 Jun 2002 18:11:48 -0700 (PDT) (envelope-from marcel) Date: Thu, 6 Jun 2002 18:11:48 -0700 From: Marcel Moolenaar To: Hiten Pandya Cc: freebsd-ia64@FreeBSD.ORG Subject: Re: Cross-build broken from i386 to ia64 Message-ID: <20020607011148.GE3503@dhcp01.pn.xcllnt.net> References: <20020606224311.GA57203@hpdi.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020606224311.GA57203@hpdi.ath.cx> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-ia64@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Jun 06, 2002 at 11:43:11PM +0100, Hiten Pandya wrote: > Hi all. > > The cross-building seems to be broken. I have the latest sources, > and I tried the following command: > > make buildkernel KERNCONF=SKI TARGET_ARCH=ia64 DESTDIR=/c2/build MAKEOBJDIRPREFIX=/c2/ia64 If you do 'make buildkernel', especially when cross-building, you have to make sure you have the cross-tools in the object tree. This you get by doing a 'make buildworld' first. The error output indicates that you're using the i386 compiler: > cc1: invalid option `fixed-range=f32-f127' > In file included from /data/dev/src/sys/sys/types.h:49, > from /data/dev/src/sys/sys/param.h:65, > from /data/dev/src/sys/ia64/ia64/genassym.c:40: > machine/endian.h: In function `__bswap32': > machine/endian.h:86: warning: right shift count >= width of type > machine/endian.h: In function `__bswap16': > machine/endian.h:93: warning: right shift count >= width of type > machine/pte.h: At top level: -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message