From owner-freebsd-mozilla Thu Jan 21 17:37:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA03998 for freebsd-mozilla-outgoing; Thu, 21 Jan 1999 17:37:57 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from smtp02.primenet.com (smtp02.primenet.com [206.165.6.132]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA03986 for ; Thu, 21 Jan 1999 17:37:52 -0800 (PST) (envelope-from tlambert@usr02.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id SAA26610; Thu, 21 Jan 1999 18:37:40 -0700 (MST) Received: from usr02.primenet.com(206.165.6.202) via SMTP by smtp02.primenet.com, id smtpd026410; Thu Jan 21 18:37:30 1999 Received: (from tlambert@localhost) by usr02.primenet.com (8.8.5/8.8.5) id SAA14979; Thu, 21 Jan 1999 18:37:12 -0700 (MST) From: Terry Lambert Message-Id: <199901220137.SAA14979@usr02.primenet.com> Subject: Re: Internal compiler error? To: chris@netmonger.net (Christopher Masto) Date: Fri, 22 Jan 1999 01:37:01 +0000 (GMT) Cc: freebsd-mozilla@FreeBSD.ORG In-Reply-To: <19990121184935.A6020@netmonger.net> from "Christopher Masto" at Jan 21, 99 06:49:35 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > nsDocLoader.cpp: In method `nsDocLoaderServiceFactory::~nsDocLoaderServiceFactory()': > nsDocLoader.cpp:1869: Internal compiler error. > nsDocLoader.cpp:1869: Please submit a full bug report to `bug-g++@prep.ai.mit.edu'. > gmake: *** [nsDocLoader.o] Error 1 > gmake[1]: Leaving directory `/data/cvs/mozilla/mozilla/webshell/src' > > This doesn't seem to be a good sign. Given the degree of integration > between the compiler and operating system under FreeBSD, I am hesitant > to touch the system-installed gcc 2.7.2.1. I suppose I could try the > egcs port, under the assumption that it's been built to avoid getting > in the way of the system's gcc installation, but first I'm curious > whether anyone else has encountered this error, and if so, what they > did about it? EGCS will fail. Install the GCC 2.8.2 port, and ensure that the "DESTDIR" is not set in the makefile. In addition, you may be required to put a space between the "::" and the other semantic cruft, or before the :: in a base override to get rid of the problem (g++/egcs fails to interpret the class override correctly in some circumstances). That is: // explicitly call desctructor... object->foo::~foo(); // override return from based function as argument to function... object->func(::read( fd, buf, sizeof(buf)); Becomes: // explicitly call desctructor... object->foo:: ~foo(); // override return from based function as argument to function... object->func( ::read( fd, buf, sizeof(buf)); (Yeah, yeah, tell the g++/egcs people about not screwing up the syntactic sugar, not me...). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message