Your message dated Mon, 25 Dec 2006 15:24:36 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Preemptive fix for mips/mipsel
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: glibc
Severity: serious
Tags: sid

current mainline libgcj fails to build on mips{,el}:

/home/doko/gcc/gcc-snapshot-20041003/build/gcc/xgcc -shared-libgcc 
-B/home/doko/gcc/gcc-snapshot-20041003/build/gcc/ -nostdinc++ 
-L/home/doko/gcc/gcc-snapshot-20041003/build/mipsel-linux-gnu/libstdc++-v3/src 
-L/home/doko/gcc/gcc-snapshot-20041003/build/mipsel-linux-gnu/libstdc++-v3/src/.libs
 -B/usr/lib/gcc-snapshot/mipsel-linux-gnu/bin/ 
-B/usr/lib/gcc-snapshot/mipsel-linux-gnu/lib/ -isystem 
/usr/lib/gcc-snapshot/mipsel-linux-gnu/include -isystem 
/usr/lib/gcc-snapshot/mipsel-linux-gnu/sys-include -shared -nostdlib 
/usr/lib/crti.o /home/doko/gcc/gcc-snapshot-20041003/build/gcc/crtbeginS.o 
.libs/libgcj.la-2.o -Wl,--whole-archive ../libffi/.libs/libffi_convenience.a 
../boehm-gc/.libs/libgcjgc_convenience.a ./libltdl/.libs/libltdlc.a 
-Wl,--no-whole-archive  
-L/home/doko/gcc/gcc-snapshot-20041003/build/mipsel-linux-gnu/libstdc++-v3/src 
-L/home/doko/gcc/gcc-snapshot-20041003/build/mipsel-linux-gnu/libstdc++-v3/src/.libs
 -L/home/doko/gcc/gcc-snapshot-20041003/build/mipsel-linux-gnu/libjava 
../libffi/.libs/libffi_convenience.a ../boehm-gc/.libs/libgcjgc_convenience.a 
-lpthread ./libltdl/.libs/libltdlc.a -ldl -lz 
-L/home/doko/gcc/gcc-snapshot-20041003/build/gcc -lgcc_s -lc -lgcc_s    
/home/doko/gcc/gcc-snapshot-20041003/build/gcc/crtendS.o /usr/lib/crtn.o  
-Wl,-soname -Wl,libgcj.so.6 -o .libs/libgcj.so.6.0.0
/usr/lib/libc_nonshared.a(atexit.oS)(.text+0x38): In function `atexit':
: relocation truncated to fit: R_MIPS_CALL16 __cxa_atexit@@GLIBC_2.2
collect2: ld returned 1 exit status
make[2]: *** [libgcj.la] Error 1

can be fixed by compiling glibc's atexit with -mxgot (at least that's
the way mozilla succeeded to build).

--- End Message ---
--- Begin Message ---
Version: 2:1.8+1.0.6-1

In iceape ./patches/68_mips_performance.dpatch seems to do the right thing:

----------------------
#! /bin/sh /usr/share/dpatch/dpatch-run
## 68_mips_performance.dpatch by Mike Hommey <[EMAIL PROTECTED]>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Patch from Thiemo Seufer to increase stability and performance on mips.

@DPATCH@

=== config/rules.mk
==================================================================
--- xulrunner/config/rules.mk   (revision 22)
+++ xulrunner/config/rules.mk   (local)
@@ -456,15 +456,6 @@ endif
 endif
 endif
 
-ifeq ($(OS_ARCH),Linux)
-ifneq (,$(filter mips mipsel,$(OS_TEST)))
-ifeq ($(MODULE),layout)
-OS_CFLAGS += -Wa,-xgot
-OS_CXXFLAGS += -Wa,-xgot
-endif
-endif
-endif
-
 #
 # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag
 # which uses internal symbols first
=== configure.in
==================================================================
--- xulrunner/configure.in      (revision 22)
+++ xulrunner/configure.in      (local)
@@ -1481,8 +1481,6 @@
         MOZ_ENABLE_OLD_ABI_COMPAT_WRAPPERS=1
     ;;
     mips*)
-        CFLAGS="$CFLAGS -Wa,-xgot"
-        CXXFLAGS="$CXXFLAGS -Wa,-xgot"
     ;;
     esac
     ;;
----------------------
cu andreas
-- 
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken.                                (c) Jasper Ffforde

--- End Message ---

Reply via email to