On Tue, Mar 25, 2008 at 10:32:51PM +0200, Grigorios Bouzakis wrote: > On Wed, Mar 26, 2008 at 03:19:25AM +0700, Emmanuel Benisty wrote: > > On Tue, Mar 25, 2008 at 03:58:06PM -0400, Eric Belanger wrote: > > > On Tue, 25 Mar 2008, Grigorios Bouzakis wrote: > > > > > >> On Wed, Mar 26, 2008 at 01:57:49AM +0700, Emmanuel Benisty wrote: > > >>> On Tue, Mar 25, 2008 at 08:39:55PM +0200, Grigorios Bouzakis wrote: > > >>>> Hi, i have been trying to build firefox3b4 or firefox 2.0.0.12 for the > > >>>> past day without success. I guess it has something to do with the latest > > >>>> gcc upgrade to 4.3. > > >>>> Has anyone managed to build it, from AUR or not, within the last couple > > >>>> of days? > > >>>> > > >>>> ps. i am using the testing repo > > >>> > > >>> builds fine here. using [testing] on i686 and FF cvs > > >>> > > >> > > >> http://rafb.net/p/tNKcg183.html > > >> > > >> line 44 seems to be the reason it fails. firefox 2.0.0.12 failed at some > > >> other point but dont have it handy at the moment > > >> > > >> Greg > > >> > > > > > > It needs to be patched to build with gcc 4.3. > > > > > > Add: > > > #include <cstring> > > > > > > to crashreporter_linux.cpp > > > > > > see: http://archlinux.org/pipermail/arch-dev-public/2008-March/005175.html > > > for explanation > > > > > > > FTR, I'm using > > ac_add_options --disable-crashreporter > > in mozconfig so I guess that's why I hadnt build errors. > > > > Taking advantage of the opportunity would you mind sharing your > mozconfig ? attached.
# load defaults from src tarball . $topsrcdir/browser/config/mozconfig # add our own options ac_add_options --with-system-nspr ac_add_options --with-system-nss ac_add_options --with-system-jpeg ac_add_options --with-system-zlib ac_add_options --with-system-png ac_add_options --with-system-mng ac_add_options --with-pthreads ac_add_options --disable-tests ac_add_options --disable-debug ac_add_options --disable-installer ac_add_options --enable-optimize="#CFLAGS#" ac_add_options --disable-xinerama ac_add_options --disable-xprint ac_add_options --enable-strip ac_add_options --disable-pango ac_add_options --enable-xft ac_add_options --enable-system-cairo ac_add_options --enable-svg ac_add_options --enable-canvas ac_add_options --prefix=/usr ac_add_options --with-default-mozilla-five-home=/usr/lib/firefox ac_add_options --enable-crypto ac_add_options --enable-single-profile ac_add_options --disable-profilesharing ac_add_options --disable-gnomevfs # eb ac_add_options --enable-default-toolkit=cairo-gtk2 ac_add_options --disable-jsd ac_add_options --disable-crashreporter mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/meh mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'