From owner-freebsd-alpha Thu Jan 10 13:12: 6 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7773637B402; Thu, 10 Jan 2002 13:12:02 -0800 (PST) Received: from gosset.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 10 Jan 2002 21:11:54 +0000 (GMT) To: John Baldwin Cc: Bernd Walter , freebsd-alpha@FreeBSD.org, Christian Weisgerber Subject: Re: cvs commit: src/sys/boot/i386/boot2 boot2.c In-Reply-To: Your message of "Thu, 10 Jan 2002 12:47:36 PST." Date: Thu, 10 Jan 2002 21:11:54 +0000 From: Ian Dowse Message-ID: <200201102111.aa41013@salmon.maths.tcd.ie> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message , John Baldwin writes: >[ cc'ing Ian so he can see this ] Thanks, I forgot to check the -alpha archive for replies. >>> > -#define BUFSIZE 8192 >>> > +#define BUFSIZE 16384 >>> >>> This doesn't work for me. The bootstrap dies like before. >>> (-CURRENT) >> >> Can the gcc handle >64k globals on alpha? >> There are at least 4 static char arrays allocated with that size. > >Seems to work ok for userland. Just made a simple program that makes 5 16k >buffers as globals and touches all of their contents and it worked FWIW. *shru >g* I don't know much about the alpha boot environment, so I guess there could be limitations there. To start with, could Christian confirm that you are quite sure that the new boot block got installed? I presume you did at least something like cd /usr/src/sys/boot make make install disklabel -B da0s1 (or whatever) (or a make world + disklabel -B da0s1)? If there is a 64k limit somewhere, try removing the buf[] array from sys.c as it looks like it is not used. Ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message