Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2008 09:09:08 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-alpha@freebsd.org
Cc:        gnome@freebsd.org, Anton Shterenlikht <mexas@bristol.ac.uk>
Subject:   Re: firefox3 build fails on alpha
Message-ID:  <200808040909.09020.jhb@freebsd.org>
In-Reply-To: <20080801085527.GA84573@mech-cluster238.men.bris.ac.uk>
References:  <20080708120738.GA74833@mech-cluster238.men.bris.ac.uk> <op.ue6hcrim9aq2h7@mezz.mezzweb.com> <20080801085527.GA84573@mech-cluster238.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 01 August 2008 04:55:27 am 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
> >
> > <mexas@bristol.ac.uk> 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
> > >> >
> > >> > <mexas@bristol.ac.uk> 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:
>
> ######################################################################
> # Alpha
> ######################################################################
> #
>
> [skip]
>
> #
> # FreeBSD/Alpha
> #
> ifeq ($(OS_ARCH)$(OS_TEST),FreeBSDalpha)
> CPPSRCS         := xptcinvoke_freebsd_alpha.cpp xptcstubs_freebsd_alpha.cpp
> endif
>
> which are missing:

I would compare the FreeBSD and Linux files in the www/firefox port and see 
what differences there are and try to apply this differences to the Linux 
files in www/firefox3 to generate FreeBSD files for www/firefox3.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808040909.09020.jhb>