On Mon, May 12, 2008 at 07:05:36PM +0200, Mike Hommey wrote: > On Mon, May 12, 2008 at 06:36:03PM +0200, Frank Lichtenheld wrote: > This is possibly the same issue that makes epiphany-browser fail to > build on mips (because of xpcom breakage). > > Can you try applying the following patch on xulrunner 1.9~b5-4: > > diff --git a/configure b/configure > index 9d2445d..f3ea224 100755 > --- a/configure > +++ b/configure > @@ -5460,6 +5460,7 @@ if test "$GNU_CC"; then > WARNINGS_AS_ERRORS='-Werror' > DSO_CFLAGS='' > DSO_PIC_CFLAGS='-fPIC' > + ASFLAGS="$ASFLAGS -fPIC" > _MOZ_RTTI_FLAGS_ON=${_COMPILER_PREFIX}-frtti > _MOZ_RTTI_FLAGS_OFF=${_COMPILER_PREFIX}-fno-rtti > _MOZ_EXCEPTIONS_FLAGS_ON='-fhandle-exceptions' > > And try a build on hppa ?
Builds fine, but still has the same problem AFAICT. FWIW, here is a backtrace of the SEGV: [EMAIL PROTECTED]:/usr/lib/xulrunner-1.9# gdb ./regxpcom GNU gdb 6.7.1-debian Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "hppa-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/lib/xulrunner-1.9/regxpcom [Thread debugging using libthread_db enabled] [New Thread 0x4000 (LWP 1767)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x4000 (LWP 1767)] xptiInterfaceEntry::EnsureResolved (this=0x0, aWorkingSet=0x0) at xptiprivate.h:590 590 xptiprivate.h: No such file or directory. in xptiprivate.h (gdb) bt #0 xptiInterfaceEntry::EnsureResolved (this=0x0, aWorkingSet=0x0) at xptiprivate.h:590 #1 0x4232c260 in xptiInterfaceEntry::GetMethodInfo (this=0x0, index=5, info=0xfafe3088) at xptiInterfaceInfo.cpp:317 #2 0x4232aaf8 in PrepareAndDispatch (self=0xfafe2d5c, methodIndex=<value optimized out>, args=0xfafe2f98, floatargs=0xfafe3030) at xptcstubs_pa32.cpp:71 #3 0x4232ada4 in SharedStub () from ./libxul.so #4 0x4230611c in nsCategoryManager::NotifyObservers (this=<value optimized out>, aTopic=0x4246af04 "xpcom-category-entry-added", aCategoryName=0x423a316c "module-loader", aEntryName=0x423a317c "text/javascript") at nsCategoryManager.cpp:569 #5 0x42307a5c in nsCategoryManager::AddCategoryEntry (this=0x4bac8, aCategoryName=0x423a316c "module-loader", aEntryName=0x423a317c "text/javascript", aValue=0x4239fe40 "@mozilla.org/moz/jsloader;1", aPersist=1, aReplace=1, _retval=0xfafe2d5c) at nsCategoryManager.cpp:643 #6 0x415776d4 in RegisterJSLoader (aCompMgr=<value optimized out>, aPath=<value optimized out>, registryLocation=<value optimized out>, componentType=<value optimized out>, info=0x42626030) at ./../loader/mozJSLoaderConstructors.h:70 #7 0x422c5098 in nsGenericModule::RegisterSelf (this=0x6f680, aCompMgr=0x0, aPath=0x0, registryLocation=0xfafe3088 "A\033�p", componentType=0xfafe3030 "?`") at nsGenericFactory.cpp:420 #8 0x42309a40 in RegisterStaticModule (key=0x423998dc "xpconnect", module=0x0, [EMAIL PROTECTED]) at nsComponentManager.cpp:3200 #9 0x42314b88 in nsStaticModuleLoader::EnumerateModules (this=<value optimized out>, [EMAIL PROTECTED]: 0x423099dc <RegisterStaticModule>, [EMAIL PROTECTED]) at nsStaticComponentLoader.cpp:141 #10 0x4230f900 in nsComponentManagerImpl::AutoRegister (this=0x2c360, aSpec=0x0) at nsComponentManager.cpp:3243 #11 0x422ca840 in NS_InitXPCOM3_P (result=0x0, binDirectory=<value optimized out>, appFileLocationProvider=<value optimized out>, staticComponents=<value optimized out>, componentCount=0) at nsXPComInit.cpp:655 #12 0x422cab4c in NS_InitXPCOM2_P (result=0x0, binDirectory=0x0, appFileLocationProvider=0xfafe3088) at nsXPComInit.cpp:489 #13 0x0001215c in NS_InitXPCOM2 (result=0x0, binDirectory=0x0, appFileLocationProvider=0xfafe3088) at nsXPCOMGlue.cpp:138 #14 0x00010d04 in startup_xpcom () at regxpcom.cpp:155 #15 0x000111f8 in main (argc=0, argv=0x0) at regxpcom.cpp:375 #16 0x404e9254 in __libc_start_main () from /lib/libc.so.6 #17 0x000108c0 in _start () (gdb) Gruesse, -- Frank Lichtenheld <[EMAIL PROTECTED]> www: http://www.djpig.de/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]