Subject: Re: trouble building mozilla
To: None <>
From: Shin'ichiro TAYA <>
List: tech-pkg
Date: 12/28/2001 08:00:23
There is a PR about this.

bin/15024: current >=1.11 src/gnu/dist/toolchain/gcc/config/netbsd.h toolchain botch ("ld: cannot find -lgcc_pic-lgcc_p")

From: "Perry E. Metzger" <>
Subject: trouble building mozilla
Date: 27 Dec 2001 14:05:04 -0500

> my latest mozilla build (0.9.7 building on a very -current i386 box)
> mysteriously dies:
> ...
> c++ -I/usr/pkgsrc/www/mozilla/work/.buildlink/include   -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -pedantic -Wno-long-long -I/usr/pkgsrc/www/mozilla/work/.buildlink/include -I/usr/pkgsrc/www/mozilla/work/.buildlink/include -O2 -Dunix -pipe  -DNDEBUG -DTRIMMED -O -Wl,-R/usr/X11R6/lib/mozilla -shared -Wl,-soname, -o  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/pkgsrc/www/mozilla/work/.buildlink/lib  -Wl,-R/usr/X11R6/lib/mozilla -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib    -lm -L../../dist/bin -L/usr/pkgsrc/www/mozilla/work/mozilla/d!
> t/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkgsrc/www/mozilla/work/.buildlink/lib -L/usr/X11R6/lib -L/usr/pkg/lib  -lm -L/usr/pkgsrc/www/mozilla/work/.buildlink/lib -lintl   
> /usr/bin/ld: cannot find -lgcc_pic-lgcc_p
> ...
> There are no references to "-lgcc_pic-lgcc_p" in the command line that
> dies or in any makefile (or any other file) in the sources for
> mozilla. Anyone know what the deal is?
> --
> Perry E. Metzger
> --
> Quality NetBSD Sales, Support & Service.