On Wed, Aug 01, 2007 at 09:03:51AM +0200, Petr Salinger <[EMAIL PROTECTED]> 
wrote:
Some GNU/kFreeBSD users have runtime problems, though, and they/we will
contact
you once we have some information about that.

I would expect that current 38_kbsd.dpatch from xulrunner have to applied
together with fixup from #433126.

This will have no influence on iceweasel. I guess the main problem is
gnu/kfreebsd port is using the non asm xpcom stubs, which are known to
not work.

Please check what is built in xpcom/reflect/xptcall/src/md/unix/.

The fixup for xpcom/reflect/xptcall/src/md/unix/ is in current (1.8.1.5-1) 38_kbsd.dpatch from xulrunner, but it is not applied in iceweasel at all.
IMHO the rigth way would be to apply 38_kbsd.dpatch from xulrunner,
ideally together with fixup from #433126 and test the result.

Part of 38_kbsd.dpatch follows:

diff -urN mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 
mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
--- mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
+++ mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in
@@ -70,7 +70,7 @@
 # New code for Linux, et. al., with gcc
 # Migrate other platforms here after testing
 #
-ifneq (,$(filter Linux,$(OS_ARCH)))
+ifneq (,$(filter Linux GNU_%,$(OS_ARCH)))
 # Linux/x86-64
 ifeq (x86_64,$(OS_TEST))
CPPSRCS := xptcinvoke_x86_64_linux.cpp xptcstubs_x86_64_linux.cpp
diff -urN 
mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h 
mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h
--- mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h +++ mozilla/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h @@ -67,7 +67,7 @@
 *
 */

-#if defined(LINUX)
+#if defined(LINUX) || (defined(__GLIBC__) && defined(__FreeBSD_kernel__))

 #if (__GNUC__ == 2) && (__GNUC_MINOR__ <= 7)
 /* Old gcc 2.7.x.x.  What does gcc 2.8.x do?? */



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to