mozilla-devel error: -pthread is deprecated

walt wa1ter at myrealbox.com
Mon Sep 1 21:56:41 PDT 2003


walt wrote:
> Hi Joe,
> 
> Just tried a portupgrade of mozilla-devel on -current which halted with this:
> 
> c++ -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 -O -pipe 
> -mcpu=pentiumpro -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       -lm -pthread -L/usr/local/mnt/ports/www/mozilla-devel/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lc_r  -lm
> c++: The -pthread option is deprecated.
> gmake[3]: *** [libmozjs.so] Error 1

Well, nevermind for now, at least.  Daniel's update of gcc just now
has fixed this problem.

I've seen posts going back at least two years talking about getting
rid of -pthread in the ports tree.  Is this a discussion you've been
involved in?




More information about the freebsd-ports mailing list