From owner-freebsd-ppc Fri Jan 25 11: 8:22 2002 Delivered-To: freebsd-ppc@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id C1B0537B402 for ; Fri, 25 Jan 2002 11:08:18 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id OAA01929; Fri, 25 Jan 2002 14:08:18 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g0PJ7mh78675; Fri, 25 Jan 2002 14:07:48 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15441.44292.152925.217766@grasshopper.cs.duke.edu> Date: Fri, 25 Jan 2002 14:07:48 -0500 (EST) To: "Server Admin" Cc: Subject: Re: compiler problems? In-Reply-To: <001401c1a5d2$d96bcb40$03e2cbd8@server> References: <15441.43775.191953.219307@grasshopper.cs.duke.edu> <001401c1a5d2$d96bcb40$03e2cbd8@server> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-ppc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Server Admin writes: > Is CRITICAL_FORK defined in the scope of that function ? I'm not familiar > with the code, but I figured that might be a possibility. > Ah.. Duh! Thanks for making me hunt down the define of CRITICAL_FORK. I was assuming it was constant & gcc was complaining about assigning into td->td_savecrit. But CRITICAL_FORK is defined like this: cpufunc.h:#define CRITICAL_FORK (mfmsr() |= PSL_EE) And gcc is correctly complaining about |='ing a function return. Now I need to learn something about ppc so I know what the heck mfmsr is ;) Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ppc" in the body of the message