From owner-freebsd-alpha Wed Oct 6 9: 1:56 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from po9.andrew.cmu.edu (PO9.ANDREW.CMU.EDU [128.2.10.109]) by hub.freebsd.org (Postfix) with ESMTP id A8D121512F for ; Wed, 6 Oct 1999 09:01:52 -0700 (PDT) (envelope-from tcrimi+@andrew.cmu.edu) Received: (from postman@localhost) by po9.andrew.cmu.edu (8.9.3/8.9.3) id MAA26696 for freebsd-alpha@freebsd.org; Wed, 6 Oct 1999 12:01:50 -0400 (EDT) Received: via switchmail; Wed, 6 Oct 1999 12:01:49 -0400 (EDT) Received: from unix14.andrew.cmu.edu via qmail ID ; Wed, 6 Oct 1999 12:01:02 -0400 (EDT) Received: from unix14.andrew.cmu.edu via qmail ID ; Wed, 6 Oct 1999 12:01:02 -0400 (EDT) Received: from mms.4.60.Jun.27.1996.03.02.53.sun4.51.EzMail.2.0.CUILIB.3.45.SNAP.NOT.LINKED.unix14.andrew.cmu.edu.sun4m.54 via MS.5.6.unix14.andrew.cmu.edu.sun4_51; Wed, 6 Oct 1999 12:01:02 -0400 (EDT) Message-ID: <4ryr8y_00UwG0PvkY0@andrew.cmu.edu> Date: Wed, 6 Oct 1999 12:01:02 -0400 (EDT) From: Thomas Valentino Crimi To: freebsd-alpha@freebsd.org Subject: New Signals - breaks Alpha makeworld Cc: Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message