pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: pkg/41933: pkgsrc/firefox picks wrong ld arguments under Solaris



The following reply was made to PR pkg/41933; it has been noted by GNATS.

From: Rob Q <sd4dfg2%hotmail.com@localhost>
To: <gnats-bugs%netbsd.org@localhost>
Cc: 
Subject: RE: pkg/41933: pkgsrc/firefox picks wrong ld arguments under Solaris
Date: Mon, 24 Aug 2009 14:03:06 -0400

 >  I don't currently have a solaris system to test with=2C but could you tr=
 y
 >  the workaround described in this bug report?
 >  https://bugzilla.mozilla.org/show_bug.cgi?id=3D350995
 
  I erased my OBJ files=2C did the make configure=2C changed both autoconf.m=
 k files.  Now I get this:
 
 g++ -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/pkg/in=
 clude/python2.5 -I/usr/pkg/include/db4 -I/usr/pkg/gcc34/include -I/usr/pkg/=
 gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -I/usr/openwin/include -I=
 /usr/pkg/include/freetype2  -I/usr/openwin/include -fno-rtti -fno-exception=
 s -Wno-long-long -O -mcpu=3Dv9 -pipe -I/usr/pkg/include -I/usr/include -I/u=
 sr/pkg/include/python2.5 -I/usr/pkg/include/db4 -I/usr/pkg/gcc34/include -I=
 /usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -I/usr/openwin/i=
 nclude -I/usr/pkg/include/freetype2 -mcpu=3Dv9 -fno-strict-aliasing -fshort=
 -wchar -pthreads  -DNDEBUG -DTRIMMED -O2 -fPIC -G -Wl=2C-h=2Clibmozjs.so -o=
  libmozjs.so  jsapi.o jsarena.o jsarray.o jsatom.o jsbool.o jscntxt.o jsdat=
 e.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o jsexn.o jsfun.o jsgc.o jshash.o =
 jsinterp.o jsinvoke.o jsiter.o jslock.o jslog2.o jsmath.o jsnum.o jsobj.o j=
 son.o jsopcode.o jsparse.o jsprf.o jsregexp.o jsscan.o jsscope.o jsscript.o=
  jsstr.o jsutil.o jsxdrapi.o jsxml.o prmjtime.o jstracer.o Assembler.o Frag=
 mento.o LIR.o RegAlloc.o avmplus.o NativeSparc.o jsbuiltins.o     -lpthread=
  -L/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6 -Wl=2C-R/usr/pkg/gcc3=
 4/lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/pkg/gcc34/lib -Wl=2C-R/usr/pkg=
 /gcc34/lib -L/usr/pkg/lib -L/usr/lib -Wl=2C-R/usr/lib -L/usr/pkg/lib/python=
 2.5/config -Wl=2C-R/usr/pkg/lib -L/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2=
 .10/3.4.6/ -Wl=2C-R/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/ -L/u=
 sr/openwin/lib -Wl=2C-R/usr/openwin/lib -z ignore -R '$ORIGIN:$ORIGIN/..'  =
   -Wl=2C-R/usr/pkg/lib/firefox -L/usr/obj/pkg/www/firefox/work/mozilla-1.9.=
 1/dist/lib -lplds4 -lplc4 -lnspr4 -L/usr/pkg/gcc34/lib/gcc/sparc-sun-solari=
 s2.10/3.4.6 -L/usr/pkg/gcc34/lib -L/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib/p=
 ython2.5/config -L/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/ -L/us=
 r/openwin/lib -ldl -lposix4 -L./../../dist/lib -ljemalloc -lsocket -ldl -lm=
  -lsocket -ldl -lm -ldb4 -lm -lposix4 -ldl -lnsl -lsocket =20
 ld: fatal: relocation error: R_SPARC_GOT22: file /usr/obj/pkg/www/firefox/w=
 ork/mozilla-1.9.1/dist/lib/libjemalloc.a(jemalloc.o): symbol stats_chunks: =
 relocation illegal for TLS symbol
 collect2: ld returned 1 exit status
 make[3]: *** [libmozjs.so] Error 1
 make[3]: Leaving directory `/usr/obj/pkg/www/firefox/work/mozilla-1.9.1/js/=
 src'
 make[2]: *** [libs_tier_js] Error 2
 make[2]: Leaving directory `/usr/obj/pkg/www/firefox/work/mozilla-1.9.1'
 make[1]: *** [tier_js] Error 2
 make[1]: Leaving directory `/usr/obj/pkg/www/firefox/work/mozilla-1.9.1'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop.
 bmake: stopped in /usr/pkgsrc/www/firefox
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/www/firefox
 
 
 _________________________________________________________________
 Windows Live: Make it easier for your friends to see what you=92re up to on=
  Facebook.
 http://windowslive.com/Campaign/SocialNetworking?ocid=3DPID23285::T:WLMTAGL=
 :ON:WL:en-US:SI_SB_facebook:082009=
 


Home | Main Index | Thread Index | Old Index