Closed Bug 427828 Opened 16 years ago Closed 16 years ago

ActionMonkey busted on Linux

Categories

(Firefox Build System :: General, defect)

Other Branch
All
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jorendorff, Assigned: jorendorff)

Details

Attachments

(1 file)

libMMgc.a needs to be built and linked into libxul.

/tools/gcc/bin/g++  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -Os -gstabs+ -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so  nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o     -lpthread   -Wl,-rpath-link,../../dist/bin  -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a  ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.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/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.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/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a  -Wl,--no-whole-archive -L../../dist/lib -lsqlite3 -L../../dist/bin  -L../../dist/bin -L../../jpeg -lmozjpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L../../dist/bin -lcrmf -lsmime3 -lssl3 -lnss3 -lnssutil3 -lsoftokn3  -L../../modules/zlib/src -lmozz -L/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   ../../gfx/cairo/cairo/src/libmozcairo.a ../../gfx/cairo/libpixman/src/libmozlibpixman.a   -lXrender -lfreetype -lfontconfig -L../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl  -lX11  -lXft -lXrender -lfontconfig -lfreetype -lX11   -L/lib -lgtk-x11-2.0 -latk-1.0 -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0   -lXt -lgthread-2.0 -lfreetype ../../memory/jemalloc/libjemalloc.a -ldl -lm     
../../staticlib/components/libxpconnect.a(nsScriptError.o): In function `nsScriptError::~nsScriptError()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(nsScriptError.o): In function `nsScriptError::GetColumnNumber(unsigned int*)':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsScriptError.cpp:106: undefined reference to `MMgc::GCHeap::Free(void*)'
../../staticlib/components/libxpconnect.a(nsScriptError.o): In function `nsScriptError::Init(unsigned short const*, unsigned short const*, unsigned short const*, unsigned int, unsigned int, unsigned int, char const*)':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsScriptError.cpp:132: undefined reference to `MMgc::FixedAlloc::FreeChunk(MMgc::FixedAlloc::FixedBlock*)'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `nsXPConnect::GetXPConnect()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:58: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `nsXPConnect::~nsXPConnect()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `nsXPConnect::~nsXPConnect()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `nsXPConnect::~nsXPConnect()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `non-virtual thunk to nsXPConnect::BeginCycleCollection(nsCycleCollectionTraversalCallback&)':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN4MMgc10FixedAlloc5AllocEj+0x24): undefined reference to `MMgc::FixedAlloc::CreateChunk()'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `nsXPConnect::JSContextParticipant()':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:1035: undefined reference to `MMgc::FixedAlloc::CreateChunk()'
../../staticlib/components/libxpconnect.a(nsXPConnect.o): In function `non-virtual thunk to nsXPConnect::BeginCycleCollection(nsCycleCollectionTraversalCallback&)':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN4MMgc11FixedMalloc10LargeAllocEj+0x28): undefined reference to `MMgc::GCHeap::Alloc(int, bool, bool)'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN4MMgc11FixedMalloc5AllocEj+0x35): undefined reference to `MMgc::FixedMalloc::FindSizeClass(unsigned int) const'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN14AutoMarkingPtrD0Ev+0x24): undefined reference to `MMgc::FixedMalloc::instance'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN29AutoMarkingNativeInterfacePtrD0Ev+0x24): undefined reference to `MMgc::FixedMalloc::instance'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN32AutoMarkingWrappedNativeProtoPtrD0Ev+0x24): undefined reference to `MMgc::FixedMalloc::instance'
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/src/xpconnect/src/nsXPConnect.cpp:(.gnu.linkonce.t._ZN16AutoMarkingJSValD0Ev+0x23): undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(xpccallcontext.o): In function `XPCCallContext::DeleteString(nsAString_internal*)':
/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:73: undefined reference to `MMgc::FixedMalloc::instance'
../../staticlib/components/libxpconnect.a(xpccallcontext.o):/builds/buildbot/moz2-slave/actionmonkey-linux/build/js/tamarin/MMgc/GCGlobalNew.h:58: more undefined references to `MMgc::FixedMalloc::instance' follow
collect2: ld returned 1 exit status
gmake[4]: *** [libxul.so] Error 1
gmake[4]: Leaving directory `/builds/buildbot/moz2-slave/actionmonkey-linux/build/obj-firefox/toolkit/library'
gmake[3]: *** [libs_tier_toolkit] Error 2
gmake[3]: Leaving directory `/builds/buildbot/moz2-slave/actionmonkey-linux/build/obj-firefox'
gmake[2]: *** [tier_toolkit] Error 2
gmake[2]: Leaving directory `/builds/buildbot/moz2-slave/actionmonkey-linux/build/obj-firefox'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/builds/buildbot/moz2-slave/actionmonkey-linux/build/obj-firefox'
make: *** [build] Error 2
Correction, this was caused by bug 413804.  The only fix I can think of is to roll back that change to linuxbuild.h.  But of course this breaks Solaris as well.  Maybe the right thing is to reopen that bug and send Leon back to the drawing board... :)
Attached patch v1Splinter Review
Assignee: nobody → jorendorff
Status: NEW → ASSIGNED
Attachment #314404 - Flags: review?
Attachment #314404 - Flags: review? → review+
Pushed changeset 3756f5b237c3 to actionmonkey-tamarin branch.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: