From owner-freebsd-mozilla Mon Jan 18 02:24:28 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA22082 for freebsd-mozilla-outgoing; Mon, 18 Jan 1999 02:24:28 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from localhost (gserver.com [209.180.80.210]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA22037 for ; Mon, 18 Jan 1999 02:24:08 -0800 (PST) (envelope-from surfchina@gserver.com) Received: (surfchina@localhost) by gserver.com (8.8.8) id DAA11298; Mon, 18 Jan 1999 03:28:52 -0700 (MST) Date: Mon, 18 Jan 1999 03:28:52 -0700 (MST) From: surfchina@gserver.com (Surf China) Message-Id: <199901181028.DAA11298@gserver.com> To: freebsd-mozilla@FreeBSD.ORG Subject: SurfChina.com - Search Engine for China Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear friend, Do you ever wonder where to find information about China? Well, wonder no more. Come check out SurfChina.com (http://www.surfchina.com), the BEST SEARCH ENGINE for China. SurfChina.com's database consists of thousands of China, Chinese related web sites, all sites are carefully categorized into over 300 categories, which makes search very easy. New sites and categories are added everyday. You can find Chinese companies, Chinese culture sites, travel agencies, employment opportunities, Chinese newspapers, and much, much more. Take a look for yourself, and tell a friend about SurfChina.com, so everyone can take advantage of this wonderful resource. SurfChina.com also provides China statistical information service. We work directly with the State Statistical Bureau of China to provide the latest, the most accurate, and most authritative China statistical data for our clients. To find out more about this service, please visit http://www.surfchina.com/stats/ Sincerely yours, SurfChina.com team To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Wed Jan 20 12:22:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA13294 for freebsd-mozilla-outgoing; Wed, 20 Jan 1999 12:22:51 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from red.itvcorp.com ([206.171.8.15]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA13276 for ; Wed, 20 Jan 1999 12:22:45 -0800 (PST) (envelope-from mont@hotmail.com) Received: from hotmail.com (maine.itvc.com [206.171.8.84]) by red.itvcorp.com (Post.Office MTA v3.1.2 release (PO205-101c) ID# 0-37055U100L100S0) with ESMTP id AAA327 for ; Wed, 20 Jan 1999 12:28:35 -0800 Message-ID: <36A63BAB.CFF84155@hotmail.com> Date: Wed, 20 Jan 1999 12:25:15 -0800 From: "Michael B. Montvelishsky" Organization: iTV corp. X-Mailer: Mozilla 4.08 [en] (X11; U; FreeBSD 2.2.7-STABLE i386) MIME-Version: 1.0 To: freebsd-mozilla@FreeBSD.ORG Subject: subscribe freebsd-mozilla Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG subscribe freebsd-mozilla To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Thu Jan 21 15:49:48 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA16563 for freebsd-mozilla-outgoing; Thu, 21 Jan 1999 15:49:48 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA16549 for ; Thu, 21 Jan 1999 15:49:45 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id SAA06628; Thu, 21 Jan 1999 18:49:35 -0500 (EST) Message-ID: <19990121184935.A6020@netmonger.net> Date: Thu, 21 Jan 1999 18:49:35 -0500 From: Christopher Masto To: freebsd-mozilla@FreeBSD.ORG Subject: Internal compiler error? Mail-Followup-To: freebsd-mozilla@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I've started to look at getting this lizard built on my FreeBSD-current machine, and apart from having to futz with the shared library naming change, the build seemed to chug along pretty nicely.. until: gmake[1]: Entering directory `/data/cvs/mozilla/mozilla/webshell/src' c++ -o nsDocLoader.o -c -DXP_UNIX -O -g -fPIC -DUSE_AUTOCONF=1 -DMOZILLA_CLIENT=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_ST_RDEV=1 -DHAVE_TM_ZONE=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBUTIL=1 -DHAVE_LIBL=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DRETSIGTYPE=void -DHAVE_STRCOLL=1 -DHAVE_STRFTIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_VPRINTF=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETWD=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_QSORT=1 -DHAVE_SNPRINTF=1 -DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_GETTIMEOFDAY=1 -D! GETTIMEOFDAY_TWO_ARGS=1 -DHAVE_SYSERRLIST=1 -DHAVE_IOS_BINARY=1 -DHAVE_IOS_BIN=1 -D_IMPL_NS_WEB -DDEBUG -UNDEBUG -DDEBUG_chris -DTRACING -DNETSCAPE -DOSTYPE=\"FreeBSD3\" -DMOZILLA_CLIENT -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DSTANDALONE_IMAGE_LIB -DMODULAR_NETLIB -DMOZ_USER_DIR=\".mozilla\" -I../../dist/./include -I../../dist/include -I../../include -I/data/proj/ns/nspr/include -I../../dist/./public/jpeg -I../../dist/./public/png -I/usr/X11R6/include nsDocLoader.cpp 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? There seems to be just about zero activity on freebsd-mozilla.. it's unfortunate; the reference platform for Unix Mozilla is Linux, and I'm concerned that we'll be left high and dry if there aren't enough FreeBSDers in the loop. Now I'll go see if I can adjust this code to avoid killing gcc. -- Christopher Masto Director of Operations NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net "Good tools allow users to do stupid things." -- Clay Shirky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Thu Jan 21 17:11:33 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA00517 for freebsd-mozilla-outgoing; Thu, 21 Jan 1999 17:11:33 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA00511 for ; Thu, 21 Jan 1999 17:11:28 -0800 (PST) (envelope-from tague@netscape.com) Received: from tintin.mcom.com (tintin.mcom.com [205.217.233.42]) by netscape.com (8.8.5/8.8.5) with ESMTP id RAA29925 for ; Thu, 21 Jan 1999 17:11:08 -0800 (PST) Received: from netscape.com ([208.12.36.136]) by tintin.mcom.com (Netscape Messaging Server 4.01) with ESMTP id F5XSM900.NWI; Thu, 21 Jan 1999 17:10:57 -0800 Message-ID: <36A7D020.1246AC3A@netscape.com> Date: Thu, 21 Jan 1999 17:10:56 -0800 From: tague@netscape.com (Tague Griffith) Reply-To: tague@netscape.com Organization: Netscape Communications X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en,ja,de,zh-TW MIME-Version: 1.0 To: Christopher Masto CC: freebsd-mozilla@FreeBSD.ORG Subject: Re: Internal compiler error? References: <19990121184935.A6020@netmonger.net> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id RAA00512 Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm running into the same problem with the current tree on FreeBSD 3.0. The compiler error is in both egcs and gcc-2.7.2.1. I'm calling in a favour at Cygnus to see if I can get someone to help me out with a fix. As far as compiling Mozilla using gcc-2.7.2.1, I wouldn't recommend it. I would move over to egcs. Multi-threaded c++ in gcc 2.7.2.1 is broken and people have already run into problems with mozilla. /t Christopher Masto wrote: > I've started to look at getting this lizard built on my FreeBSD-current > machine, and apart from having to futz with the shared library naming > change, the build seemed to chug along pretty nicely.. until: > > gmake[1]: Entering directory `/data/cvs/mozilla/mozilla/webshell/src' > c++ -o nsDocLoader.o -c -DXP_UNIX -O -g -fPIC -DUSE_AUTOCONF=1 -DMOZILLA_CLIENT=1 -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1 -DHAVE_ST_RDEV=1 -DHAVE_TM_ZONE=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_CDEFS_H=1 -DHAVE_LIBC=1 -DHAVE_LIBM=1 -DHAVE_LIBUTIL=1 -DHAVE_LIBL=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DRETSIGTYPE=void -DHAVE_STRCOLL=1 -DHAVE_STRFTIME=1 -DHAVE_UTIME_NULL=1 -DHAVE_VPRINTF=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETWD=1 -DHAVE_MKDIR=1 -DHAVE_MKTIME=1 -DHAVE_PUTENV=1 -DHAVE_RMDIR=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1 -DHAVE_STRCSPN=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRSPN=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOUL=1 -DHAVE_UNAME=1 -DHAVE_QSORT=1 -DHAVE_SNPRINTF=1 -DHAVE_REMAINDER=1 -DHAVE_LCHOWN=1 -DHAVE_GETTIMEOFDAY=1 -D! > ! > ! > ! > ! > GETTIMEOFDAY_TWO_ARGS=1 -DHAVE_SYSERRLIST=1 -DHAVE_IOS_BINARY=1 -DHAVE_IOS_BIN=1 -D_IMPL_NS_WEB -DDEBUG -UNDEBUG -DDEBUG_chris -DTRACING -DNETSCAPE -DOSTYPE=\"FreeBSD3\" -DMOZILLA_CLIENT -DLAYERS -DUNIX_EMBED -DX_PLUGINS -DJS_THREADSAFE -DUNIX_ASYNC_DNS -DSTANDALONE_IMAGE_LIB -DMODULAR_NETLIB -DMOZ_USER_DIR=\".mozilla\" -I../../dist/./include -I../../dist/include -I../../include -I/data/proj/ns/nspr/include -I../../dist/./public/jpeg -I../../dist/./public/png -I/usr/X11R6/include nsDocLoader.cpp > 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? > > There seems to be just about zero activity on freebsd-mozilla.. it's > unfortunate; the reference platform for Unix Mozilla is Linux, and I'm > concerned that we'll be left high and dry if there aren't enough > FreeBSDers in the loop. > > Now I'll go see if I can adjust this code to avoid killing gcc. > -- > Christopher Masto Director of Operations NetMonger Communications > chris@netmonger.net info@netmonger.net http://www.netmonger.net > > "Good tools allow users to do stupid things." -- Clay Shirky > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mozilla" in the body of the message -- ---------------------------------------------------------- tague griffith (tague@netscape.com) client internationalization To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message 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 From owner-freebsd-mozilla Thu Jan 21 21:50:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA22542 for freebsd-mozilla-outgoing; Thu, 21 Jan 1999 21:50:06 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA22491 for ; Thu, 21 Jan 1999 21:50:01 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id VAA20278; Thu, 21 Jan 1999 21:21:23 -0500 (EST) Message-ID: <19990121212122.B14584@netmonger.net> Date: Thu, 21 Jan 1999 21:21:22 -0500 From: Christopher Masto To: Terry Lambert Cc: freebsd-mozilla@FreeBSD.ORG Subject: Re: Internal compiler error? Mail-Followup-To: Terry Lambert , freebsd-mozilla@FreeBSD.ORG References: <19990121184935.A6020@netmonger.net> <199901220137.SAA14979@usr02.primenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <199901220137.SAA14979@usr02.primenet.com>; from Terry Lambert on Fri, Jan 22, 1999 at 01:37:01AM +0000 Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 22, 1999 at 01:37:01AM +0000, Terry Lambert wrote: > > 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. But the shiny new build instructions at http://www.mozilla.org/build/unix.html say: * egcs version ? 1.0.3 (recommended), gcc version 2.7.2.x (2.8.x still has some bugs), or your platform's native C/C++ compiler. Well, if it works, it works. -- Christopher Masto Director of Operations NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net "Good tools allow users to do stupid things." -- Clay Shirky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Thu Jan 21 23:36:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA03581 for freebsd-mozilla-outgoing; Thu, 21 Jan 1999 23:34:42 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from shale.csir.co.za (shale.csir.co.za [146.64.46.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA03574 for ; Thu, 21 Jan 1999 23:34:36 -0800 (PST) (envelope-from reg@shale.csir.co.za) Received: (from reg@localhost) by shale.csir.co.za (8.9.2/8.9.2) id JAA84287 for freebsd-mozilla@freebsd.org; Fri, 22 Jan 1999 09:34:19 +0200 (SAT) (envelope-from reg) Date: Fri, 22 Jan 1999 09:34:19 +0200 From: Jeremy Lea To: freebsd-mozilla@freebsd.org Subject: Re: Internal compiler error? Message-ID: <19990122093419.A40822@shale.csir.co.za> References: <19990121184935.A6020@netmonger.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: <19990121184935.A6020@netmonger.net>; from Christopher Masto on Thu, Jan 21, 1999 at 06:49:35PM -0500 Sender: owner-freebsd-mozilla@freebsd.org Precedence: bulk X-Loop: FreeBSD.ORG Hi, On Thu, Jan 21, 1999 at 06:49:35PM -0500, Christopher Masto wrote: > I've started to look at getting this lizard built on my FreeBSD-current > machine, and apart from having to futz with the shared library naming > change, the build seemed to chug along pretty nicely.. until: The following patches may help you. They fix the library stuff and enable the use of the LinuxThreads port (http://lt.tar.com/). If you're building without pthreads be sure to add a "--with-threads=none" to the configure args when building glib-1.1.13. libc_r support is not working yet, but I'm slowly getting there, and then I'll submit it. The script also shows the correct commands to use the egcs and gtk11-devel ports. You should have the following ports installed: gmake autoconf egcs png jpeg glib11-devel gtk11-devel I'm not getting that error yet, but my overnight build fell over in uconv somewhere, with undefined references to nsDebug from nsString. Building again now. ---- #!/bin/sh # export MOZILLA_CLIENT=1 export MOZ_MEDIUM=1 export NO_MDUPDATE=1 # export BUILD_OPT=1 export USE_PTHREADS=1 MYMOZDIR=/usr/home/mozilla/mozilla export MYMOZDIR cd $MYMOZDIR MYOBJDIR=obj-`./build/autoconf/config.guess` export MYOBJDIR cd $MYMOZDIR/nsprpub gmake DIST=$MYMOZDIR/$MYOBJDIR/dist clobber_all cd .. rm -r $MYOBJDIR rm configure cvs update client.mk cd .. gmake -f mozilla/client.mk checkout cd mozilla/nsprpub cvs update cd .. LD_LIBRARY_PATH=$MYMOZDIR/$MYOBJDIR/dist/bin export LD_LIBRARY_PATH autoconf -l build/autoconf mkdir -p $MYOBJDIR/dist cd $MYMOZDIR/nsprpub gmake DIST=$MYMOZDIR/$MYOBJDIR/dist cd .. unset MOZILLA_CLIENT unset MOZ_MEDIUM unset NO_MDUPDATE unset BUILD_OPT unset USE_PTHREADS cd $MYMOZDIR/$MYOBJDIR ac_cv_prog_CC="egcc" ac_cv_prog_CXX="eg++" \ CPPFLAGS="-O -pipe -mno-486 -I/usr/local/include" \ LIBS="-L/usr/local/lib" \ GTK_CONFIG="/usr/X11R6/bin/gtk11d-config" \ ../configure --enable-toolkit=gtk --enable-debug \ --with-nspr="$MYMOZDIR/$MYOBJDIR/dist" --enable-editor \ --with-jpeg=/usr/local --with-png=/usr/local --with-pthreads gmake ---- --- nsprpub/config/FreeBSD.mk.orig Tue Dec 22 22:54:19 1998 +++ nsprpub/config/FreeBSD.mk Mon Jan 11 18:04:38 1999 @@ -32,8 +32,8 @@ ifeq ($(USE_PTHREADS),1) IMPL_STRATEGY = _PTH -OS_LIBS = -lc_r -DEFINES += -D_THREAD_SAFE +OS_LIBS = -lpthread +DEFINES += -D_THREAD_SAFE -DLINUXTHREADS else IMPL_STRATEGY = _EMU OS_LIBS = -lc --- nsprpub/pr/src/pthreads/ptthread.c.orig Tue Dec 22 23:32:24 1998 +++ nsprpub/pr/src/pthreads/ptthread.c Mon Jan 11 18:04:38 1999 @@ -293,7 +293,7 @@ /* * Linux doesn't have pthread_attr_setstacksize. */ -#ifndef LINUX +#if !defined(LINUX) && !defined(LINUXTHREADS) rv = pthread_attr_setstacksize(&tattr, stackSize); PR_ASSERT(0 == rv); #endif --- nsprpub/pr/tests/dtoa.c.orig Sat May 9 01:07:26 1998 +++ nsprpub/pr/tests/dtoa.c Mon Jan 11 18:04:38 1999 @@ -33,6 +33,7 @@ #include #include "prprf.h" #include "prdtoa.h" +#include static int failed_already = 0; @@ -43,6 +44,7 @@ double zero = 0.0; char cnvt[50]; + fpsetmask(0); num = 1e24; num1 = PR_strtod("1e24",NULL); if(num1 != num){ --- nsprpub/pr/tests/foreign.c.orig Fri Jan 8 05:15:21 1999 +++ nsprpub/pr/tests/foreign.c Mon Jan 11 18:04:38 1999 @@ -138,7 +138,7 @@ rv = pthread_attr_setdetachstate(&tattr, PTHREAD_CREATE_DETACHED); PR_ASSERT(0 == rv); -#if !defined(LINUX) +#if !defined(LINUX) && !defined(LINUXTHREADS) rv = pthread_attr_setstacksize(&tattr, 64 * 1024); PR_ASSERT(0 == rv); #endif --- nsprpub/pr/tests/provider.c.orig Mon Oct 5 20:58:24 1998 +++ nsprpub/pr/tests/provider.c Mon Jan 11 18:04:38 1999 @@ -728,7 +728,7 @@ rv = pthread_attr_setdetachstate(&tattr, PTHREAD_CREATE_DETACHED); PR_ASSERT(0 == rv); -#if !defined(LINUX) +#if !defined(LINUX) && !defined(LINUXTHREADS) rv = pthread_attr_setstacksize(&tattr, 64 * 1024); PR_ASSERT(0 == rv); #endif --- config/rules.mk.orig Sat Dec 12 15:02:01 1998 +++ config/rules.mk Mon Dec 14 16:21:21 1998 @@ -112,9 +112,6 @@ ifeq ($(OS_ARCH),HP-UX) SHARED_LIBRARY := $(LIBRARY:.a=.sl) else -ifneq (,$(filter FreeBSD NetBSD OpenBSD,$(OS_ARCH))) -SHARED_LIBRARY := $(LIBRARY:.a=.so.1.0) -else ifeq ($(OS_ARCH)$(OS_RELEASE),SunOS4.1) SHARED_LIBRARY := $(LIBRARY:.a=.so.1.0) else @@ -122,7 +119,6 @@ SHARED_LIBRARY := $(LIBRARY:.a=)_shr.a else SHARED_LIBRARY := $(LIBRARY:.a=.$(DLL_SUFFIX)) -endif endif endif endif --- configure.in.orig Wed Jan 6 18:52:59 1999 +++ configure.in Sat Jan 9 12:39:30 1999 @@ -143,14 +143,15 @@ fi ;; *-freebsd*) - if test -z "$GNU_CC"; then - DSO_LDOPTS="-Bshareable $DSO_LDOPTS" - fi if test `test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` = "elf"; then DLL_SUFFIX="so" else DLL_SUFFIX="so.1.0" - fi ;; + DSO_LDOPTS="-shared" + fi + if test -z "$GNU_CC"; then + DSO_LDOPTS="-Bshareable $DSO_LDOPTS" + fi ;; *-netbsd*) DLL_SUFFIX=".so.1.0" @@ -215,8 +216,7 @@ dnl Checks for libraries. dnl ======================================================== -AC_CHECK_LIB(c_r, gethostbyname_r,, - AC_CHECK_LIB(c, strcpy)) +AC_CHECK_LIB(c_r, gethostbyname_r) AC_CHECK_LIB(m, atan) AC_CHECK_LIB(dl, dlopen) if [ test -z "$GNU_CXX" ]; then @@ -867,6 +867,8 @@ CFLAGS="$CFLAGS -D_REENTRANT" ;; *-*-linux*) CFLAGS="$CFLAGS -D_REENTRANT" ;; + *-*-freebsd*) + CFLAGS="$CFLAGS -D_THREAD_SAFE -DLINUXTHREADS" ;; alpha*-*-osf*) if [ test "$GNU_CC" = 1 ]; then CFLAGS="$CFLAGS -D_REENTRANT" @@ -912,6 +914,9 @@ *-*-linux*) AC_CHECK_LIB(pthread, pthread_attr_init, NSPR_LIBS="-lpthread $NSPR_LIBS") ;; +*-*-freebsd*) + NSPR_LIBS="$NSPR_LIBS -kthread" + CFLAGS="-D_THREAD_SAFE -DLINUXTHREADS $CFLAGS" ;; esac AC_MSG_CHECKING("for PR_GetCurrentThread in -lnspr21 with thread lib") --- js/src/prmjtime.c.orig Mon Nov 23 12:57:15 1998 +++ js/src/prmjtime.c Mon Nov 23 14:28:25 1998 @@ -342,7 +342,7 @@ JSInt64 maxtimet; struct tm tm; PRMJTime prtm; -#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) +#if defined( XP_PC ) || defined( __FreeBSD__ ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) struct tm *ptm; #endif @@ -361,7 +361,7 @@ } JSLL_L2UI(local,time); PRMJ_basetime(time,&prtm); -#if defined( XP_PC ) || defined( FREEBSD ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) +#if defined( XP_PC ) || defined( __FreeBSD__ ) || defined ( HPUX9 ) || defined ( SNI ) || defined ( NETBSD ) || defined ( OPENBSD ) || defined( RHAPSODY ) ptm = localtime(&local); if(!ptm){ return JSLL_ZERO; -- | If I was not so weak, if I was not so cold, --+-- If I was not so scared of being broken, growing old, | I would be. I would be... frail. | - jars of clay / much afraid / frail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Fri Jan 22 00:51:02 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA10951 for freebsd-mozilla-outgoing; Fri, 22 Jan 1999 00:51:02 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA10936 for ; Fri, 22 Jan 1999 00:50:59 -0800 (PST) (envelope-from tague@netscape.com) Received: from tintin.mcom.com (tintin.mcom.com [205.217.233.42]) by netscape.com (8.8.5/8.8.5) with ESMTP id AAA04027 for ; Fri, 22 Jan 1999 00:50:29 -0800 (PST) Received: from netscape.com ([206.222.244.188]) by tintin.mcom.com (Netscape Messaging Server 4.01) with ESMTP id F5YDW000.M3K; Fri, 22 Jan 1999 00:50:24 -0800 Message-ID: <36A83B8C.E3934F9@netscape.com> Date: Fri, 22 Jan 1999 00:49:16 -0800 From: tague@netscape.com (Tague Griffith) X-Mailer: Mozilla 4.5 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Christopher Masto CC: Terry Lambert , freebsd-mozilla@FreeBSD.ORG Subject: Re: Internal compiler error? References: <19990121184935.A6020@netmonger.net> <199901220137.SAA14979@usr02.primenet.com> <19990121212122.B14584@netmonger.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Unfortunately, the Unix build instructions are a bit linux centric. The reason that we moved off of gcc onto egcs (i.e. the bugs the build instructors were refering to) was that we had problems with g++ and threaded applications on Linux. Now if those problems apply to FreeBSD as well, I dunno. For now I would suggest going with gcc, if you can get a port that works. No reason to stay blocked on an internal compiler error. /t Christopher Masto wrote: > On Fri, Jan 22, 1999 at 01:37:01AM +0000, Terry Lambert wrote: > > > 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. > > But the shiny new build instructions at > http://www.mozilla.org/build/unix.html say: > > * egcs version ? 1.0.3 (recommended), gcc version 2.7.2.x (2.8.x still > has some bugs), or your platform's native C/C++ compiler. > > Well, if it works, it works. > -- > Christopher Masto Director of Operations NetMonger Communications > chris@netmonger.net info@netmonger.net http://www.netmonger.net > > "Good tools allow users to do stupid things." -- Clay Shirky > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mozilla" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Fri Jan 22 09:38:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA12002 for freebsd-mozilla-outgoing; Fri, 22 Jan 1999 09:38:20 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from cheddar.netmonger.net (cheddar.netmonger.net [209.54.21.140]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA11995 for ; Fri, 22 Jan 1999 09:38:17 -0800 (PST) (envelope-from chris@cheddar.netmonger.net) Received: (from chris@localhost) by cheddar.netmonger.net (8.8.8/8.8.8) id MAA08692; Fri, 22 Jan 1999 12:38:04 -0500 (EST) Message-ID: <19990122123804.A8133@netmonger.net> Date: Fri, 22 Jan 1999 12:38:04 -0500 From: Christopher Masto To: Jeremy Lea , freebsd-mozilla@FreeBSD.ORG Subject: Re: Internal compiler error? Mail-Followup-To: Jeremy Lea , freebsd-mozilla@FreeBSD.ORG References: <19990121184935.A6020@netmonger.net> <19990122093419.A40822@shale.csir.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19990122093419.A40822@shale.csir.co.za>; from Jeremy Lea on Fri, Jan 22, 1999 at 09:34:19AM +0200 Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 22, 1999 at 09:34:19AM +0200, Jeremy Lea wrote: > Hi, > > On Thu, Jan 21, 1999 at 06:49:35PM -0500, Christopher Masto wrote: > > I've started to look at getting this lizard built on my FreeBSD-current > > machine, and apart from having to futz with the shared library naming > > change, the build seemed to chug along pretty nicely.. until: > > The following patches may help you. They fix the library stuff and enable > the use of the LinuxThreads port (http://lt.tar.com/). Thanks. I'm not quite ready to try LinuxThreads, but I like your solution to the other stuff better than my hack. As soon as gcc2.8.1 finishes building on my machine, I'll see if it can get through the lizard without choking. I don't expect the resulting executable to function, but that only means that I'll be pleasantly suprised if it does. -- Christopher Masto Director of Operations NetMonger Communications chris@netmonger.net info@netmonger.net http://www.netmonger.net "Good tools allow users to do stupid things." -- Clay Shirky To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message From owner-freebsd-mozilla Fri Jan 22 13:15:29 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA14715 for freebsd-mozilla-outgoing; Fri, 22 Jan 1999 13:15:29 -0800 (PST) (envelope-from owner-freebsd-mozilla@FreeBSD.ORG) Received: from netscape.com (h-205-217-237-47.netscape.com [205.217.237.47]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA14710 for ; Fri, 22 Jan 1999 13:15:28 -0800 (PST) (envelope-from tague@netscape.com) Received: from tintin.mcom.com (tintin.mcom.com [205.217.233.42]) by netscape.com (8.8.5/8.8.5) with ESMTP id NAA16981 for ; Fri, 22 Jan 1999 13:15:16 -0800 (PST) Received: from netscape.com ([208.12.36.136]) by tintin.mcom.com (Netscape Messaging Server 4.01) with ESMTP id F5ZCDG00.582; Fri, 22 Jan 1999 13:15:16 -0800 Message-ID: <36A8EA61.927E1EC8@netscape.com> Date: Fri, 22 Jan 1999 13:15:13 -0800 From: tague@netscape.com (Tague Griffith) Reply-To: tague@netscape.com Organization: Netscape Communications X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en,ja,de,zh-TW MIME-Version: 1.0 To: Christopher Masto CC: freebsd-mozilla@FreeBSD.ORG Subject: Re: Internal compiler error? References: <19990121184935.A6020@netmonger.net> <19990122093419.A40822@shale.csir.co.za> <19990122123804.A8133@netmonger.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mozilla@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Another work-around is to add a destructor to the nsDocLoaderServiceFactory class. That will get you over the internal compiler error. Then you run into link problems with some of the templitized classes. /t Christopher Masto wrote: > On Fri, Jan 22, 1999 at 09:34:19AM +0200, Jeremy Lea wrote: > > Hi, > > > > On Thu, Jan 21, 1999 at 06:49:35PM -0500, Christopher Masto wrote: > > > I've started to look at getting this lizard built on my FreeBSD-current > > > machine, and apart from having to futz with the shared library naming > > > change, the build seemed to chug along pretty nicely.. until: > > > > The following patches may help you. They fix the library stuff and enable > > the use of the LinuxThreads port (http://lt.tar.com/). > > Thanks. I'm not quite ready to try LinuxThreads, but I like your > solution to the other stuff better than my hack. As soon as gcc2.8.1 > finishes building on my machine, I'll see if it can get through the > lizard without choking. I don't expect the resulting executable to > function, but that only means that I'll be pleasantly suprised if it > does. > -- > Christopher Masto Director of Operations NetMonger Communications > chris@netmonger.net info@netmonger.net http://www.netmonger.net > > "Good tools allow users to do stupid things." -- Clay Shirky > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-mozilla" in the body of the message -- ---------------------------------------------------------- tague griffith (tague@netscape.com) client internationalization To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mozilla" in the body of the message