pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41933: pkgsrc/firefox picks wrong ld arguments under Solaris
>Number: 41933
>Category: pkg
>Synopsis: pkgsrc/firefox picks wrong ld arguments under Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 24 14:10:00 +0000 2009
>Originator: Rob Quinn
>Release: pkgsrc-current Solaris 2.10
>Organization:
>Environment:
>Description:
I'm trying to build firefox-3.5.2 but it fails part way. I think it's the
issued discussed here, where GNU ld flags are chosen for the Solaris ld.
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6744003
>How-To-Repeat:
g++ -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include
-I/usr/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/include -I/usr/pkg/include/freetype2 -I/usr/openwin/include
-fno-rtti -fno-exceptions -Wno-long-long -O -mcpu=v9 -pipe -I/usr/pkg/include
-I/usr/include -I/usr/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/include -I/usr/pkg/include/freetype2 -mcpu=v9
-fno-strict-aliasing -fshort-wchar -pthreads -DNDEBUG -DTRIMMED -O2 -fPIC -G
-Wl,-h,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 jsinvoke.o jsiter.o jslock.o jslog2.o
jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o jsregexp.o
jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdr
api.o jsxml.o prmjtime.o jstracer.o Assembler.o Fragmento.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,-R/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6 -L/usr/pkg/gcc34/lib
-Wl,-R/usr/pkg/gcc34/lib -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
-L/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib
-L/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/
-Wl,-R/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/ -L/usr/openwin/lib
-Wl,-R/usr/openwin/lib -z ignore -R '$ORIGIN:$ORIGIN/..' -Wl,-rpath-link,/bin
-Wl,-rpath-link,/usr/pkg/lib -Wl,-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-solaris2.10/3.4.6 -L/usr/pkg/gcc34/lib
-L/usr/pkg/lib -L/usr/lib -L/usr/pkg/lib/python2.5/config
-L/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/ -L/usr/openwin/lib -ldl
-lposix4 -L./../../dist/lib -ljemalloc -lsocket -ldl -lm -
lsocket -ldl -lm -ldb4 -lm -lposix4 -ldl -lnsl -lsocket
ld: fatal: option -dn and -h are incompatible
ld: fatal: option -dn and -P are incompatible
ld: fatal: option -dn and -G are incompatible
ld: fatal: Flags processing errors
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
>Fix:
Home |
Main Index |
Thread Index |
Old Index