Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135368 - mozilla-1.7.13: (arm) undefined reference to _PrepareAndDispatch
Summary: mozilla-1.7.13: (arm) undefined reference to _PrepareAndDispatch
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High major
Assignee: Gentoo ARM Porters
URL: http://www.gentoo.org/security/en/gls...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-03 03:47 UTC by solar (RETIRED)
Modified: 2006-11-11 20:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description solar (RETIRED) gentoo-dev 2006-06-03 03:47:16 UTC
armv4l-unknown-linux-gnu-g++  -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\"  -fno-rtti -fno-handle-exceptions  -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -mcpu=strongarm110 -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2 -o xpcshell xpcshell.o    -Wl,-rpath,/usr/lib/mozilla  -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lmozjs -L../../../../dist/bin -lxpcom  -L/var/tmp/portage/mozilla-1.7.13/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl   -lpangoft2-1.0 -ldl -lm     
../../../../dist/bin/libxpcom.so: undefined reference to `_PrepareAndDispatch'
collect2: ld returned 1 exit status
gmake[3]: *** [xpcshell] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/mozilla-1.7.13/work/mozilla/js/src/xpconnect/shell'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/mozilla-1.7.13/work/mozilla/js/src/xpconnect'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/mozilla-1.7.13/work/mozilla'
make: *** [default] Error 2


After a bit of hunting around we see the symbol reference is comming from 
./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm.cpp 

static nsresult PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args) asm("_PrepareAndDispatch");


Then there is a function
PrepareAndDispatch(nsXPTCStubBase* self, uint32 methodIndex, PRUint32* args)

And right below it we have the shared stub which makes the reference.

__asm__ ("\n\
SharedStub:                         \n\
    stmfd   sp!, {r1, r2, r3}               \n\
    mov r2, sp                      \n\
    str lr, [sp, #-4]!                  \n\
    mov r1, ip                      \n\
    bl  _PrepareAndDispatch                         \n\
    ldr pc, [sp], #16");


That's about as much info as I can provide in this respect.
But sadly this version of mozilla is needed to go stable for GLSA-200604-18

CVE-2005-4134 CVE-2006-0292 CVE-2006-0293 CVE-2006-0296 CVE-2006-0748 
CVE-2006-0749 CVE-2006-0884 CVE-2006-1045 CVE-2006-1727 CVE-2006-1728
CVE-2006-1729 CVE-2006-1730 CVE-2006-1731 CVE-2006-1732 CVE-2006-1733
CVE-2006-1734 CVE-2006-1735 CVE-2006-1736 CVE-2006-1737 CVE-2006-1738
CVE-2006-1739 CVE-2006-1740 CVE-2006-1741 CVE-2006-1742 CVE-2006-1790

Current keywords.
mozilla-1.7.10-r1[0]:
mozilla-1.7.10-r2[0]: (M)
mozilla-1.7.10-r3[0]: (M)
mozilla-1.7.11[0]:
mozilla-1.7.11-r1[0]: (M)
mozilla-1.7.11-r2[0]: (M)
mozilla-1.7.11-r3[0]: arm
mozilla-1.7.12-r2[0]:
mozilla-1.7.12-r3[0]: (M) ~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86
mozilla-1.7.13[0]: alpha amd64 hppa ia64 ppc ~ppc64 sparc x86
Comment 1 SpanKY gentoo-dev 2006-11-11 20:21:51 UTC
seamonkey/firefox works, and mozilla is no longer KEYWORDed for arm, so we wont bother fixing this