From owner-freebsd-alpha@FreeBSD.ORG Fri Aug 1 11:51:26 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06EB51065675; Fri, 1 Aug 2008 11:51:26 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id AD2F08FC1F; Fri, 1 Aug 2008 11:51:25 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KOtAA-0005c3-NQ; Fri, 01 Aug 2008 12:51:25 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KOtA9-0006sa-Ln; Fri, 01 Aug 2008 12:51:14 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m71BpCnK025255; Fri, 1 Aug 2008 12:51:12 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m71BpAdB025254; Fri, 1 Aug 2008 12:51:10 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 1 Aug 2008 12:51:09 +0100 From: Anton Shterenlikht To: Anton Shterenlikht Message-ID: <20080801115109.GA25235@mech-cluster238.men.bris.ac.uk> References: <20080708120738.GA74833@mech-cluster238.men.bris.ac.uk> <20080708122352.GA76546@mech-cluster238.men.bris.ac.uk> <20080712225929.GA22401@freebie.xs4all.nl> <20080731222442.GA35346@mech-cluster238.men.bris.ac.uk> <20080801085527.GA84573@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080801085527.GA84573@mech-cluster238.men.bris.ac.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.4 X-Spam-Level: - Cc: gnome@freebsd.org, Jeremy Messenger , freebsd-alpha@freebsd.org Subject: Re: firefox3 build fails on alpha X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2008 11:51:26 -0000 On Fri, Aug 01, 2008 at 09:55:27AM +0100, Anton Shterenlikht wrote: > On Thu, Jul 31, 2008 at 05:42:17PM -0500, Jeremy Messenger wrote: > > On Thu, 31 Jul 2008 17:24:43 -0500, Anton Shterenlikht > > wrote: > > > > > On Sun, Jul 13, 2008 at 12:59:29AM +0200, Wilko Bulte wrote: > > >> Quoting Jeremy Messenger, who wrote on Sat, Jul 12, 2008 at 05:44:11PM > > >> -0500 .. > > >> > On Tue, 08 Jul 2008 07:23:52 -0500, Anton Shterenlikht > > >> > wrote: > > >> > > > > >> > > A followup. It seems xptcinvoke_freebsd_alpha.cpp is missing. It > > >> > > is used in Makefile: > > >> > > > >> > I think most of us don't have any alpha machine. You might have to > > >> create > > >> > patch for us. I think, the alpha support has been dropped so it's > > >> > pointless for us to work on alpha support. > > >> > > >> The latest release of FreeBSD supporting the Alpha platform port is > > >> RELENG_6. Anything newer no longer supports Alpha. > > > > > > I'm happy with RELENG_6 on alpha. > > > I'm happy to test firefox3 on alpha, but need to learn about pathes. > > > > > > In this particular case it seems that (at least) 2 files > > > are missing from the distribution: > > > > > > xptcinvoke_freebsd_alpha.cpp > > > xptcstubs_freebsd_alpha.cpp > > > > > > (curiously the corresponding *alpha.cpp files are present for osf1, > > > linux, > > > openvms and openbsd). > > > > > > I think that whoever created the tar file simply forgot to add the > > > freebsd > > > files. > > > > > > I did try to contact mozilla developers directly, but no reply so far. > > > I understand that mozilla developers put out the tar file. Perhaps the > > > port maintainers could alert the mozilla team about the missing files, > > > or maybe even get these 2 files. I'd be very greatful. > > > > Have you tried 3.0.1 yet? The Makefile.in has changed by Mozilla team: > > > > --------------------------------------------------- > > ###################################################################### > > # > > # Tru64/Alpha > > # > > ifeq ($(OS_ARCH)$(OS_TEST),OSF1alpha) > > CPPSRCS := xptcinvoke_osf1_alpha.cpp xptcstubs_osf1_alpha.cpp > > ASFILES := xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s > > endif > > # > > # Linux/Alpha > > # > > ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST))) > > CPPSRCS := xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp > > endif > > --------------------------------------------------- > > > > But I have no idea if it works. > > I just tried again, and get the same error: > > gmake[8]: Entering directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect > /xptcall/src/md/unix' > gmake[8]: *** No rule to make target `xptcinvoke_freebsd_alpha.o', needed by `li > bxptcmd.a'. Stop. > gmake[8]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect/ > xptcall/src/md/unix' > gmake[7]: *** [libs] Error 2 > > Also my Makefile.in under > /usr/ports/www/firefox3/work/mozilla/xpcom/reflect/xptcall/src/md/unix > > still requires these 2 files. I tried to copy these 2 files from firefox to firefox3. One file compiles, the other does not: gmake[8]: Entering directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect /xptcall/src/md/unix' xptcinvoke_freebsd_alpha.cpp c++ -o xptcinvoke_freebsd_alpha.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6 \" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I./../.. -I./../../../../x ptinfo/src -I. -I. -I../../../../../../dist/include/string -I../../../../../../ dist/include -I../../../../../../dist/include/xpcom -I/usr/local/include/nspr -I/usr/include -I/usr/local/include -fPIC -I/usr/local/include -I/usr/loc al/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverlo aded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align - Wno-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-ali asing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -I/usr/l ocal/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h xptcin voke_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp c++ -o xptcstubs_freebsd_alpha.o -c -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\ " -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I./../.. -I./../../../../xp tinfo/src -I. -I. -I../../../../../../dist/include/string -I../../../../../../d ist/include -I../../../../../../dist/include/xpcom -I/usr/local/include/nspr -I/usr/include -I/usr/local/include -fPIC -I/usr/local/include -I/usr/loca l/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloa ded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -W no-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-alia sing -fshort-wchar -pipe -DNDEBUG -DTRIMMED -O -I/usr/local/include -I/usr/lo cal/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h xptcstu bs_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp: In function `nsresult PrepareAndDispatch(nsXPTCStub Base*, uint32, PRUint64*)': xptcstubs_freebsd_alpha.cpp:59: error: `nsIInterfaceInfo' was not declared in th is scope xptcstubs_freebsd_alpha.cpp:59: error: `iface_info' was not declared in this sco pe xptcstubs_freebsd_alpha.cpp:67: error: 'class nsXPTCStubBase' has no member name d 'GetInterfaceInfo' xptcstubs_freebsd_alpha.cpp:131: error: 'class nsXPTCStubBase' has no member nam ed 'CallMethod' xptcstubs_freebsd_alpha.cpp:59: warning: unused variable 'nsIInterfaceInfo' gmake[8]: *** [xptcstubs_freebsd_alpha.o] Error 1 gmake[8]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect/ xptcall/src/md/unix' gmake[7]: *** [libs] Error 2 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423