/usr/bin/ld: final link failed: Bad value

看板FB_current作者時間12年前 (2013/04/27 13:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
FreeBSD FBSD10 10.0-CURRENT FreeBSD 10.0-CURRENT #30 r245800: Tue Jan 22 13:00:27 EST 2013 root@FBSD10:/usr/obj/usr/src/sys/MYKERNEL amd64 Could someone please comment on this. I am trying to build and install FireFox Nightly. This is not the Firefox version in the ports tree, it is from here: https://trillian.chruetertee.ch/svn/freebsd-gecko/trunk/www/firefox-nightly/ I did an svn co to /usr/ports/www/FF_nightly and use this command to build and install: make update && make makesum && time make all deinstall install clean Here is the error: c++ -o nsRDFResource.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include ../../../config/gcc_hidden.h -DMOZ_JSDEBUGGER -DMOZ_PREF_EXTENSIONS -DMOZ_AUTH_EXTENSION -DMOZ_PERMISSIONS -DMOZ_UNIVERSALCHARDET -DMOZ_FILEVIEW -DICON_DECODER -DMOZ_SPELLCHECK -DMOZ_ZIPWRITER -DIMPL_XREAPI -DMOZ_GLUE_IN_PROGRAM -DMOZILLA_INTERNAL_API -DNO_NSPR_10_SUPPORT -D_IMPL_NS_COM -D_IMPL_NS_STRINGAPI -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -I../../../intl/unicharutil/util -I../../../intl/unicharutil/src -I../../../config -I../../../widget/windows -I../../../toolkit/library -I. -I../../dist/include -I/usr/local/include/nspr -I/usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/dist/include/nss -I/usr/local/include -I/usr/local/include -fPIC -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -DMOZILLA_CLIENT -include .../../mozilla-config.h -MD -MF .deps/nsRDFResource.o.pp /usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/toolkit/library/nsRDFResource.cpp rm -f libxul.so /usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/_virtualenv/bin/python .../../../config/expandlibs_exec.py --depend .deps/libxul.so.pp --target libxul.so --uselist -- c++ -Qunused-arguments -isystem/usr/local/include -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -fno-strict-aliasing -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pipe -DNDEBUG -DTRIMMED -O2 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsBidiUtils.o nsSpecialCasingData.o nsUnicodeProperties.o nsRDFResource.o -pthread -L/usr/local/lib -Wl,-z,origin -Wl,-rpath,\$ORIGIN -Wl,-z,noexecstack -Wl,-rpath-link,/usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/dist/bin -Wl,-rpath-link,/usr/local/lib .../../toolkit/components/osfile/libosfile_s.a .../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libnecko.a .../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a .../../staticlib/components/libchardet.a .../../staticlib/components/libjar50.a .../../staticlib/components/libstartupcache.a .../../staticlib/components/libpref.a .../../staticlib/components/libhtmlpars.a .../../staticlib/components/libidentity.a .../../staticlib/components/libimglib2.a .../../staticlib/components/libmediasniffer.a .../../staticlib/components/libgkgfx.a .../../staticlib/components/libgklayout.a .../../staticlib/components/libdocshell.a .../../staticlib/components/libembedcomponents.a .../../staticlib/components/libwebbrwsr.a .../../staticlib/components/libnsappshell.a .../../staticlib/components/libtxmgr.a .../../staticlib/components/libcommandlines.a .../../staticlib/components/libtoolkitcomps.a .../../staticlib/components/libpipboot.a .../../staticlib/components/libpipnss.a .../../staticlib/components/libappcomps.a .../../staticlib/components/libjsreflect.a .../../staticlib/components/libcomposer.a .../../staticlib/components/libtelemetry.a .../../staticlib/components/libjsinspector.a .../../staticlib/components/libjsdebugger.a .../../staticlib/components/libstoragecomps.a .../../staticlib/components/librdf.a .../../staticlib/components/libwindowds.a .../../staticlib/components/libjsctypes.a .../../staticlib/components/libjsperf.a .../../staticlib/components/libgkplugin.a .../../staticlib/components/libunixproxy.a .../../staticlib/components/libjsd.a .../../staticlib/components/libautoconfig.a .../../staticlib/components/libauth.a .../../staticlib/components/libcookie.a .../../staticlib/components/libpermissions.a .../../staticlib/components/libuniversalchardet.a .../../staticlib/components/libfileview.a .../../staticlib/components/libplaces.a .../../staticlib/components/libtkautocomplete.a .../../staticlib/components/libsatchel.a .../../staticlib/components/libpippki.a .../../staticlib/components/libwidget_gtk2.a .../../staticlib/components/libimgicon.a .../../staticlib/components/libaccessibility.a .../../staticlib/components/libremoteservice.a .../../staticlib/components/libspellchecker.a .../../staticlib/components/libzipwriter.a .../../staticlib/components/libservices-crypto.a .../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a .../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a .../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a .../../staticlib/libgfxipc_s.a ../../staticlib/libhal_s.a .../../staticlib/libdombindings_s.a ../../staticlib/libxpcom_core.a .../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a .../../staticlib/libsnappy_s.a ../../staticlib/libgtkxtbin.a .../../staticlib/libthebes.a ../../staticlib/libgl.a .../../staticlib/libycbcr.a -L../../dist/bin -L../../dist/lib /usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/dist/lib/libjs_static.a -L/usr/local/lib -lffi -L../../dist/bin -L../../dist/lib -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -L/usr/local/lib -lcairo -pthread -L/usr/local/lib -lcairo -pthread -lXrender -L/usr/local/lib -lX11 -L/usr/local/lib -lsqlite3 -L/usr/local/lib -ljpeg -L/usr/local/lib -lpng -lz -L/usr/local/lib -lhunspell-1.3 -L/usr/local/lib/event2 -levent-2.0 -L/usr/local/lib -lvpx -L/usr/local/lib -lpixman-1 .../../dist/lib/libgkmedias.a -L../../dist/bin -L../../dist/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread .../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lgthread-2.0 -pthread -L/usr/local/lib -lglib-2.0 -L/usr/local/lib -lX11 -lXext -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -pthread -lglib-2.0 -lfreetype -L/usr/local/lib -lfontconfig -L/usr/local/lib -lfontconfig -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lfreetype -lgio-2.0 -lgmodule-2.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lcairo -pthread -L/usr/local/lib -lX11 -lXt -lgthread-2.0 -L/usr/local/lib -lfreetype -L/usr/local/lib -lstartup-notification-1 -Wl,--warn-unresolved-symbols -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -L/usr/local/lib -lxml2 -lgstvideo-0.10 -Wl,--as-needed,-lcxxrt,--no-as-needed -lkvm -liconv .../../dom/ipc/ContentChild.o: In function `mozilla::dom::ContentChild::RecvSetProcessPrivileges(base::ChildPrivileges const&)': /usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/dom/ipc/ContentChild.cpp:(.text._ZN7mozilla3dom12ContentChild24RecvSetProcessPrivilegesERKN4base15ChildPrivilegesE+0xf): undefined reference to `base::SetCurrentProcessPrivileges(base::ChildPrivileges)' /usr/bin/ld: ../../dom/ipc/ContentChild.o: relocation R_X86_64_PC32 against `_ZN4base27SetCurrentProcessPrivilegesENS_15ChildPrivilegesE' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [libxul.so] Error 1 gmake[3]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0/toolkit/library' gmake[2]: *** [libs_tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0' gmake[1]: *** [tier_platform] Error 2 gmake[1]: Leaving directory `/usr/ports/www/FF_nightly/work/mozilla-central-70baa7e07838/obj-x86_64-portbld-freebsd10.0' gmake: *** [default] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/www/FF_nightly. *** [/usr/ports/www/FF_nightly/work/.build_done.firefox._usr_local] Error code 1 Stop in /usr/ports/www/FF_nightly. *** [build] Error code 1 Stop in /usr/ports/www/FF_nightly. Is it a bug in FreeBSD, or is it something specific to FF_nightly? Any help would be appreciated, thanks in advance. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrkvqh (FB_current)