Subject: Re: Can't make build
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <ks@ub.uni-mainz.de>
List: port-sparc
Date: 07/01/1999 12:49:34
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...

-ks