Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 18:04:13 +0400
From:      "Sergey A. Osokin" <osa@FreeBSD.org>
To:        Harald Schmalzbauer <h@schmalzbauer.de>
Cc:        ports@freebsd.org
Subject:   Re: firebird borken under -current [WAS: Re: thunderbird broken (-pthread)]
Message-ID:  <20030905140413.GW48175@freebsd.org.ru>
In-Reply-To: <200309051522.47976@harrymail>
References:  <200309051453.00914@harrymail> <200309051522.47976@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 05, 2003 at 03:22:46PM +0200, Harald Schmalzbauer wrote:
> On Friday 05 September 2003 14:52, Harald Schmalzbauer wrote:
> >
> > building thinderbird under -current results in the following error:
> 
> Also firebird is broken with -current!
> 
> >
> > c++ -I/usr/X11R6/include  -I/usr/X11R6/include  -I/usr/X11R6/include
> > -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
> > -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long
> > -pedantic -O -pipe -march=pentiumpro -D_THREAD_SAFE -fshort-wchar -pipe 
> > -DNDEBUG -DTRIMMED -ffunction-sections -fPIC -shared -Wl,-h -Wl,libmozjs.so
> > -o libmozjs.so  jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o
> > jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o
> > jshash.o jsinterp.o jslock.o jslog2.o jslong.o jsmath.o jsnum.o jsobj.o
> > jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o
> > jsstr.o jsutil.o jsxdrapi.o prmjtime.o    -L/usr/X11R6/lib   -lm -pthread
> > -L/usr/ports/mail/mozilla-thunderbird/work/mozilla/dist/lib -lplds4 -lplc4
> > -lnspr4 -L/usr/X11R6/lib -lc_r  -lm -lc_r
> > c++: The -pthread option is deprecated.
> > gmake[3]: *** [libmozjs.so] Fehler 1
> > gmake[3]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla/js/src'
> > gmake[2]: *** [libs] Fehler 2
> > gmake[2]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla/js'
> > gmake[1]: *** [tier_2] Fehler 2
> > gmake[1]: Leaving directory
> > `/usr/ports/mail/mozilla-thunderbird/work/mozilla' gmake: *** [default]
> > Fehler 2
> > *** Error code 2
> >
> > Stop in /usr/ports/mail/mozilla-thunderbird.
> >
> > Looks like it has todo with the latest gcc change.

Do something like this:
$ cd ports/mail/mozilla-thunderbird
$ make clean patch
$ find work/mozilla -name Makefile -type f | xargs sed -e 's|-pthread | |'
$ make
-- 

Rgdz,                        /"\  ASCII RIBBON CAMPAIGN
Sergey Osokin aka oZZ,       \ /    AGAINST HTML MAIL
http://ozz.pp.ru/             X          AND NEWS
                             / \



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