Package: xulrunner-dev
Version: 1.9~rc2-2
Severity: important

The xulrunner 1.9 headers now use wchar_t but still require it to be
defined as a 16-bit type.  The pkg-config files specify -fshort-wchar
to ensure that this is the case.  Normally wchar_t is a 32-bit type,
and libstdc++ is built with that definition.

Currently videolink seems to be getting away with using 16-bit wchar_t
in the translation units that use Mozilla stuff and 32-bit wchar_t in
the others... except on armel, where this happens:

g++ .objs/auto_proc.o .objs/browser_widget.o .objs/child_iterator.o 
.objs/event_state_manager.o .objs/generate_dvd.o .objs/link_iterator.o 
.objs/null_prompt_service.o .objs/pixbufs.o .objs/style_sheets.o 
.objs/temp_file.o .objs/video.o .objs/vob_list.o .objs/videolink.o 
.objs/warp_pointer.o .objs/x_frame_buffer.o .objs/xml_utils.o 
.objs/xpcom_support.o .objs/jquant2.o -lpthread 
-L/usr/lib/xulrunner-devel-1.9/lib -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 
-lgtk-x11-2.0 -lpangomm-1.4 -lcairomm-1.0 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 
-latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo 
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lxpcomglue    -lexpat -g -o 
videolink
/usr/bin/ld: ERROR: .objs/browser_widget.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/browser_widget.o
/usr/bin/ld: ERROR: .objs/child_iterator.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/child_iterator.o
/usr/bin/ld: ERROR: .objs/event_state_manager.o: Conflicting definitions of 
wchar_t
/usr/bin/ld: failed to merge target specific data of file 
.objs/event_state_manager.o
/usr/bin/ld: ERROR: .objs/link_iterator.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/link_iterator.o
/usr/bin/ld: ERROR: .objs/null_prompt_service.o: Conflicting definitions of 
wchar_t
/usr/bin/ld: failed to merge target specific data of file 
.objs/null_prompt_service.o
/usr/bin/ld: ERROR: .objs/style_sheets.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/style_sheets.o
/usr/bin/ld: ERROR: .objs/videolink.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/videolink.o
/usr/bin/ld: ERROR: .objs/xpcom_support.o: Conflicting definitions of wchar_t
/usr/bin/ld: failed to merge target specific data of file .objs/xpcom_support.o

Previously the header files defined PRunichar without referring to
wchar_t, which caused no such problems.  The change to wchar_t should
be reverted, because Mozilla has no business redefining the ABI.

Ben.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xulrunner-dev depends on:
ii  libc6                       2.7-12       GNU C Library: Shared libraries
ii  libglib2.0-0                2.16.3-2     The GLib library of C routines
ii  libidl0                     0.8.10-0.1   library for parsing CORBA IDL file
ii  libmozjs-dev                1.9~rc2-2    Development files for the Mozilla 
ii  libnspr4-dev                4.7.1-3      Development files for the NetScape
ii  libnss3-dev                 3.12.0~rc3-3 Development files for the Network 
ii  xulrunner-1.9               1.9~rc2-2    XUL + XPCOM application runner

xulrunner-dev recommends no packages.

-- no debconf information



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

Reply via email to