From owner-freebsd-alpha Mon Sep 9 14: 3:52 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DD9537B400; Mon, 9 Sep 2002 14:03:49 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE6F143E65; Mon, 9 Sep 2002 14:03:48 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.0] (vpn-client-0.marcuscom.com [10.2.1.0]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g89L1Wix007426; Mon, 9 Sep 2002 17:01:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) From: Joe Marcus Clarke To: Andrew Gallatin Cc: obrien@FreeBSD.ORG, alpha@FreeBSD.ORG In-Reply-To: <15741.2822.526047.253409@grasshopper.cs.duke.edu> 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> <20020906194732.GA2244@dragon.nuxi.com> <15737.2550.488154.4401@grasshopper.cs.duke.edu> <20020907000825.GA4091@dragon.nuxi.com> <15739.43883.152090.936327@grasshopper.cs.duke.edu> <15741.2822.526047.253409@grasshopper.cs.duke.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 09 Sep 2002 17:03:30 -0400 Message-Id: <1031605410.351.90.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Mon, 2002-09-09 at 16:56, Andrew Gallatin wrote: > > Andrew Gallatin writes: > > > > David O'Brien writes: > > > The vtable format in stable is not the same as AlphaLinux, it is the same > > > in -CURRENT. Do we know if the results you posted also happen on > > > -CURRENT? > > > > Checking now. Can you explain the vtable format in -stable, or point > > me at a description so I can modify the code to work with -stable? > > > > I think I may have figured it out.. I stumbled on the > $vtable symbol. > > This appended patch *seems* to work as far as the TestXPTCInvoke code > goes. I'm going to try YAMB (yet another mozilla build) now. > > I hope I can get it to the post-build stage to see if this fixes the segvs. Sweet...You're in my neck of the woods, too. Looks like I might owe you a beer. Joe > > Drew > > --- xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp.bak Mon Sep 9 14:47:20 2002 > +++ xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp Mon Sep 9 16:48:45 2002 > @@ -163,7 +163,12 @@ > "bis $16,$16,$1\n\t" /* load "this" */ > "ldq $2,16($15)\n\t" /* load "methodIndex" */ > "ldq $1,0($1)\n\t" /* load vtable */ > +#if 0 > "s8addq $2,16,$2\n\t" /* vtable index = "methodIndex" * 8 + 16 */ > +#else > + "mulq $2,16,$2\n\t" > + "addq $2, 24, $2\n\t" /* vtable index = "methodIndex" * 16 + 24 */ > +#endif > "addq $1,$2,$1\n\t" > "ldq $27,0($1)\n\t" /* load address of function */ > "jsr $26,($27),0\n\t" /* call virtual function */ > -- PGP Key : http://www.marcuscom.com/pgp.asc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message