Date: Fri, 6 Sep 2002 14:04:45 -0400 (EDT) From: Andrew Gallatin <gallatin@cs.duke.edu> To: Joe Marcus Clarke <marcus@marcuscom.com> Cc: alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 Message-ID: <15736.60989.78548.679870@grasshopper.cs.duke.edu> In-Reply-To: <1031333130.342.46.camel@gyros.marcuscom.com> References: <20020906040641.GA61111@xor.obsecurity.org> <1031287598.361.2.camel@gyros.marcuscom.com> <15736.40749.986834.818558@grasshopper.cs.duke.edu> <1031329151.342.9.camel@gyros.marcuscom.com> <15736.58229.652949.93794@grasshopper.cs.duke.edu> <1031333130.342.46.camel@gyros.marcuscom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Joe Marcus Clarke writes:
> > Are you saying that there's something different about the calling
> > conventions that would make using the linux code as it stands
> > incorrect?
>
> I don't know. However, I am seeing core dumps on the port-build and
> when executing mozilla that point to xptcall. Admittedly, I don't have
> an Alpha to test with myself. Jan had been generous enough to allow me
> to login to his. He is running 4.6.2, so I have not been able to test
> -stable or -current.
>
You're right -- xptinvoke seems f*cked:
<1:54pm>monet/gallatin:tests>pwd
/usr/ports/www/mozilla-devel/work/mozilla/xpcom/reflect/xptcall/tests
<1:55pm>monet/gallatin:tests>./TestXPTCInvoke
calling direct:
1 + 1 = 2
1L + 1L = 2
2 * 2 = 4
2L * 2L = 4
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55
1 + 2 = 3.000000f
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.000000
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 55.000000f
1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 +115 + 16 + 17 + 18 + 19 + 20 = 210.000000f
moo cow = milk
calling via invoke:
1 + 1 = 0
1L + 1L = 0
Segmentation fault (core dumped)
I think Bernd is right too. The build stops a little earlier than
the post-build segv we've been seeing:
gmake[4]: Entering directory `/usr/ports/www/mozilla-devel/work/mozilla/accessible/src/base'
nsAccessible.cpp
c++ -o nsAccessible.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI -I. -I./../html -I./../xul -I./../../../layout/html/base/src -I../../../dist/include/content -I../../../dist/include/docshell -I../../../dist/include/dom -I../../../dist/include/gfx -I../../../dist/include/htmlparser -I../../../dist/include/intl -I../../../dist/include/layout -I../../../dist/include/locale -I../../../dist/include/necko -I../../../dist/include/plugin -I../../../dist/include/pref -I../../../dist/include/string -I../../../dist/include/uriloader -I../../../dist/include/view -I../../../dist/include/webshell -I../../../dist/include/widget -I../../../dist/include/xpcom -I../../../dist/include/xuldoc -I../../../dist/include/accessibility -I../../../dist/include -I/usr/ports/www/mozilla-devel/work/mozilla/dist/include/nspr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long -O -pipe -mcpu=ev56 -pipe -DNDEBUG -DTRIMMED -I/usr/X11R6/include -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../../config-defs.h nsAccessible.cpp
In file included from nsAccessible.cpp:41:
nsAccessible.h:176: warning: `class nsAccessibleTreeWalker' has virtual functions but non-virtual destructor
nsAccessible.cpp: In method `nsresult nsAccessible::GetAccId(PRInt32 *)':
nsAccessible.cpp:530: reinterpret_cast from `nsDerivedSafe<nsIDOMNode> *' to `PRInt32' loses precision
nsAccessible.cpp: In method `nsresult nsAccessible::AppendFlatStringFromContentNode(nsIContent *, nsAString *)':
nsAccessible.cpp:1274: warning: cast increases required alignment of target type
gmake[4]: *** [nsAccessible.o] Error 1
gmake[4]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/accessible/src/base'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/accessible/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla/accessible'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/www/mozilla-devel/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2
Drew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15736.60989.78548.679870>
