From owner-freebsd-current Sat Jun 22 4:55:45 2002 Delivered-To: freebsd-current@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 4388137B400 for ; Sat, 22 Jun 2002 04:55:30 -0700 (PDT) Received: from fwd04.sul.t-online.de by mailout05.sul.t-online.com with smtp id 17LjUB-0007EQ-05; Sat, 22 Jun 2002 13:55:23 +0200 Received: from Gatekeeper.FreeBSD.org (520047440004-0001@[217.81.3.84]) by fmrl04.sul.t-online.com with esmtp id 17LjU7-1PuhRQC; Sat, 22 Jun 2002 13:55:19 +0200 Received: from StefanEsser.FreeBSD.org (StefanEsser [10.0.0.1]) by Gatekeeper.FreeBSD.org (Postfix) with ESMTP id 3EF7163AF; Sat, 22 Jun 2002 13:55:19 +0200 (CEST) Received: by StefanEsser.FreeBSD.org (Postfix, from userid 200) id 781A31F01; Fri, 21 Jun 2002 20:12:38 +0200 (CEST) Date: Fri, 21 Jun 2002 20:12:38 +0200 From: Stefan Esser To: Kris Kennaway Cc: Yamada Ken Takeshi , freebsd-current@FreeBSD.ORG Subject: [Patch] Re: GCC3.1 internal compiler error when compiling XFree86-4-libraries Message-ID: <20020621181238.GB608@StefanEsser.FreeBSD.org> Reply-To: Stefan Esser References: <20020608.171312.730576735.ken@tydfam.jp> <20020608013938.B5755@xor.obsecurity.org> <20020608092926.GA2635@StefanEsser.FreeBSD.org> <20020616023918.C12427@xor.obsecurity.org> <20020621123351.GA68390@StefanEsser.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020621123351.GA68390@StefanEsser.FreeBSD.org> User-Agent: Mutt/1.5.1i X-Sender: 520047440004-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-06-21 14:33 +0200, Stefan Esser wrote: Following up to my own mail: Seems that translate.c is built from other directories as well, not just from within OSmesa. See the following patch, which is "files/patch-GL_mesa_src_Imakefile" on my system: --- lib/GL/mesa/src/Imakefile.orig Wed May 2 17:06:02 2001 +++ lib/GL/mesa/src/Imakefile Fri Jun 21 15:49:39 2002 @@ -51,6 +51,13 @@ #include +#if defined(__GNUC__) && __GNUC__ >= 3 +#define ObjectCompile(options) RemoveFile($@) @@\ + ClearmakeOSName \ + $(CC) -c $(CFLAGS) options $*.c -o $@ || \ + $(CC) -c $(CFLAGS) options -O0 $*.c -o $@ +#endif + LibraryObjectRule() SubdirLibraryRule($(OBJS)) Regards, STefan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message