* Andreas Jochens ([EMAIL PROTECTED]) wrote:
> Package: firefox
> Version: 1.5.dfsg+1.5.0.6-5
> Severity: wishlist
> Tags: patch
> 
> Hello,
> 
> when building the latests version of 'firefox' on ppc64/unstable,
> I get the following error:
> 
> xptcinvoke_ppc_linux.cpp:96: error: cast from 'void*' to 'PRUint32' loses 
> precision
> xptcinvoke_ppc_linux.cpp:104: error: cast from 'PRUint32*' to 'PRUint32' 
> loses precision
> xptcinvoke_ppc_linux.cpp:123: error: cast from 'PRUint32*' to 'PRUint32' 
> loses precision
> make[8]: *** [xptcinvoke_ppc_linux.o] Error 1
> make[8]: Leaving directory 
> `/firefox-1.5.dfsg+1.5.0.6/xpcom/reflect/xptcall/src/md/unix'
> 
> The previous version 1.5.dfsg+1.5.0.6-4 built fine on ppc64. Apparently
> the latest change of xpcom/reflect/xptcall/src/md/unix/Makefile.in broke
> the ppc64 build.
> 
> With the attached patch 'firefox' builds again on ppc64.

I've applied your patch and it will be in the next version. I'm
slightly puzzled though that this would actually produce a working
binary. Does it actually run when compiled this way?

> diff -urN 
> ../tmp-orig/firefox-1.5.dfsg+1.5.0.6/xpcom/reflect/xptcall/src/md/unix/Makefile.in
>  ./xpcom/reflect/xptcall/src/md/unix/Makefile.in
> --- 
> ../tmp-orig/firefox-1.5.dfsg+1.5.0.6/xpcom/reflect/xptcall/src/md/unix/Makefile.in
>         2006-09-14 06:03:24.000000000 +0000
> +++ ./xpcom/reflect/xptcall/src/md/unix/Makefile.in   2006-09-14 
> 06:02:49.000000000 +0000
> @@ -273,7 +273,7 @@
>  # Linux/PPC
>  #
>  ifeq ($(OS_ARCH),Linux)
> -ifneq (,$(filter ppc ppc64 powerpc powerpc64,$(OS_TEST)))
> +ifneq (,$(filter ppc powerpc,$(OS_TEST)))
>  CPPSRCS              := xptcinvoke_ppc_linux.cpp xptcstubs_ppc_linux.cpp
>  ASFILES              := xptcinvoke_asm_ppc_linux.s xptcstubs_asm_ppc_linux.s
>  AS           := $(CC) -c -x assembler-with-cpp
> 

-- 
Eric Dorland <[EMAIL PROTECTED]>
ICQ: #61138586, Jabber: [EMAIL PROTECTED]
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

Attachment: signature.asc
Description: Digital signature

Reply via email to