On Thu, Nov 01, 2007 at 10:21:44PM +0100, mike wrote:
> hi,
> i use for some time past firefox2.0.0.2 as 32 bit (but cannot remember
> the build process)
> i try install the new firfox2.0.0.8 as 32 bit application, but it fails
> with:
>
> xptcinvoke_x86_64_linux.cpp: In function »nsresult
> XPTC_InvokeByIndex(nsISupports*, PRUint32, PRUint32, nsXPTCVariant*)«:
> xptcinvoke_x86_64_linux.cpp:82: Warnung: »value« könnte in dieser
> Funktion uninitialisiert verwendet werden
> xptcinvoke_x86_64_linux.cpp:153: Fehler: ungültiger Registername für »d0«
In other words, it thinks it is building for x86_64 and tries to
use the 64-bit register names.
>
> i use the following configure-script:
>
> #!/bin/bash
>
> sed -i "s:@MOZ_GTK2_LIBS@:& -L${XORG_PREFIX}/lib -lX11 -lXrender:g"
> config/autoconf.mk.in
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH32
> export CC="gcc ${BUILD32}"
> export CXX="g++ ${BUILD32}"
> export USE_ARCH=32
>
> ./configure --prefix=/opt/firefox-2.0.0.8 --build=$CLFS_TARGET32
> --host=$CLFS_TARGET32 --target=$CLFS_TARGET32 \
My last multilib firefox was 2.0.0.5 (haven't been able to build on
ppc64, x86_64 multilib is waiting until I sort out issues and
additions on my pure64 build). My scripts do things the {,c}blfs way
(put everything in .mozconfig, then use client.mk) with the
following variations from a non-multilib build:
echo "CC=\"gcc ${BUILD32}\"" >>.mozconfig &&
echo "CXX=\"g++ ${BUILD32}\"" >>.mozconfig &&
echo "ac_add_options --host=$CLFS_TARGET32" >>.mozconfig &&
echo "ac_add_options --build=$CLFS_TARGET32" >>.mozconfig &&
echo "mk_add_options CONFIG_GUESS=$CLFS_TARGET32" >>.mozconfig &&
and then
make -f client.mk OS_TEST=x86 build
make -f client.mk OS_TEST=x86 install
OS_TEST is used in security/coreconf/Linux.mk so it probably isn't
what is blowing you out at the moment.
The build systems for all netscape derivatives are a nightmare to
understand, so once a script works for me I tend to keep it.
I imagine it's probably the config.guess which is breaking for you
- I vaguely remember problems with it somewhen. Note that in
.mozconfig these are mk options, not ac, so if you intend to use
configure you probably need to look through it (or them - there may
be other configure scripts in subdirectories, I don't have a firefox
tree handy) to see how config.guess gets called.
ĸen
--
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support