Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Dec 1999 20:42:15 -0600
From:      Ade Lovett <ade@lovett.com>
To:        The Hermit Hacker <scrappy@hub.org>
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>
In-Reply-To: <Pine.BSF.4.21.9912132008430.74675-101000@thelab.hub.org>; from scrappy@hub.org on Mon, Dec 13, 1999 at 08:10:10PM -0400
References:  <Pine.BSF.4.21.9912132008430.74675-101000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991213204215.C75199>