From owner-freebsd-hackers Wed Apr 1 01:11:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA18792 for freebsd-hackers-outgoing; Wed, 1 Apr 1998 01:11:52 -0800 (PST) (envelope-from owner-freebsd-hackers@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 BAA18787 for ; Wed, 1 Apr 1998 01:11:49 -0800 (PST) (envelope-from tlambert@usr01.primenet.com) Received: (from daemon@localhost) by smtp02.primenet.com (8.8.8/8.8.8) id CAA03681; Wed, 1 Apr 1998 02:11:48 -0700 (MST) Received: from usr01.primenet.com(206.165.6.201) via SMTP by smtp02.primenet.com, id smtpd003673; Wed Apr 1 02:11:43 1998 Received: (from tlambert@localhost) by usr01.primenet.com (8.8.5/8.8.5) id CAA09619; Wed, 1 Apr 1998 02:11:40 -0700 (MST) From: Terry Lambert Message-Id: <199804010911.CAA09619@usr01.primenet.com> Subject: Re: mozilla source To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Wed, 1 Apr 1998 09:11:39 +0000 (GMT) Cc: paul@mu.org, freebsd-hackers@FreeBSD.ORG In-Reply-To: <26134.891415935@time.cdrom.com> from "Jordan K. Hubbard" at Mar 31, 98 11:32:15 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-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Huh, you got it to link? Interesting. Using Eivind's port as a > starting base, I got many link errors: > > iostream.cc:954: Undefined symbol `___get_dynamic_handler_chain' referenced from text segment > strstream.h:56: Undefined symbol `___sjthrow' referenced from text segment > strstream.h:56: Undefined symbol `___terminate' referenced from text segment > strstream.cc:0: More undefined symbol ___sjthrow refs follow > strstream.cc:0: More undefined symbol ___terminate refs follow > ... > > How are others doing it? I see you are using egcs or g++ 2.7.2, which do not support C++ exceptions when using pthreads, instead of gcc 2.8.x, which does. I complained about this before. The problem is that egcs requires that you decide whether or not you are going to use pthreads when you build your compiler, and then assumes that forever afterward, you will use -lc_r with all programs you ever compile with it (and in the FreeBSD case, _THREAD_SAFE, a bogosity from the bowels of the incompatibility fairy). 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-hackers" in the body of the message