Package: xulrunner
Version: 1.8.0.8-1
Severity: important
Tags: patch

Hi,

Currently epiphany-browser fails to build as seen here:
http://buildd.debian.org/fetch.cgi?&pkg=epiphany-browser&ver=2.14.3-3&arch=m68k&stamp=1163307325&file=log

The problem is the XPTC_InvokeByIndex() function, gcc can assign input
and output parameters the same register unless told otherwise, in this
case the stack adjustment was overwritten by the return value and thus
later the wrong registers values were restored from stack.
The attached patch fixes this problem and also cleans up the inline
assembly a bit.
While I'm at it, I also corrected the other m68k assembly part, the
change to nsXPTCStubBase::Stub was not entirely correct as it removed a
bit too many registers. OTOH the same can be implemented without any
inline assembly.

With the fixed xulrunner packages I successfully compiled
epiphany-browser and with the few websites I tested it even seems to
work fine.

bye, Roman

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: m68k
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.30
Locale: LANG=de_DE.UTF-8, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xulrunner depends on:
ii  libbz2-1.0                   1.0.3-6     high-quality block-sorting file co
ii  libc6                        2.3.6.ds1-8 GNU C Library: Shared libraries
ii  libglib2.0-0                 2.12.4-2    The GLib library of C routines
ii  libgtk2.0-0                  2.8.20-3    The GTK+ graphical user interface 
ii  libidl0                      0.8.7-0.1   library for parsing CORBA IDL file
ii  libmozjs0d                   1.8.0.8-1   The Mozilla SpiderMonkey JavaScrip
ii  libnspr4-0d                  1.8.0.8-1   NetScape Portable Runtime Library
ii  libreadline5                 5.2-1       GNU readline and history libraries
ii  libstdc++6                   4.1.1-20    The GNU Standard C++ Library v3
ii  libx11-6                     2:1.0.3-4   X11 client-side library
ii  libxt6                       1:1.0.2-2   X11 toolkit intrinsics library
ii  libxul0d                     1.8.0.8-1   Gecko engine library

xulrunner recommends no packages.

-- no debconf information

Attachment: 18_m68k_xpcom.dpatch
Description: application/shellscript

Reply via email to