Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 10:38:38 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Ruslan Ermilov <ru@FreeBSD.ORG>
Cc:        Marcel Moolenaar <marcel@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, ia64@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/boot/efi/libefi copy.c elf_freebsd.c src/sys/boot/ia64/libski copy.c elf_freebsd.c src/sys/ia64/acpica madt.c src/sys/ia64/ia64 interrupt.c machdep.c mem.c mp_machdep.c trap.c unwind.c src/sys/ia64/include cpufunc.h db_machdep.h ... 
Message-ID:  <20020520173838.D5516380A@overcee.wemm.org>
In-Reply-To: <20020520172659.GA97734@sunbay.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
> 
> --nFreZHaLTZJo0R7j
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> On Mon, May 20, 2002 at 08:11:03PM +0300, Ruslan Ermilov wrote:
> > On Sat, May 18, 2002 at 09:42:20PM -0700, Marcel Moolenaar wrote:
> > > marcel      2002/05/18 21:42:20 PDT
> > >=20
> > >   Modified files:
> > >     sys/boot/efi/libefi  copy.c elf_freebsd.c=20
> > >     sys/boot/ia64/libski copy.c elf_freebsd.c=20
> > >     sys/ia64/acpica      madt.c=20
> > >     sys/ia64/ia64        interrupt.c machdep.c mem.c mp_machdep.c=20
> > >                          trap.c unwind.c=20
> > >     sys/ia64/include     cpufunc.h db_machdep.h ia64_cpu.h param.h=20
> > >                          vmparam.h=20
> > >   Log:
> > >   o  Remove namespace pollution from param.h:
> > >      -  Don't include ia64_cpu.h and cpu.h
> > >      -  Guard definitions by  _NO_NAMESPACE_POLLUTION
> > >      -  Move definition of KERNBASE to vmparam.h
> > >  =20
> > >   o  Move definitions of IA64_RR_{BASE|MASK} to vmparam.h
> > >   o  Move definitions of IA64_PHYS_TO_RR{6|7} to vmparam.h
> > >  =20
> > >   o  While here, remove some left-over Alpha references.
> > >  =20
> > >   Revision  Changes    Path
> > >   1.4       +2 -1      src/sys/boot/efi/libefi/copy.c
> > >   1.8       +2 -0      src/sys/boot/efi/libefi/elf_freebsd.c
> > >   1.2       +1 -0      src/sys/boot/ia64/libski/copy.c
> > >   1.6       +2 -0      src/sys/boot/ia64/libski/elf_freebsd.c
> > >   1.10      +2 -0      src/sys/ia64/acpica/madt.c
> > >   1.25      +2 -0      src/sys/ia64/ia64/interrupt.c
> > >   1.103     +1 -0      src/sys/ia64/ia64/machdep.c
> > >   1.9       +1 -0      src/sys/ia64/ia64/mem.c
> > >   1.38      +1 -0      src/sys/ia64/ia64/mp_machdep.c
> > >   1.53      +1 -0      src/sys/ia64/ia64/trap.c
> > >   1.4       +1 -0      src/sys/ia64/ia64/unwind.c
> > >   1.13      +1 -0      src/sys/ia64/include/cpufunc.h
> > >   1.8       +4 -3      src/sys/ia64/include/db_machdep.h
> > >   1.17      +0 -9      src/sys/ia64/include/ia64_cpu.h
> > >   1.11      +12 -11    src/sys/ia64/include/param.h
> >   1.4       +15 -4     src/sys/ia64/include/vmparam.h
> > >=20
> > This breaks [cross-]compiling ia64 world, it dies building rtlf-elf
> > failing to find ia64_mf().  This patch is now required to proceed:
> >=20
> > %%%
> > Index: reloc.c
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > RCS file: /home/ncvs/src/libexec/rtld-elf/ia64/reloc.c,v
> > retrieving revision 1.5
> > diff -u -p -r1.5 reloc.c
> > --- reloc.c	27 Apr 2002 05:32:51 -0000	1.5
> > +++ reloc.c	20 May 2002 17:10:43 -0000
> > @@ -33,6 +33,7 @@
> > =20
> >  #include <sys/param.h>
> >  #include <sys/mman.h>
> > +#include <machine/ia64_cpu.h>
> > =20
> >  #include <dlfcn.h>
> >  #include <err.h>
> > %%%
> >=20
> Yay!
> 
> My 4.5 i386 box built ia64 world just fine with this patch.
> I'm about to try to cross-release the ia64 tomorrow.

I already found this, because it was required for self-built worlds too.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"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




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