From owner-freebsd-alpha Sun Sep 8 7:38:53 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 F3BD237B400; Sun, 8 Sep 2002 07:38:34 -0700 (PDT) Received: from chat.ru (171-175.dialup.permonline.ru [212.120.171.175]) by mx1.FreeBSD.org (Postfix) with SMTP id CF5D043E3B; Sun, 8 Sep 2002 07:37:56 -0700 (PDT) (envelope-from golden_st@rambler.ru) From: Василий Subject: Ваша заработная плата! Reply-To: golden_st@rambler.ru X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Date: Sun, 8 Sep 2002 20:45:41 +0600 Message-Id: <20020908143756.CF5D043E3B@mx1.FreeBSD.org> To: undisclosed-recipients: ; 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 Здравствуйте, извините если я Вас отвлёк от важных государственных дел. Просто я хотел бы предложить Вам заработать на чай, кофе, потанцуем или на пиво, водка, полежим (каждому своё) Несмотря на то, что это всетаки пирамидка. С неё можно реально зарабатывать в месяц от 1000руб. Это не золотые горы, но зато надёжно. Если вам это интересно, то пишите, а если нет, то извините за беспокойство. Продолжайте заниматься важными государственными делами. С уважением, Василий. PS: Я лично зарабатываю 500-1500руб в месяц To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 8 12:49:57 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 A32BC37B401 for ; Sun, 8 Sep 2002 12:49:54 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B867243E42 for ; Sun, 8 Sep 2002 12:49:53 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id PAA17418; Sun, 8 Sep 2002 15:49:52 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g88JnMH65841; Sun, 8 Sep 2002 15:49:22 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15739.43458.696708.200577@grasshopper.cs.duke.edu> Date: Sun, 8 Sep 2002 15:49:22 -0400 (EDT) To: Scott Sewall Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Need help installing In-Reply-To: <3D7AA43D.9010309@ix.netcom.com> References: <3D7AA43D.9010309@ix.netcom.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Scott Sewall writes: > I'm attempting to install from a CD, made from the ISO I downloaded > from freebsd.org. The install hangs after jumping to the bootstrap code: > > P00>>>boot dqb0 > (boot dqb0.0.1.16.0 -flags 0) > block 0 of dqb0.0.1.16.0 is a valid boot block > reading 375 blocks from dqb0.0.1.16.0 > bootstrap code read in > base = 200000, image_start = 0, image_bytes = 2ee00 > initializing HWRPB at 2000 > initializing page table at 3ff4c000 > initializing machine state > setting affinity to the primary CPU > jumping to bootstrap code > << at this point the light on the CD blinks for several seconds >> Check your console variable. Make sure that its not set to "graphics" (I assume that you're running a serial console) Also make sure your serial console cable is connected to the lowest numbered serial port. Try putting the cable on the other port -- the SRM console echos enough output to ALL ports to confuse you into thinking that you may be using the correct port when in fact you are not. FreeBSD will just use the lowest numbered port. > Processors > CPU 0 Alpha 21264B-4 833 MHz SROM Revision: V2.5.2.2.32 > Bcache size: 4 MB > > CPU 1 Alpha 21264B-4 833 MHz SROM Revision: V2.5.2.2.32 > Bcache size: 4 MB Nice machine. In order to get the second CPU working, I'm afraid you'll need to run -current. I'd start with the 5.0DP1 snapshot. Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 8 12:57: 5 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 E93C737B400; Sun, 8 Sep 2002 12:57:03 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D7ED43E42; Sun, 8 Sep 2002 12:57:03 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id PAA17629; Sun, 8 Sep 2002 15:56:57 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g88JuRA65853; Sun, 8 Sep 2002 15:56:27 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15739.43883.152090.936327@grasshopper.cs.duke.edu> Date: Sun, 8 Sep 2002 15:56:27 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 In-Reply-To: <20020907000825.GA4091@dragon.nuxi.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> <20020906194732.GA2244@dragon.nuxi.com> <15737.2550.488154.4401@grasshopper.cs.duke.edu> <20020907000825.GA4091@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 8 14:29:38 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 A8F7337B400; Sun, 8 Sep 2002 14:29:36 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id B95D743E75; Sun, 8 Sep 2002 14:29:35 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA20088; Sun, 8 Sep 2002 17:29:34 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g88LT4R65953; Sun, 8 Sep 2002 17:29:04 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15739.49440.257640.512733@grasshopper.cs.duke.edu> Date: Sun, 8 Sep 2002 17:29:04 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 In-Reply-To: <20020907000825.GA4091@dragon.nuxi.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> <20020906194732.GA2244@dragon.nuxi.com> <15737.2550.488154.4401@grasshopper.cs.duke.edu> <20020907000825.GA4091@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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? There's some kind of name-mangling problem on -current: c++ -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=ev6 -fshort-wchar -pipe -DNDEBUG -DTRIMMED -o TestXPTCInvoke TestXPTCInvoke.o -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lxpcom -L/usr/ports/www/mozilla-devel/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -pthread -lm ../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub203()' ../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub156()' <...> <5:27pm>monet/gallatin:lib>nm -A * | grep Stub203 /usr/libexec/elf/nm: libmoz_art_lgpl.so: no symbols /usr/libexec/elf/nm: libmozjs.so: no symbols /usr/libexec/elf/nm: libmozz.so: no symbols /usr/libexec/elf/nm: libnspr4.so: no symbols /usr/libexec/elf/nm: libplc4.so: no symbols /usr/libexec/elf/nm: libplds4.so: no symbols /usr/libexec/elf/nm: libxpcom.so: no symbols libxpcomproxy_s.a:nsProxyEventObject.o: U _ZN14nsXPTCStubBase7Stub203Ev libxptcall.a:xptcall.o: U _ZN14nsXPTCStubBase7Stub203Ev libxptcmd.a:xptcstubs_linux_alpha.o:0000000000001ba0 T Stub203__14nsXPTCStubBase Have I ever mentioned how much I despise c++? Drew PS: Does the ports gcc on -stable use the same vtable format as linux? I'm trying it now.. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 8 14:48:16 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 B384B37B400; Sun, 8 Sep 2002 14:48:13 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71CC943E3B; Sun, 8 Sep 2002 14:48:12 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g88Lm26K013686 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Sun, 8 Sep 2002 23:48:04 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g88Lm1bV002425 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 8 Sep 2002 23:48:02 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.6/8.12.6/Submit) id g88Lm1nY002424; Sun, 8 Sep 2002 23:48:01 +0200 (CEST) (envelope-from ticso) Date: Sun, 8 Sep 2002 23:48:00 +0200 From: Bernd Walter To: Andrew Gallatin Cc: obrien@FreeBSD.ORG, Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 Message-ID: <20020908214800.GE381@cicely5.cicely.de> Reply-To: ticso@cicely.de 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.49440.257640.512733@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15739.49440.257640.512733@grasshopper.cs.duke.edu> X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i 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 Sun, Sep 08, 2002 at 05:29:04PM -0400, Andrew Gallatin wrote: > > 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? > > There's some kind of name-mangling problem on -current: > > c++ -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=ev6 -fshort-wchar -pipe -DNDEBUG -DTRIMMED -o TestXPTCInvoke TestXPTCInvoke.o -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lxpcom -L/usr/ports/www/mozilla-devel/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -pthread -lm > ../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub203()' > ../../../../dist/bin/libxpcom.so: undefined reference to `nsXPTCStubBase::Stub156()' > <...> Exactly that's what I'm seeing for some time now. > <5:27pm>monet/gallatin:lib>nm -A * | grep Stub203 > /usr/libexec/elf/nm: libmoz_art_lgpl.so: no symbols > /usr/libexec/elf/nm: libmozjs.so: no symbols > /usr/libexec/elf/nm: libmozz.so: no symbols > /usr/libexec/elf/nm: libnspr4.so: no symbols > /usr/libexec/elf/nm: libplc4.so: no symbols > /usr/libexec/elf/nm: libplds4.so: no symbols > /usr/libexec/elf/nm: libxpcom.so: no symbols > libxpcomproxy_s.a:nsProxyEventObject.o: U _ZN14nsXPTCStubBase7Stub203Ev > libxptcall.a:xptcall.o: U _ZN14nsXPTCStubBase7Stub203Ev > libxptcmd.a:xptcstubs_linux_alpha.o:0000000000001ba0 T Stub203__14nsXPTCStubBase > > Have I ever mentioned how much I despise c++? I hadn't spend much time in this, but I remember that they were explicitly declared in some header and nowhere defined... No idea what they are for. I hate numbered functions especially without comments. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sun Sep 8 17:37:21 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 3E3A837B400; Sun, 8 Sep 2002 17:37:20 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32D5E43E65; Sun, 8 Sep 2002 17:37:19 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA24684; Sun, 8 Sep 2002 20:37:15 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g890aiV66091; Sun, 8 Sep 2002 20:36:44 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15739.60700.873439.539214@grasshopper.cs.duke.edu> Date: Sun, 8 Sep 2002 20:36:44 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 In-Reply-To: <15739.43883.152090.936327@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> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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? The gcc32 port craps out building java. I wish there was a way to disable it.. Building gcc33 now.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 9 8:47:14 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 6C61437B400; Mon, 9 Sep 2002 08:47:12 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63ABE43E42; Mon, 9 Sep 2002 08:47:11 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id LAA17399; Mon, 9 Sep 2002 11:47:10 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g89FkeQ67292; Mon, 9 Sep 2002 11:46:40 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15740.49759.966079.388235@grasshopper.cs.duke.edu> Date: Mon, 9 Sep 2002 11:46:39 -0400 (EDT) To: obrien@FreeBSD.ORG Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: mozilla failure on 4.6.2 In-Reply-To: <15739.49440.257640.512733@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.49440.257640.512733@grasshopper.cs.duke.edu> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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? > > There's some kind of name-mangling problem on -current: FYI, the same problem exists on -stable when using the gcc33 port. To build gcc33, one must resort to building libc with -mieee so that the f*ing java header generator can create Double.h without dying in a floating point trap in printf(). Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 9 13:57:13 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 EEAF737B400; Mon, 9 Sep 2002 13:57:10 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id A36C643E42; Mon, 9 Sep 2002 13:57:09 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id QAA00402; Mon, 9 Sep 2002 16:57:08 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g89KucT67558; Mon, 9 Sep 2002 16:56:38 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15741.2822.526047.253409@grasshopper.cs.duke.edu> Date: Mon, 9 Sep 2002 16:56:38 -0400 (EDT) To: Andrew Gallatin Cc: obrien@FreeBSD.ORG, Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <15739.43883.152090.936327@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> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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. 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 */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message 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 From owner-freebsd-alpha Mon Sep 9 14: 9:45 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 D55CA37B400 for ; Mon, 9 Sep 2002 14:09:43 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 169CA43E42 for ; Mon, 9 Sep 2002 14:09:43 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id RAA00821; Mon, 9 Sep 2002 17:09:42 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g89L9CK67577; Mon, 9 Sep 2002 17:09:12 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15741.3576.186102.808723@grasshopper.cs.duke.edu> Date: Mon, 9 Sep 2002 17:09:12 -0400 (EDT) To: Joe Marcus Clarke Cc: alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <1031605410.351.90.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> <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> <1031605410.351.90.camel@gyros.marcuscom.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Joe Marcus Clarke writes: > > Sweet...You're in my neck of the woods, too. Looks like I might owe you > a beer. If anything, you and Jan Lentfer are owed a beer for narrowing it down to a few dozen lines of assembly code. I didn't know enough about mozilla/c++ to even think about looking there. BTW - where are you? I'm actually in OH, not NC. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 9 14:11:17 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 07CF437B400 for ; Mon, 9 Sep 2002 14:11:16 -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 587F643E65 for ; Mon, 9 Sep 2002 14:11:15 -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 g89L8xix007472; Mon, 9 Sep 2002 17:09:00 -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: alpha@FreeBSD.ORG In-Reply-To: <15741.3576.186102.808723@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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.3576.186102.808723@grasshopper.cs.duke.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 09 Sep 2002 17:10:57 -0400 Message-Id: <1031605857.351.92.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 17:09, Andrew Gallatin wrote: > > Joe Marcus Clarke writes: > > > > Sweet...You're in my neck of the woods, too. Looks like I might owe you > > a beer. > > If anything, you and Jan Lentfer are owed a beer for narrowing it > down to a few dozen lines of assembly code. I didn't know enough about > mozilla/c++ to even think about looking there. > > BTW - where are you? I'm actually in OH, not NC. I work for Cisco in RTP, NC. Well, if you're ever on the Duke campus, beverages all around. Joe > > Drew > -- 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 From owner-freebsd-alpha Mon Sep 9 14:56:14 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 29D0937B400 for ; Mon, 9 Sep 2002 14:56:11 -0700 (PDT) Received: from smtp.web.de (smtp02.web.de [217.72.192.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8419A43E42 for ; Mon, 9 Sep 2002 14:56:10 -0700 (PDT) (envelope-from Jan.Lentfer@web.de) Received: from [217.82.33.2] (helo=floundjan.homeip.net) by smtp.web.de with esmtp (WEB.DE(Exim) 4.75 #2) id 17oWVK-0001gx-00; Mon, 09 Sep 2002 23:55:34 +0200 Received: from localhost (localhost.lan [127.0.0.1]) by floundjan.homeip.net (Postfix on FreeBSD 4.5) with ESMTP id 0EE4A28F; Mon, 9 Sep 2002 23:55:33 +0200 (CEST) Received: from jan-linux.lan (jan-linux.lan [192.168.0.20]) by floundjan.homeip.net (Postfix on FreeBSD 4.5) with ESMTP id 554EC1D5; Mon, 9 Sep 2002 23:55:27 +0200 (CEST) Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) From: Jan Lentfer To: Andrew Gallatin Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG In-Reply-To: <15741.3576.186102.808723@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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.3576.186102.808723@grasshopper.cs.duke.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7-1mdk Date: 09 Sep 2002 23:55:26 +0200 Message-Id: <1031608526.2988.1.camel@jan-linux.lan> Mime-Version: 1.0 X-Virus-Scanned: by AMaViS perl-10 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 Am Mon, 2002-09-09 um 23.09 schrieb Andrew Gallatin: > > Joe Marcus Clarke writes: > > > > Sweet...You're in my neck of the woods, too. Looks like I might owe you > > a beer. > > If anything, you and Jan Lentfer are owed a beer for narrowing it > down to a few dozen lines of assembly code. I didn't know enough about > mozilla/c++ to even think about looking there. It's actually mostly Joe's. I more or less only donated an account on my PWS at university. > BTW - where are you? I'm actually in OH, not NC. Well, if you guys ever happen to be in germany - I guess you know what we guys are famous for ;-). Jan -- Jan Lentfer System Administrator Molecular Cell Biology / AG Holstein, Darmstadt University of Technology, Schnittspahnstr. 10, 64287 Darmstadt, Germany Tel: +49 6151 16 5563 / Tel private: +49 6151 788415 / mobile: +49 163 4712037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 9 18: 1:31 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 9AF2E37B41B; Mon, 9 Sep 2002 18:01:16 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94EE843E72; Mon, 9 Sep 2002 18:01:15 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id VAA07886; Mon, 9 Sep 2002 21:01:14 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8A10ie67748; Mon, 9 Sep 2002 21:00:44 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15741.17468.701009.998323@grasshopper.cs.duke.edu> Date: Mon, 9 Sep 2002 21:00:44 -0400 (EDT) To: Joe Marcus Clarke Cc: obrien@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <1031605410.351.90.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> <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> <1031605410.351.90.camel@gyros.marcuscom.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 No beer yet. It still segv's like this: (gdb) where #0 0x1602a25c4 in PLDHashTableEnumeratorImpl::GetNext () from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so #1 0x1602aaff8 in nsComponentManagerImpl::RegisterFactoryLocation () from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so #2 0x1602e1d78 in XPTC_InvokeByIndex () from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so warning: Hit heuristic-fence-post without finding warning: enclosing function for address 0x120151910 The interesting thing is the "mutliple inheritance test" seems to be failing, now that I look closely at it: Calling Bar... direct calls: FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 invoke calls: FooBarImpl2::BarMethod1 called with i == 1, local value = 0 FooBarImpl2::BarMethod2 called with i == 2, local value = 0 (gdb) break FooBarImpl2::BarMethod1 Breakpoint 2 at 0x120002c50: file TestXPTCInvoke.cpp, line 977. (gdb) r Starting program: /home/gallatin/ports/www/mozilla-devel/work/mozilla/xpcom/reflect/xptcall/tests/./TestXPTCInvoke <...> Breakpoint 2, FooBarImpl2::BarMethod1 (this=0x12001c080, i=1) at TestXPTCInvoke.cpp:977 977 i, value); (gdb) Continuing. FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 invoke calls: Breakpoint 2, FooBarImpl2::BarMethod1 (this=0x12001c088, i=1) at TestXPTCInvoke.cpp:977 977 i, value); (gdb) Continuing. FooBarImpl2::BarMethod1 called with i == 1, local value = 0 FooBarImpl2::BarMethod2 called with i == 2, local value = 0 Notice how "this" has been incremented by 8 bytes? I have no clue where that's coming from. If I look at *(FooBarImpl2 *)0x12001c080, it looks correct. Help is welcome.. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Mon Sep 9 22:33: 6 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 901E237B400; Mon, 9 Sep 2002 22:33:02 -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 C045B43E65; Mon, 9 Sep 2002 22:33:00 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from gyros (gyros.marcuscom.com [192.168.1.9]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8A5UYix055851; Tue, 10 Sep 2002 01:30:34 -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.17468.701009.998323@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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.17468.701009.998323@grasshopper.cs.duke.edu> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 10 Sep 2002 01:32:33 -0400 Message-Id: <1031635953.342.133.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 21:00, Andrew Gallatin wrote: > > No beer yet. It still segv's like this: > > (gdb) where > #0 0x1602a25c4 in PLDHashTableEnumeratorImpl::GetNext () > from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so > #1 0x1602aaff8 in nsComponentManagerImpl::RegisterFactoryLocation () > from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so > #2 0x1602e1d78 in XPTC_InvokeByIndex () > from /home/gallatin/ports/www/mozilla-devel/work/mozilla/dist/bin/libxpcom.so > warning: Hit heuristic-fence-post without finding > warning: enclosing function for address 0x120151910 > > The interesting thing is the "mutliple inheritance test" seems to be > failing, now that I look closely at it: > > Calling Bar... > direct calls: > FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 > FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 > invoke calls: > FooBarImpl2::BarMethod1 called with i == 1, local value = 0 > FooBarImpl2::BarMethod2 called with i == 2, local value = 0 > > > (gdb) break FooBarImpl2::BarMethod1 > Breakpoint 2 at 0x120002c50: file TestXPTCInvoke.cpp, line 977. > (gdb) r > Starting program: /home/gallatin/ports/www/mozilla-devel/work/mozilla/xpcom/reflect/xptcall/tests/./TestXPTCInvoke > <...> > > Breakpoint 2, FooBarImpl2::BarMethod1 (this=0x12001c080, i=1) at TestXPTCInvoke.cpp:977 > 977 i, value); > (gdb) > Continuing. > FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 > FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 > invoke calls: > > Breakpoint 2, FooBarImpl2::BarMethod1 (this=0x12001c088, i=1) at TestXPTCInvoke.cpp:977 > 977 i, value); > (gdb) > Continuing. > FooBarImpl2::BarMethod1 called with i == 1, local value = 0 > FooBarImpl2::BarMethod2 called with i == 2, local value = 0 > > Notice how "this" has been incremented by 8 bytes? I have no clue > where that's coming from. If I look at *(FooBarImpl2 *)0x12001c080, > it looks correct. > > Help is welcome.. I don't have an Alpha or know much about Alpha assembly, but could the 8 bytes be coming from: "addq $30,8,$16\n\t" /* pass stack pointer */ If I read things right, they're adding 8 to the "this" address, and storing it in register $16. Then, they load "this" from $16. Like I said, I don't know if this is correct, and I currently have no way of testing it. But: stq $16,0($30) (store "this" [stack pointer offset 0 bytes]) ... addq $30,8,$16 Add 8 to the stack pointer ("this", right), and store it in $16. Joe > > Drew > > -- 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 From owner-freebsd-alpha Tue Sep 10 6:13:20 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 09F0E37B400; Tue, 10 Sep 2002 06:13:14 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id D690A43E4A; Tue, 10 Sep 2002 06:13:09 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA25018; Tue, 10 Sep 2002 09:13:09 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8ADCdK68776; Tue, 10 Sep 2002 09:12:39 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15741.61382.872535.426732@grasshopper.cs.duke.edu> Date: Tue, 10 Sep 2002 09:12:38 -0400 (EDT) To: Joe Marcus Clarke Cc: obrien@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <1031635953.342.133.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> <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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.17468.701009.998323@grasshopper.cs.duke.edu> <1031635953.342.133.camel@gyros.marcuscom.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Joe Marcus Clarke writes: > Add 8 to the stack pointer ("this", right), and store it in $16. I wish it were that simple :-( The problem seems to be that the application code is passing the "wrong" value in and somehow the c++ calling standard corrects it, and we must correct it too: impl == 0x12001c080 foo == 0x12001c080 bar == 0x12001c088 Notice how "bar" = (char *)impl + 8 ? Somehow, when doing a "direct" call, the "this" pointer ends up as the impl pointer, not as the "bar" pointer, even if "bar" is used in the call. However, in the "invoke" code, we get literally what we asked for -- the "this" pointer == the "bar" pointer. We need to somehow be able to tell that its a case like this and make the this pointer be the impl pointer. Appended is sample output, with some of the methods modified to print out the this pointer. Drew 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 +1 15 + 16 + 17 + 18 + 19 + 20 = 210.000000f moo cow = milk calling via invoke: 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 + 15 + 16 + 17 + 18 + 19 + 20 = 210.000000f moo cow = milk impl == 0x1200160c0 foo == 0x1200160c0 bar == 0x1200160d8 Calling Foo... direct calls: this = 0x1200160c0 FooImpl::FooMethod1 called with i == 1, FooImpl part of a FooBarImpl this = 0x1200160c0 FooImpl::FooMethod2 called with i == 2, FooImpl part of a FooBarImpl invoke calls: this = 0x1200160c0 FooImpl::FooMethod1 called with i == 1, FooImpl part of a FooBarImpl this = 0x1200160c0 FooImpl::FooMethod2 called with i == 2, FooImpl part of a FooBarImpl Calling Bar... direct calls: this = 0x1200160d8 BarImpl::BarMethod1 called with i == 1, BarImpl part of a FooBarImpl this = 0x1200160d8 BarImpl::BarMethod2 called with i == 2, BarImpl part of a FooBarImpl invoke calls: this = 0x1200160d8 BarImpl::BarMethod1 called with i == 1, BarImpl part of a FooBarImpl this = 0x1200160d8 BarImpl::BarMethod2 called with i == 2, BarImpl part of a FooBarImpl impl == 0x12001c080 foo == 0x12001c080 bar == 0x12001c088 Calling Foo... direct calls: this = 0x12001c080 FooBarImpl2::FooMethod1 called with i == 1, local value = 12345678 this = 0x12001c080 FooBarImpl2::FooMethod2 called with i == 2, local value = 12345678 invoke calls: this = 0x12001c080 FooBarImpl2::FooMethod1 called with i == 1, local value = 12345678 this = 0x12001c080 FooBarImpl2::FooMethod2 called with i == 2, local value = 12345678 Calling Bar... direct calls: this = 0x12001c080 FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 this = 0x12001c080 FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 invoke calls: this = 0x12001c088 FooBarImpl2::BarMethod1 called with i == 1, local value = 0 this = 0x12001c088 FooBarImpl2::BarMethod2 called with i == 2, local value = 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue Sep 10 7: 4: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 70CAA37B400; Tue, 10 Sep 2002 07:04:42 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DDA143E6A; Tue, 10 Sep 2002 07:04:41 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g8AE4J6K035027 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 10 Sep 2002 16:04:32 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g8AE4FZr005632 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 10 Sep 2002 16:04:15 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.6/8.12.6/Submit) id g8AE4FxI005631; Tue, 10 Sep 2002 16:04:15 +0200 (CEST) (envelope-from ticso) Date: Tue, 10 Sep 2002 16:04:14 +0200 From: Bernd Walter To: Andrew Gallatin Cc: Joe Marcus Clarke , obrien@FreeBSD.ORG, alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) Message-ID: <20020910140414.GC5057@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.17468.701009.998323@grasshopper.cs.duke.edu> <1031635953.342.133.camel@gyros.marcuscom.com> <15741.61382.872535.426732@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15741.61382.872535.426732@grasshopper.cs.duke.edu> X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i 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 Tue, Sep 10, 2002 at 09:12:38AM -0400, Andrew Gallatin wrote: > > Joe Marcus Clarke writes: > > Add 8 to the stack pointer ("this", right), and store it in $16. > > I wish it were that simple :-( > > The problem seems to be that the application code is passing the > "wrong" value in and somehow the c++ calling standard corrects it, and > we must correct it too: > > impl == 0x12001c080 > foo == 0x12001c080 > bar == 0x12001c088 I have no idea how the class declaration for you example looks like. Possible because I don't know the mozilla code you are talking about. What is the difference in direct and invoke calling? Lets asume foo is a virtual function of class x which is based on class y defining the virtual function bar. From what I know about C++ (which might be outdated) we have the following situation when using an object of class x. Call of function bar means the caller knows the offset to the function pointer, because it's using a pointer of type x. The function bar expects a this pointer of type y so it gets the this pointer of the embedded y object which may be numericaly different. Now asume class x reimplement the virtual function bar. The newly bar function has to share the calling conventions that were declared by class y. If we call function bar using a type y pointer we submit a this pointer of type y. But the function is designed to have a this pointer of type x. Now the function must recalculate the supplied y pointer into an x pointer. If we call funtcion bar using a type x pointer we still have to convert the x pointer into an y pointer because the function still expects an y pointer. > Notice how "bar" = (char *)impl + 8 ? > > Somehow, when doing a "direct" call, the "this" pointer ends up as the > impl pointer, not as the "bar" pointer, even if "bar" is used in the > call. > > However, in the "invoke" code, we get literally what we asked for -- > the "this" pointer == the "bar" pointer. > > We need to somehow be able to tell that its a case like this and make > the this pointer be the impl pointer. > > Appended is sample output, with some of the methods modified to print out > the this pointer. > > Drew > > 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 +1 15 + 16 + 17 + 18 + 19 + 20 = 210.000000f > moo cow = milk > calling via invoke: > 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 + 15 + 16 + 17 + 18 + 19 + 20 = 210.000000f > moo cow = milk > > impl == 0x1200160c0 > foo == 0x1200160c0 > bar == 0x1200160d8 > Calling Foo... > direct calls: > this = 0x1200160c0 > FooImpl::FooMethod1 called with i == 1, FooImpl part of a FooBarImpl > this = 0x1200160c0 > FooImpl::FooMethod2 called with i == 2, FooImpl part of a FooBarImpl > invoke calls: > this = 0x1200160c0 > FooImpl::FooMethod1 called with i == 1, FooImpl part of a FooBarImpl > this = 0x1200160c0 > FooImpl::FooMethod2 called with i == 2, FooImpl part of a FooBarImpl > > Calling Bar... > direct calls: > this = 0x1200160d8 > BarImpl::BarMethod1 called with i == 1, BarImpl part of a FooBarImpl > this = 0x1200160d8 > BarImpl::BarMethod2 called with i == 2, BarImpl part of a FooBarImpl > invoke calls: > this = 0x1200160d8 > BarImpl::BarMethod1 called with i == 1, BarImpl part of a FooBarImpl > this = 0x1200160d8 > BarImpl::BarMethod2 called with i == 2, BarImpl part of a FooBarImpl > > > impl == 0x12001c080 > foo == 0x12001c080 > bar == 0x12001c088 > Calling Foo... > direct calls: > this = 0x12001c080 > FooBarImpl2::FooMethod1 called with i == 1, local value = 12345678 > this = 0x12001c080 > FooBarImpl2::FooMethod2 called with i == 2, local value = 12345678 > invoke calls: > this = 0x12001c080 > FooBarImpl2::FooMethod1 called with i == 1, local value = 12345678 > this = 0x12001c080 > FooBarImpl2::FooMethod2 called with i == 2, local value = 12345678 > > Calling Bar... > direct calls: > this = 0x12001c080 > FooBarImpl2::BarMethod1 called with i == 1, local value = 12345678 > this = 0x12001c080 > FooBarImpl2::BarMethod2 called with i == 2, local value = 12345678 > invoke calls: > this = 0x12001c088 > FooBarImpl2::BarMethod1 called with i == 1, local value = 0 > this = 0x12001c088 > FooBarImpl2::BarMethod2 called with i == 2, local value = 0 > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-alpha" in the body of the message -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue Sep 10 7:36: 2 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 BBBF537B400 for ; Tue, 10 Sep 2002 07:35:57 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C584F43E42 for ; Tue, 10 Sep 2002 07:35:56 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id KAA28087; Tue, 10 Sep 2002 10:35:54 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8AEZOT68840; Tue, 10 Sep 2002 10:35:24 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15742.812.130498.758611@grasshopper.cs.duke.edu> Date: Tue, 10 Sep 2002 10:35:24 -0400 (EDT) To: ticso@cicely.de Cc: Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <20020910140414.GC5057@cicely5.cicely.de> References: <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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.17468.701009.998323@grasshopper.cs.duke.edu> <1031635953.342.133.camel@gyros.marcuscom.com> <15741.61382.872535.426732@grasshopper.cs.duke.edu> <20020910140414.GC5057@cicely5.cicely.de> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Bernd Walter writes: > On Tue, Sep 10, 2002 at 09:12:38AM -0400, Andrew Gallatin wrote: > > > > Joe Marcus Clarke writes: > > > Add 8 to the stack pointer ("this", right), and store it in $16. > > > > I wish it were that simple :-( > > > > The problem seems to be that the application code is passing the > > "wrong" value in and somehow the c++ calling standard corrects it, and > > we must correct it too: > > > > impl == 0x12001c080 > > foo == 0x12001c080 > > bar == 0x12001c088 > > I have no idea how the class declaration for you example looks like. http://lxr.mozilla.org/seamonkey/source/xpcom/reflect/xptcall/tests/TestXPTCInvoke.cpp > Possible because I don't know the mozilla code you are talking about. > What is the difference in direct and invoke calling? "direct" is a normal c++ call: bar->BarMethod1(1); "invoke" means the mozilla xptinvoke shims: var[0].val.i32 = 1; var[0].type = nsXPTType::T_I32; var[0].flags = 0; XPTC_InvokeByIndex(bar, 3, 1, var); They are described at: http://www.mozilla.org/scriptable/xptcall-faq.html > Lets asume foo is a virtual function of class x which is based on > class y defining the virtual function bar. > >From what I know about C++ (which might be outdated) we have the > following situation when using an object of class x. > Call of function bar means the caller knows the offset to the function > pointer, because it's using a pointer of type x. > The function bar expects a this pointer of type y so it gets the > this pointer of the embedded y object which may be numericaly different. > > Now asume class x reimplement the virtual function bar. > The newly bar function has to share the calling conventions that were > declared by class y. > If we call function bar using a type y pointer we submit a this pointer > of type y. > But the function is designed to have a this pointer of type x. > Now the function must recalculate the supplied y pointer into an x > pointer. > If we call funtcion bar using a type x pointer we still have to convert > the x pointer into an y pointer because the function still expects an y > pointer. I assume this is all done "behind the scenes" by the compiler? Is there a convention for where the conversions are passed? Since you know quite a bit about c++, and because you know alpha asm, I'd _really_ like your help ;) Do you have an alpha running -stable? Or are you all -current these days? Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue Sep 10 10:21:29 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 37D8437B400 for ; Tue, 10 Sep 2002 10:21:27 -0700 (PDT) Received: from gatekeeper.oremut01.us.wh.verio.net (gatekeeper.oremut01.us.wh.verio.net [198.65.168.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id BA88E43E97 for ; Tue, 10 Sep 2002 10:21:22 -0700 (PDT) (envelope-from fclift@verio.net) Received: from mx.dmz.orem.verio.net (mx.dmz.orem.verio.net [10.1.1.10]) by gatekeeper.oremut01.us.wh.verio.net (Postfix) with ESMTP id D5AED3BF209 for ; Tue, 10 Sep 2002 11:21:21 -0600 (MDT) Received: from vespa.dmz.orem.verio.net (vespa.dmz.orem.verio.net [10.1.1.59]) by mx.dmz.orem.verio.net (8.11.6/8.11.6) with ESMTP id g8AHLK339162; Tue, 10 Sep 2002 11:21:20 -0600 (MDT) Date: Tue, 10 Sep 2002 11:24:04 -0600 (MDT) From: Fred Clift X-X-Sender: To: Andrew Gallatin Cc: , Joe Marcus Clarke , Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) In-Reply-To: <15742.812.130498.758611@grasshopper.cs.duke.edu> Message-ID: <20020910112155.E32234-100000@vespa.dmz.orem.verio.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Tue, 10 Sep 2002, Andrew Gallatin wrote: > > Since you know quite a bit about c++, and because you know alpha asm, > I'd _really_ like your help ;) Do you have an alpha running > -stable? Or are you all -current these days? My knowlege of both c++ and alpha asm is very lacking, but, I have a PWS 433au running a fairly recent -stable (jul 20 - I could upgrade) on that I could be pursuaded to set up a useraccount or 3 on if it would help with this problem. Fred -- Fred Clift - fclift@verio.net -- Remember: If brute force doesn't work, you're just not using enough. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Tue Sep 10 13:38: 6 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 4A44637B400 for ; Tue, 10 Sep 2002 13:38:00 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 251B643E8A for ; Tue, 10 Sep 2002 13:37:59 -0700 (PDT) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.5/8.12.5) with ESMTP id g8AKbq6K038698 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 10 Sep 2002 22:37:54 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.6/8.12.6) with ESMTP id g8AKbogl002636 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 10 Sep 2002 22:37:50 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.6/8.12.6/Submit) id g8AKbmqC002635; Tue, 10 Sep 2002 22:37:48 +0200 (CEST) (envelope-from ticso) Date: Tue, 10 Sep 2002 22:37:47 +0200 From: Bernd Walter To: Andrew Gallatin , Fred Clift Cc: ticso@cicely.de, Joe Marcus Clarke , alpha@FreeBSD.ORG Subject: Re: getting closer (was Re: mozilla failure on 4.6.2) Message-ID: <20020910203747.GE399@cicely5.cicely.de> Reply-To: ticso@cicely.de References: <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> <1031605410.351.90.camel@gyros.marcuscom.com> <15741.17468.701009.998323@grasshopper.cs.duke.edu> <1031635953.342.133.camel@gyros.marcuscom.com> <15741.61382.872535.426732@grasshopper.cs.duke.edu> <20020910140414.GC5057@cicely5.cicely.de> <15742.812.130498.758611@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020910112155.E32234-100000@vespa.dmz.orem.verio.net> <15742.812.130498.758611@grasshopper.cs.duke.edu> X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 User-Agent: Mutt/1.5.1i 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 Tue, Sep 10, 2002 at 10:35:24AM -0400, Andrew Gallatin wrote: > > Bernd Walter writes: > > On Tue, Sep 10, 2002 at 09:12:38AM -0400, Andrew Gallatin wrote: > > > > > > Joe Marcus Clarke writes: > > > > Add 8 to the stack pointer ("this", right), and store it in $16. > > > > > > I wish it were that simple :-( > > > > > > The problem seems to be that the application code is passing the > > > "wrong" value in and somehow the c++ calling standard corrects it, and > > > we must correct it too: > > > > > > impl == 0x12001c080 > > > foo == 0x12001c080 > > > bar == 0x12001c088 > > > > I have no idea how the class declaration for you example looks like. > > http://lxr.mozilla.org/seamonkey/source/xpcom/reflect/xptcall/tests/TestXPTCInvoke.cpp > > > Possible because I don't know the mozilla code you are talking about. > > What is the difference in direct and invoke calling? > > "direct" is a normal c++ call: bar->BarMethod1(1); > > > "invoke" means the mozilla xptinvoke shims: > > var[0].val.i32 = 1; > var[0].type = nsXPTType::T_I32; > var[0].flags = 0; > XPTC_InvokeByIndex(bar, 3, 1, var); > > > They are described at: > http://www.mozilla.org/scriptable/xptcall-faq.html OK - I see. Well that's evil - I had wished they would at least print a clear warning so everyone would know that specific platform support is missing instead of just producing nameless build errors. > > Lets asume foo is a virtual function of class x which is based on > > class y defining the virtual function bar. > > >From what I know about C++ (which might be outdated) we have the > > following situation when using an object of class x. > > Call of function bar means the caller knows the offset to the function > > pointer, because it's using a pointer of type x. > > The function bar expects a this pointer of type y so it gets the > > this pointer of the embedded y object which may be numericaly different. > > > > Now asume class x reimplement the virtual function bar. > > The newly bar function has to share the calling conventions that were > > declared by class y. > > If we call function bar using a type y pointer we submit a this pointer > > of type y. > > But the function is designed to have a this pointer of type x. > > Now the function must recalculate the supplied y pointer into an x > > pointer. > > If we call funtcion bar using a type x pointer we still have to convert > > the x pointer into an y pointer because the function still expects an y > > pointer. > > I assume this is all done "behind the scenes" by the compiler? Normaly yes. In that case they do it theirself. > Is there a convention for where the conversions are passed? No clue - I'm just a c++ user - not a compiler writer... My knowledge about vtables is just basic to understand how virtual functions could influence performance. On Tue, Sep 10, 2002 at 11:24:04AM -0600, Fred Clift wrote: > On Tue, 10 Sep 2002, Andrew Gallatin wrote: > > > > > Since you know quite a bit about c++, and because you know alpha asm, > > I'd _really_ like your help ;) Do you have an alpha running > > -stable? Or are you all -current these days? > > My knowlege of both c++ and alpha asm is very lacking, but, I have a PWS > 433au running a fairly recent -stable (jul 20 - I could upgrade) on that I > could be pursuaded to set up a useraccount or 3 on if it would help with > this problem. Fred - thank you for that offer but I have access to a stable alpha. cvsup.de.freebsd.org is my machine and is running stable from 31th jul. My home alphas are both running -current. I can boot stable on my NoName - but compiling mozilla - better not... My problem is mostly time. E.g. I recently added an USB controller to my NoName and I promissed Jonathan Mini alpha MD part for his KSE work. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 11 12:11:42 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 6190637B400 for ; Wed, 11 Sep 2002 12:11:40 -0700 (PDT) Received: from tibor.org (117-5-237-24-cable.anchorageak.net [24.237.5.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id C684B43E3B for ; Wed, 11 Sep 2002 12:11:39 -0700 (PDT) (envelope-from tibor@tibor.org) Received: from xena.mikey.net (xena.mikey.net [192.168.1.2]) by tibor.org (Postfix) with ESMTP id 83DE0A905 for ; Wed, 11 Sep 2002 11:11:38 -0800 (AKDT) Date: Wed, 11 Sep 2002 11:11:38 -0800 (AKDT) From: Mike Tibor X-X-Sender: tibor@xena.mikey.net To: alpha@freebsd.org Subject: Using GCC3.x and/or CPML to Build World/Kernel Message-ID: <20020911103851.B53911-100000@xena.mikey.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 I've got a 164LX and an old AlphaStation 200 4/233 that I've been playing with, and was curious about the use of CCC, CPML, and GCC3[012] to get some better performance. In searching the list archive, I noticed a reply Andrew Gallatin posted (the subject was "Re: make world with compaq compiler"), a couple of months ago, in which he mentioned that CCC wouldn't work to build world at this time (Andrew, does this also include the kernel?). Using Linux on the old AS200, I had some success rebuilding most binaries that had been linked to libm, with cpml. Any opinions how that might work on FreeBSD? Also, I remember reading on axp-list@redhat.com awhile back that GCC 3 would be a significant improvement over 2.95 for the Alpha--what kind of luck have people had using more recent GCC releases? (ie, "generally works okay, but don't even think about complaining here if you have problems", or "forget it--it's not even close") It may be from poor search wording on my part, but I haven't been able to find anything in the archive about this one. I'm asking mainly just out of curiousity, but I thought it would save a significant amount of work in the event that doing any of the above completely hosed my systems. Thanks, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 11 12:37:33 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 1C3DA37B400 for ; Wed, 11 Sep 2002 12:37:29 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4675343E6A for ; Wed, 11 Sep 2002 12:37:28 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id PAA26179; Wed, 11 Sep 2002 15:37:26 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8BJau370900; Wed, 11 Sep 2002 15:36:56 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15743.39768.338356.544370@grasshopper.cs.duke.edu> Date: Wed, 11 Sep 2002 15:36:56 -0400 (EDT) To: Mike Tibor Cc: alpha@FreeBSD.ORG Subject: Re: Using GCC3.x and/or CPML to Build World/Kernel In-Reply-To: <20020911103851.B53911-100000@xena.mikey.net> References: <20020911103851.B53911-100000@xena.mikey.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Mike Tibor writes: > I've got a 164LX and an old AlphaStation 200 4/233 that I've been playing > with, and was curious about the use of CCC, CPML, and GCC3[012] to get > some better performance. > > In searching the list archive, I noticed a reply Andrew Gallatin posted > (the subject was "Re: make world with compaq compiler"), a couple of > months ago, in which he mentioned that CCC wouldn't work to build world at > this time (Andrew, does this also include the kernel?). Yes, especially the kernel. Compaq ccc doesn't understand gnu asm assembly convetions. Certain header files which are included in most of the kernel files contain lots of gnu assembly code. Eg. /sys/alpha/include/alpha_cpu.h would need lots of ifdef's like this: static __inline unsigned long alpha_implver(void) { u_int64_t result; #ifdef __GNUC__ __asm__ __volatile__ ( "implver %0" : "=r" (result)); return result; #elif __DECC return asm("implver %v0"); #else #error "unsupported compiler" #endif } Its mainly a matter of somebody who understands both asm formats, and who has the time to do the manual cranking. If you'd like to do the job, go for it! There have been other people talking about building the world with icc (the intel c compiler) on x86. You might want to collaborate with them. I've forgotten if ccc understands __attributes__() directives. That may be another source of problems. I think icc may have problems here too, but I'm fuzzy. > Using Linux on the old AS200, I had some success rebuilding most binaries > that had been linked to libm, with cpml. Any opinions how that might work > on FreeBSD? It should work fine. In many cases, just linking with cpml provides 90% of the speedup that compiling with ccc would provide. > Also, I remember reading on axp-list@redhat.com awhile back that GCC 3 > would be a significant improvement over 2.95 for the Alpha--what kind of > luck have people had using more recent GCC releases? (ie, "generally > works okay, but don't even think about complaining here if you have > problems", or "forget it--it's not even close") It may be from poor > search wording on my part, but I haven't been able to find anything in the > archive about this one. > > I'm asking mainly just out of curiousity, but I thought it would save a > significant amount of work in the event that doing any of the above > completely hosed my systems. -current uses gcc3. I have not tried anything mathamatically intensive, so I do not have a lot to say about it. I did notice that it seems to take a little longer to compile the same code using gcc3 vs. gcc2. The current gcc33 port does not build on -stable. The java compiler (of all things!) craps out with a floating point exception in printf when creating Double.h. To work around it, I built a shared libc with -mieee. Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 11 13:19: 0 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 A60BE37B400 for ; Wed, 11 Sep 2002 13:18:58 -0700 (PDT) Received: from tibor.org (117-5-237-24-cable.anchorageak.net [24.237.5.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12CD643E4A for ; Wed, 11 Sep 2002 13:18:58 -0700 (PDT) (envelope-from tibor@tibor.org) Received: from xena.mikey.net (xena.mikey.net [192.168.1.2]) by tibor.org (Postfix) with ESMTP id 49FDEAD62; Wed, 11 Sep 2002 12:18:56 -0800 (AKDT) Date: Wed, 11 Sep 2002 12:18:58 -0800 (AKDT) From: Mike Tibor X-X-Sender: tibor@xena.mikey.net To: Andrew Gallatin Cc: alpha@FreeBSD.ORG Subject: Re: Using GCC3.x and/or CPML to Build World/Kernel In-Reply-To: <15743.39768.338356.544370@grasshopper.cs.duke.edu> Message-ID: <20020911120510.T54354-100000@xena.mikey.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Wed, 11 Sep 2002, Andrew Gallatin wrote: > Its mainly a matter of somebody who understands both asm formats, and who > has the time to do the manual cranking. If you'd like to do the job, > go for it! There have been other people talking about building the > world with icc (the intel c compiler) on x86. You might want to > collaborate with them. Sigh... I wish I could, but my background is much more networking than coding. :-( > > Using Linux on the old AS200, I had some success rebuilding most binaries > > that had been linked to libm, with cpml. Any opinions how that might work > > on FreeBSD? > > It should work fine. In many cases, just linking with cpml provides > 90% of the speedup that compiling with ccc would provide. Great--I'll try this one. Thanks very much! Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Wed Sep 11 22: 4: 0 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 03E6337B400 for ; Wed, 11 Sep 2002 22:03:57 -0700 (PDT) Received: from mail.redlinenetworks.com (mail.redlinenetworks.com [216.136.145.172]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E66443E42 for ; Wed, 11 Sep 2002 22:03:56 -0700 (PDT) (envelope-from sewall@ix.netcom.com) Received: from ix.netcom.com (melkor.redlinenetworks.com [192.168.0.8]) by mail.redlinenetworks.com (8.11.6/8.11.1) with ESMTP id g8C53tK85125; Wed, 11 Sep 2002 22:03:55 -0700 (PDT) (envelope-from sewall@ix.netcom.com) Message-ID: <3D802267.4050403@ix.netcom.com> Date: Wed, 11 Sep 2002 22:13:11 -0700 From: Scott Sewall User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 To: Andrew Gallatin Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Need help installing References: <3D7AA43D.9010309@ix.netcom.com> <15739.43458.696708.200577@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Drew, Thanks for you help. I swapped the cable to the other serial port and was able to boot the CD and complete the install. Do you know if there is there a CVS tag for the 5.0DP1 snapshot? Hopefully I can use this box to learn more about FreeBSD and make a contibution at the same time. -- Scott Andrew Gallatin wrote: >Scott Sewall writes: > > I'm attempting to install from a CD, made from the ISO I downloaded > > from freebsd.org. The install hangs after jumping to the bootstrap code: > > > > P00>>>boot dqb0 > > (boot dqb0.0.1.16.0 -flags 0) > > block 0 of dqb0.0.1.16.0 is a valid boot block > > reading 375 blocks from dqb0.0.1.16.0 > > bootstrap code read in > > base = 200000, image_start = 0, image_bytes = 2ee00 > > initializing HWRPB at 2000 > > initializing page table at 3ff4c000 > > initializing machine state > > setting affinity to the primary CPU > > jumping to bootstrap code > > << at this point the light on the CD blinks for several seconds >> > >Check your console variable. Make sure that its not set to "graphics" >(I assume that you're running a serial console) > >Also make sure your serial console cable is connected to the lowest >numbered serial port. Try putting the cable on the other port -- the >SRM console echos enough output to ALL ports to confuse you into >thinking that you may be using the correct port when in fact you are >not. FreeBSD will just use the lowest numbered port. > > > Processors > > CPU 0 Alpha 21264B-4 833 MHz SROM Revision: V2.5.2.2.32 > > Bcache size: 4 MB > > > > CPU 1 Alpha 21264B-4 833 MHz SROM Revision: V2.5.2.2.32 > > Bcache size: 4 MB > >Nice machine. In order to get the second CPU working, I'm afraid >you'll need to run -current. I'd start with the 5.0DP1 snapshot. > >Cheers, > >Drew > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 12 4: 7:30 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 320D437B400 for ; Thu, 12 Sep 2002 04:07:28 -0700 (PDT) Received: from prinz.fujimori.cache.waseda.ac.jp (prinz.fujimori.cache.waseda.ac.jp [133.9.152.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B26A43E65 for ; Thu, 12 Sep 2002 04:07:27 -0700 (PDT) (envelope-from fujimori@prinz.fujimori.cache.waseda.ac.jp) Received: from prinz.fujimori.cache.waseda.ac.jp (localhost [127.0.0.1]) by prinz.fujimori.cache.waseda.ac.jp (8.12.3/8.11.6) with ESMTP id g8CB7PlZ014721 for ; Thu, 12 Sep 2002 20:07:26 +0900 (JST) (envelope-from fujimori@prinz.fujimori.cache.waseda.ac.jp) Message-Id: <200209121107.g8CB7PlZ014721@prinz.fujimori.cache.waseda.ac.jp> To: freebsd-alpha@freebsd.org Subject: panic: pmap_remove_pages:... Date: Thu, 12 Sep 2002 20:07:25 +0900 From: Yoriaki FUJIMORI 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 Dear listers, Just a report. I have been running up1100 more than a year. I have been happy with 4.5R. Yesterday, I tried to upgrade to 4.6.2R. And it seems the box starts sudden `Wooom...' in the middle of `make buildworld' etc. Once I saw panic: pmap_remove_pages: page on pm_pvlist has no pte syncing disks... 17 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up on 1 buffers Uptime: 3h33m0s Automatic reboot in 15 seconds - press a key on the console to abort Rebooting... My question is: what kind of panic this is. Something wrong happened in vm, I guess. Thanks for your attention. Yoriaki Fujimori To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 12 6:10:19 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 0616137B400 for ; Thu, 12 Sep 2002 06:10:15 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3569943E42 for ; Thu, 12 Sep 2002 06:10:14 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id JAA23576; Thu, 12 Sep 2002 09:10:13 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8CD9he72193; Thu, 12 Sep 2002 09:09:43 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15744.37399.367166.6137@grasshopper.cs.duke.edu> Date: Thu, 12 Sep 2002 09:09:43 -0400 (EDT) To: Yoriaki FUJIMORI Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: panic: pmap_remove_pages:... In-Reply-To: <200209121107.g8CB7PlZ014721@prinz.fujimori.cache.waseda.ac.jp> References: <200209121107.g8CB7PlZ014721@prinz.fujimori.cache.waseda.ac.jp> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 > Yesterday, I tried to upgrade to 4.6.2R. And it seems the box > starts sudden `Wooom...' in the middle of `make buildworld' etc. > > Once I saw > > panic: pmap_remove_pages: page on pm_pvlist has no pte > > > syncing disks... 17 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 > giving up on 1 buffers > Uptime: 3h33m0s > Automatic reboot in 15 seconds - press a key on the console to abort > Rebooting... > > My question is: what kind of panic this is. Something wrong happened > in vm, I guess. Yes. That's what happened. A trace (even just from ddb) would be helpful. FWIW, my UP1000 has been happily tracking -stable (running 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 27 22:18:51 EDT 2002) now. My xp1000 has been happy at 4.7-prelrelease. You might consider upgrading to the latest sources to see if that helps any. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Thu Sep 12 18:59:38 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 4C5CD37B400 for ; Thu, 12 Sep 2002 18:59:35 -0700 (PDT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 480F543E4A for ; Thu, 12 Sep 2002 18:59:34 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id VAA21835; Thu, 12 Sep 2002 21:59:33 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g8D1x3M72806; Thu, 12 Sep 2002 21:59:03 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15745.18023.361519.337978@grasshopper.cs.duke.edu> Date: Thu, 12 Sep 2002 21:59:03 -0400 (EDT) To: Scott Sewall Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: Need help installing In-Reply-To: <3D802267.4050403@ix.netcom.com> References: <3D7AA43D.9010309@ix.netcom.com> <15739.43458.696708.200577@grasshopper.cs.duke.edu> <3D802267.4050403@ix.netcom.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 Scott Sewall writes: > > Drew, > > Thanks for you help. > > I swapped the cable to the other serial port and was able to boot the CD > and complete the install. > > Do you know if there is there a CVS tag for the 5.0DP1 snapshot? > > Hopefully I can use this box to learn more about FreeBSD and make a > contibution at the same time. > > -- Scott > 5.0DP1 was kinda weird, as they did the release eng. in Perforce. So, I'm not sure there's a CVS tag for what actually got shipped. I suggested 5.0DP1 because you could do a binary install. However, things have improved usability and stability wise since then. If you are planning to build your way to 5.0DP1, you might do better to just go all the way to -current. If you do, please let me know. I've got a patch I need sombody with an SMP alpha to test ;) Cheers, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message From owner-freebsd-alpha Sat Sep 14 2:16: 7 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 1A74E37B43C; Sat, 14 Sep 2002 02:15:45 -0700 (PDT) Received: from mail4.caramail.com (mail4.caramail.com [213.193.13.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD2D944287; Sat, 14 Sep 2002 01:51:30 -0700 (PDT) (envelope-from graby.savimbi@caramail.com) Received: from caramail.com (www57.caramail.com [213.193.13.67]) by mail4.caramail.com (Postfix) with SMTP id 3403A11055; Sat, 14 Sep 2002 08:50:01 +0200 (DST) From: graby savimbi To: grabysavimbi@caramail.com Message-ID: <1031986007019414@caramail.com> X-Mailer: Caramail - www.caramail.com X-Originating-IP: [193.251.159.0] Mime-Version: 1.0 Subject: ASSISTANCE Date: Sat, 14 Sep 2002 08:46:47 GMT+1 Content-Type: multipart/mixed; boundary="=_NextPart_Caramail_0194141031986007_ID" 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 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --=_NextPart_Caramail_0194141031986007_ID Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit FROM MR GRABY SAVIMBI Attn I Graby Savimbi the son of jonas Savimbi,the unita leader who was killed by the government troops led by general Santos of angola in feb 2002. I got your contact through internet including two other contacts i pray over it i decided to contact you. Base on this my father mr jonas Savimbi deposited the sum of us $65.5m(sixtyfive.five million united state dollars) only to a security company in abidjan west coast of african continent which I am in position of the particulars of the fund deposited. My father deposited this fund as a family valuable treasure specified as gold and diamond jewlleries for safe keeping. Now my father is late ,I am looking for your assistance to help me clear this fund from the securiry company in abidjan hence the security company is not aware is fund but specified as gold and diamond as family valuable treasure box. I will offer you 25% of the total fund then 75% is for me and my family. So keep it secret for our better tomorrow.expecting your reply for further information. Thanks and God bless you. Yours Graby Savimbi _________________________________________________________ Envoyez des messages musicaux sur le portable de vos amis http://mobile.lycos.fr/mobile/local/sms_musicaux/ --=_NextPart_Caramail_0194141031986007_ID-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message