From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16386 invoked from network); 18 Feb 1999 23:59:21 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 18 Feb 1999 23:59:21 -0000 Received: from naur.csee.wvu.edu (naur.csee.wvu.edu [157.182.194.28]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id SAA03124 for ; Thu, 18 Feb 1999 18:45:14 -0500 Received: (from dfrasnel@localhost) by naur.csee.wvu.edu (8.9.0/8.9.0) id SAA24359 for axp-list@redhat.com; Thu, 18 Feb 1999 18:44:55 -0500 (EST) Date: Thu, 18 Feb 1999 18:44:55 -0500 From: "Daniel J. Frasnelli" To: axp-list@redhat.com Subject: A fix for what ails you (fpe with Mesa/OpenGL demos fixed) Message-ID: <19990218184455.Y16253@csee.wvu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i You could say I'm a very happy hacker at the moment :-) Took a look at the replies on axp-list regarding use of -mieee and libffm, made some changes to the Makefiles from Mesa-3.1beta1, rebuilt and installed. To make a long moment of elation shorter, all the GL demos and modes of xlockmore work perfectly now. Here's the method to my madness: 1) Modified the linux-alpha-elf CFLAGS entry in Mesa-3.1/Make-config to read: "CFLAGS = -mieee -pipe -mcpu=ev56 -Wa,-m21164a -g -ansi -pedantic -fPIC -D_XOPEN_SOURCE -DSHM" Obviously the debug flag and optimizations are at your own discretion. 2) Wrote a small script to place '-lffm' before '-lm' in the Makefiles. Fairly straightforward - e-mail me in private if you need some help here :-) I've not analyzed it enough to determine whether the success lay in -mieee, -lffm, or both. I rebuilt FlightGear with similar CFLAGS and ld preloading of libffm; with the fixed Mesa libs installed, the characteristic splash screen now loads (it did not previously) but I still encounter a fpe at the same place as before. I will try to go in-depth with the error over the next couple days. Best regards, Daniel ---