Subject: Re: Can't make build
To: None <kurt.schreiner@uni-mainz.de>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc
Date: 07/01/1999 13:14:20
On Thu, Jul 01, 1999 at 12:49:34PM +0200, ks@ub.uni-mainz.de wrote:
> 
> hi,
> 
> > all ===> sparc_elf
> > cc -O2 -fPIC -Werror   -DLIBC_SCCS -DPIC -DDYNAMIC -DELFSIZE=32 -I/home/sources/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so -I/home/sources/src/lib/csu/sparc_elf/../common_elf -c -DCRT0 crt0.c -o crt0.o
> > In file included from /home/sources/src/lib/csu/sparc_elf/../common_elf/common.h:41,
> >                  from crt0.c:35:
> > /home/sources/src/lib/csu/sparc_elf/../../../libexec/ld.elf_so/rtld.h:65: #error "Sparc has a variable page size"
> 
> I got bitten by this, too, and reported to port-sparc on 06/28/99. but
> no one noiced?
> 
> I applied the following patch to my local sources:
> 
> *** ./lib/csu/sparc_elf/Makefile.orig      Mon Mar 22 13:09:32 1999
> --- ./lib/csu/sparc_elf/Makefile Mon Jun 28 14:20:07 1999
> ***************
> *** 1,3 ****
> --- 1,4 ----
>   #     $NetBSD: Makefile,v 1.4 1999/03/20 00:32:41 thorpej Exp $
>   
>   .include "${.CURDIR}/../common_elf/Makefile.inc"
> + CPPFLAGS+=    -DVARPSZ
> 
> 
> I don't know if that's TRT todo, but at least the compilation went
> on...

Well, it compiles now ... let's see if this gives a working toolchain :)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--