From owner-freebsd-ia64 Tue Jan 29 13:34:42 2002 Delivered-To: freebsd-ia64@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 2C3DE37B402 for ; Tue, 29 Jan 2002 13:34:39 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020129213438.YJNK10199.rwcrmhc53.attbi.com@peter3.wemm.org> for ; Tue, 29 Jan 2002 21:34:38 +0000 Received: from overcee.wemm.org (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id g0TLYcs47200 for ; Tue, 29 Jan 2002 13:34:38 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.wemm.org (Postfix) with ESMTP id B70D03BAD; Tue, 29 Jan 2002 13:34:33 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Espen Skoglund Cc: freebsd-ia64@FreeBSD.ORG Subject: Re: EFI loader problems In-Reply-To: <15446.56138.273576.286815@i30nb20.ira.uka.de> Date: Tue, 29 Jan 2002 13:34:33 -0800 From: Peter Wemm Message-Id: <20020129213433.B70D03BAD@overcee.wemm.org> 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 Espen Skoglund wrote: > Oh, by the way, my hardware is a single CPU HP i2000, and the EFI boot > manager tells me that its version is 1.02 [12.36A]. I'm using gcc > 3.0.3 with a CVS version of binutils (binutils 2.11.2 seems to be > broken for IA-64). -STABLE is my development platform. Yes, there is a set of nasty bugs in the FSF 2.11.2 binutils release. As you have discovered, you need to either get the fixes (have a look at the binutils in src/contrib/binutils on freebsd as of a week or so ago, you need to fix ia64-asmtab.c from memory and a couple of other places) or use the freebsd version itself. The version in the freebsd tree works (or used to work, I haven't tried the one that was just imported) as a cross compiler just fine (with a bit of include file tweaking). cd src/gnu/usr.bin/binutils make TARGET_ARCH=ia64 DESTDIR=/usr/local/ia64 obj make TARGET_ARCH=ia64 DESTDIR=/usr/local/ia64 depend make TARGET_ARCH=ia64 DESTDIR=/usr/local/ia64 all make TARGET_ARCH=ia64 DESTDIR=/usr/local/ia64 install (you'll need to mkdir a tree under /usr/local/ia64 to keep the install paths happy, but these binaries will cross compile just fine.) I'm a little wary about using a top-of-cygnus-cvs-tree binutils (as we have in -current). We've had a track record of getting burned in ABI changes in the past with ia64. It is quite possible that the current version produces executables that we cannot use. I will check this out and see. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ia64" in the body of the message