From owner-freebsd-alpha Thu Jan 7 08:45:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA06534 for freebsd-alpha-outgoing; Thu, 7 Jan 1999 08:45:55 -0800 (PST) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA06528; Thu, 7 Jan 1999 08:45:52 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by nlsystems.com (8.9.1/8.8.5) with SMTP id QAA20158; Thu, 7 Jan 1999 16:46:22 GMT Date: Thu, 7 Jan 1999 16:46:22 +0000 (GMT) From: Doug Rabson To: Stuart Anderson cc: freebsd-ports@FreeBSD.ORG, freebsd-alpha@FreeBSD.ORG Subject: Re: Mesa3 on alpha In-Reply-To: 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 Thu, 7 Jan 1999, Stuart Anderson wrote: > On Thu, 7 Jan 1999, Doug Rabson wrote: > > > I think that the right way to go here is to change system compilers to > > something more modern but that would be fairly hard :-) How hard would it > > be to make Mesa3 depend on the egcs port? > > > > For what its worth, RedHat 5.0 (which used gcc 2.7.2.3) built Mesa without > > optimisations. > > Does it run OK? When porting OpenGL, I found that egcs was the only compiler > that would generate correct code for the Alpha. The others would always > end up SIGFPEs. It seems to run most of the tests ok (built non-optimised) but I can't claim to have actually tested it much. It probably needs to be built with the software completion flags (-mtrap-precision=i -mfp-trap-mode=su) since I can imagine generating a few denormalised numbers when rasterising a few pathological triangles. In alpha code, strange SIGFPEs often mean that your program needs software completion since the chip won't perform calculations which either use or generate non-finite or denormalised numbers. -- 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