From owner-freebsd-ports Mon Dec 13 18:42:40 1999 Delivered-To: freebsd-ports@freebsd.org Received: from viper.lovett.com (viper.lovett.com [216.60.121.173]) by hub.freebsd.org (Postfix) with ESMTP id CD248154A0 for ; Mon, 13 Dec 1999 18:42:36 -0800 (PST) (envelope-from ade@lovett.com) Received: from ade by viper.lovett.com with local (Exim 3.03 #1) id 11xhup-000KBF-00; Mon, 13 Dec 1999 20:42:15 -0600 Date: Mon, 13 Dec 1999 20:42:15 -0600 From: Ade Lovett To: The Hermit Hacker Cc: reg@shale.csir.co.za, freebsd-ports@freebsd.org Subject: Re: Mozilla port broken under 4.0-CURRENT? Message-ID: <19991213204215.C75199@lovett.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from scrappy@hub.org on Mon, Dec 13, 1999 at 08:10:10PM -0400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Dec 13, 1999 at 08:10:10PM -0400, The Hermit Hacker wrote: > > Just upgraded my system, and tried to compile Mozilla, and it gets down to > compiling the 'tools' subdirectory before failing, with the failure being > attached... > > This is a -current system updated to yesterday... > > [snip] Umm.. looks like 'c++' is picking up totally the wrong compiler.. From the typescript: ... c++ -o IdlParser.o -c -fno-rtti -fexceptions -Wall -Wconversion -Wpointer-arit h -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wshadow -Wno-lo ng-long -DMOZILLA_CLIENT -include ../../config-defs.h -O3 -mpentium -pipe -pthre ad -O -fPIC -DOSTYPE=\"FreeBSD4\" -I../../dist/include -I../../dist/include - I../../dist/include -I../../include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include IdlParser.cpp c++: unrecognized option `-pthread' cc1plus: Invalid option `-Wno-long-long' /usr/local/lib/gcc-lib/i386-unknown-freebsd4.0/2.8.1/include/g++/stream.h: In fu nction `class istream & WS(class istream &)': ... Note two things here: 1. unrecognized option '-pthread' to c++ 2. reference to /usr/local/lib/gcc-lib/.../2.8.1/... So, the port is picking up the 2.8.1 version of gcc from somewhere (maybe an old port lying around?) It certainly isn't gcc-2.95.2: anaconda 2975% uname -r 4.0-CURRENT anaconda 2976% c++ --version 2.95.2 anaconda 2977% c++ -pthread c++: No input files specified -aDe -- Ade Lovett, Austin, TX. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message