From owner-freebsd-ports@FreeBSD.ORG Fri Sep 5 07:04:17 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2A2D516A4BF for ; Fri, 5 Sep 2003 07:04:17 -0700 (PDT) Received: from freebsd.org.ru (www.freebsd.org.ru [194.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26FC143FFD for ; Fri, 5 Sep 2003 07:04:16 -0700 (PDT) (envelope-from osa@freebsd.org.ru) Received: by freebsd.org.ru (Postfix, from userid 1000) id ED8FF290; Fri, 5 Sep 2003 18:04:13 +0400 (MSD) Date: Fri, 5 Sep 2003 18:04:13 +0400 From: "Sergey A. Osokin" To: Harald Schmalzbauer Message-ID: <20030905140413.GW48175@freebsd.org.ru> References: <200309051453.00914@harrymail> <200309051522.47976@harrymail> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309051522.47976@harrymail> User-Agent: Mutt/1.5.4i cc: ports@freebsd.org Subject: Re: firebird borken under -current [WAS: Re: thunderbird broken (-pthread)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 14:04:17 -0000 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 / \