From owner-freebsd-ports Thu Jan 7 06:47:36 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA24758 for freebsd-ports-outgoing; Thu, 7 Jan 1999 06:47:36 -0800 (PST) (envelope-from owner-freebsd-ports@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 GAA24747; Thu, 7 Jan 1999 06:47:32 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by nlsystems.com (8.9.1/8.8.5) with SMTP id OAA19818; Thu, 7 Jan 1999 14:47:29 GMT Date: Thu, 7 Jan 1999 14:47:29 +0000 (GMT) From: Doug Rabson To: Hidetoshi Shimokawa cc: freebsd-alpha@FreeBSD.ORG, freebsd-ports@FreeBSD.ORG Subject: Re: Mesa3 on alpha In-Reply-To: <19990107133928S.simokawa@sat.t.u-tokyo.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 7 Jan 1999, Hidetoshi Shimokawa wrote: > Hi, > > I have a difficulty with compiling Mesa3 port on alpha. > (Now, 47 ports depend on Mesa3!) > > gcc -c -I. -I../include -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100 readpix.c -o readpix.o > gcc: Internal compiler error: program cc1 got fatal signal 6 > *** Error code 1 > > Because stock cc (with and without Doug's patch) sometimes die > when we specifies "-O" or "-O2". > > One solution is override CFLAGS not to use -O?, another solution is > to use egcs or gcc2.8. I have successed compiling Mesa3 with egcs on my > machine. > > There are many ports which have same cc problem. > You can find them at: > > http://www.sat.t.u-tokyo.ac.jp/~simokawa/alpha/logs/index.html > http://www.sat.t.u-tokyo.ac.jp/~simokawa/alpha/logs/index2.html > (sorted by Reason) > > The "gcc" in "Reason" fields means this problem. > > Any comments? 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. -- 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-ports" in the body of the message