Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 09:06:22 +0000 (GMT)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        <ia64@FreeBSD.ORG>
Subject:   Re: New toolchain and root filesystem available
Message-ID:  <20011030090332.U549-100000@salmon.nlsystems.com>
In-Reply-To: <20011030005946.A1069@dhcp01.pn.xcllnt.net>

index | next in thread | previous in thread | raw e-mail

On Tue, 30 Oct 2001, Marcel Moolenaar wrote:

> On Mon, Oct 29, 2001 at 10:53:21PM +0000, Doug Rabson wrote:
> > We have shifted over to supporting a much newer toolchain, based
> > approximately binutils 2.11.2 and gcc 3.0.1. This combination appears to
> > generate noticably better code but more importantly changes a few critical
> > parts of the ELF ABI. This means that you will need a fresh set of
> > binaries to continue to work properly. I've uploaded a fresh toolchain and
> > a matching set of binaries:
> >
> > 	http://people.freebsd.org/~dfr/ia64-toolchain-29102001.tar.gz
> > 	http://people.freebsd.org/~dfr/ia64-root-29102001.tar.gz
>
> I get major breakages. I'll look at it tomorrow. It's time to
> go to bed now...
>
> FYI,

The header files think we are C++ because of the '-Wp,-+' flag that I used
to allow the C++ comments in Intel's efi headers. Gcc only warns about
these in '-ansi' mode so you can use this patch. You also need
-fno-builtin to stop gcc from turning printf into puts (bah). The new
toolchain encodes __FreeBSD__ etc. into the specs file so you don't need
to play games with the 'CC' variable any more either.

Index: Makefile.ia64
===================================================================
RCS file: /home/ncvs/src/sys/conf/Makefile.ia64,v
retrieving revision 1.39
diff -u -r1.39 Makefile.ia64
--- Makefile.ia64	2001/10/27 00:52:50	1.39
+++ Makefile.ia64	2001/10/28 10:15:08
@@ -19,8 +19,8 @@
 # The Linux cross tools don't understand -fformat-extensions
 CWARNFLAGS=	-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
 		-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-		-ansi -Wp,-+
-CC=		ia64-unknown-linux-gcc -D__FreeBSD__ -U__linux__
+		-fno-builtin
+CC=		ia64-unknown-linux-gcc
 LD=		ia64-unknown-linux-ld
 NM=		ia64-unknown-linux-nm
 SIZE=		ia64-unknown-linux-size


-- 
Doug Rabson				Mail:  dfr@nlsystems.com
					Phone: +44 20 8348 6160



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ia64" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011030090332.U549-100000>