From owner-freebsd-alpha Wed Oct 6 12:59:23 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id 670B214CE9 for ; Wed, 6 Oct 1999 12:59:14 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from salmon.nlsystems.com (salmon.nlsystems.com [10.0.0.3]) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id UAA45259; Wed, 6 Oct 1999 20:59:44 +0100 (BST) (envelope-from dfr@nlsystems.com) Date: Wed, 6 Oct 1999 20:59:44 +0100 (BST) From: Doug Rabson To: Thomas Valentino Crimi Cc: freebsd-alpha@freebsd.org Subject: Re: New Signals - breaks Alpha makeworld In-Reply-To: <4ryr8y_00UwG0PvkY0@andrew.cmu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 6 Oct 1999, Thomas Valentino Crimi wrote: > > There is a slight #include problem with the Alpha header files, it all > boils down to u_int* being used used /sys/alpha/include/alpha_cpu.h In > building yacc.. > > cc -O -pipe -c /usr/src/usr.bin/yacc/main.c > In file included from /usr/include/machine/frame.h:34, > from /usr/include/machine/ucontext.h:34, > from /usr/include/sys/ucontext.h:34, > from /usr/include/sys/signal.h:238, > from /usr/include/signal.h:44, > from /usr/src/usr.bin/yacc/main.c:52: > /usr/include/machine/alpha_cpu.h:299: syntax error before `alpha_ldbu' > > > Now, shoudl this be fixed with an #include as being a > necessary pre-requisite to include signals.h, with that we're placing a > requirement on programmers that they'll never catch when testing on > i386, meaning running into this more than once (already more than a few > programs will break compiling, yacc is merely the first in the make > world chain. > > I've currently included sys/types.h in alpha_cpu.h, which is hackish > but at least gets the world built. I'm now doing the buildworld to see > what breaks, but I can't see it's clear what the optimial solution is. > I would say to put in the extra #include in alpha_cpu or possibly higher > up in the chain, but requiring it in all applications probably means > we're going to be doing a few bouts of patching. > The kernel built without a hitch. I think the latest version of sys/alpha/include/ucontext.h no longer needs to include frame.h at all. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message