Package: openoffice.org-core
Version: 1:2.4.1-9
Severity: normal


Hello,there is a port of debian for the openmoko, so i tried to install 
openoffice-writer on it but it fails  to start with an illegal instruction:
debian-gta02:/usr/lib/openoffice/program# ./soffice.bin
Illegal instruction
the illegal instruction in question is STRD that is page 349 of 
http://www.arm.com/miscPDFs/14128.pdf
I was helped by lindi- and here's a capture of our gdb:
debian-gta02:/usr/lib/openoffice/program# gdb ./soffice.bin
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabi"...
(gdb) run
Starting program: /usr/lib/openoffice/program/soffice.bin

[Thread debugging using libthread_db enabled]
warning: Lowest section in /usr/lib/libicudata.so.38 is .hash at 000000b4
[New Thread 0x42c3f030 (LWP 1395)]

Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0x42c3f030 (LWP 1395)]
0x41ad3374 in global constructors keyed to methods1.cxx () from 
/usr/lib/openoffice/program/libsb680lr.so
(gdb)
(gdb) bt
#0  0x41ad3374 in global constructors keyed to methods1.cxx () from 
/usr/lib/openoffice/program/libsb680lr.so
#1  0x4000e948 in ?? () from /lib/ld-linux.so.3
(gdb) x/5i $pc
0x41ad3374 <_GLOBAL__I_methods1.cxx+240>:       strd    r4, [r1, #128]
0x41ad3378 <_GLOBAL__I_methods1.cxx+244>:       str     r3, [r1, #144]
0x41ad337c <_GLOBAL__I_methods1.cxx+248>:       ldr     r3, [r11, #-56]
0x41ad3380 <_GLOBAL__I_methods1.cxx+252>:       str     r3, [r1, #148]
0x41ad3384 <_GLOBAL__I_methods1.cxx+256>:       ldr     r3, [pc, #244]  ; 
0x41ad3480 <_GLOBAL__I_methods1.cxx+508>
(gdb) info registers
r0             0x41b21e00       1102192128
r1             0x41b28460       1102218336
r2             0x41afb845       1102035013
r3             0x7      7
r4             0x0      0
r5             0x3ff00000       1072693248
r6             0xa      10
r7             0xbedb7e2c       3202055724
r8             0x41af8fff       1102024703
r9             0x41af969c       1102026396
r10            0x41afab88       1102031752
r11            0xbedb7dd4       3202055636
r12            0x1      1
sp             0xbedb7d88       0xbedb7d88
lr             0x4000e948       1073801544
pc             0x41ad3374       0x41ad3374 <global constructors keyed to 
methods1.cxx+240>
fps            0x1001000        16781312
cpsr           0x20000010       536870928
(gdb) info thread
* 1 Thread 0x42c3f030 (LWP 1395)  0x41ad3374 in global constructors keyed to 
methods1.cxx () from /usr/lib/openoffice/program/libsb680lr.so
(gdb) x/4i $pc-4
0x41ad3370 <_GLOBAL__I_methods1.cxx+236>:       mov     r3, #7  ; 0x7
0x41ad3374 <_GLOBAL__I_methods1.cxx+240>:       strd    r4, [r1, #128]
0x41ad3378 <_GLOBAL__I_methods1.cxx+244>:       str     r3, [r1, #144]
0x41ad337c <_GLOBAL__I_methods1.cxx+248>:       ldr     r3, [r11, #-56]
(gdb) x/4i $pc-8
0x41ad336c <_GLOBAL__I_methods1.cxx+232>:       mov     r4, #0  ; 0x0
0x41ad3370 <_GLOBAL__I_methods1.cxx+236>:       mov     r3, #7  ; 0x7
0x41ad3374 <_GLOBAL__I_methods1.cxx+240>:       strd    r4, [r1, #128]
0x41ad3378 <_GLOBAL__I_methods1.cxx+244>:       str     r3, [r1, #144]
(gdb) info thread
* 1 Thread 0x42c3f030 (LWP 1395)  0x41ad3374 in global constructors keyed to 
methods1.cxx () from /usr/lib/openoffice/program/libsb680lr.so
(gdb) info threads
* 1 Thread 0x42c3f030 (LWP 1395)  0x41ad3374 in global constructors keyed to 
methods1.cxx () from /usr/lib/openoffice/program/libsb680lr.so
(gdb) x/4i $pc-12
0x41ad3368 <_GLOBAL__I_methods1.cxx+228>:       str     r3, [r1, #124]
0x41ad336c <_GLOBAL__I_methods1.cxx+232>:       mov     r4, #0  ; 0x0
0x41ad3370 <_GLOBAL__I_methods1.cxx+236>:       mov     r3, #7  ; 0x7
0x41ad3374 <_GLOBAL__I_methods1.cxx+240>:       strd    r4, [r1, #128]
(gdb) x/4i $pc-16
0x41ad3364 <_GLOBAL__I_methods1.cxx+224>:       ldr     r5, [pc, #272]  ; 
0x41ad347c <_GLOBAL__I_methods1.cxx+504>
0x41ad3368 <_GLOBAL__I_methods1.cxx+228>:       str     r3, [r1, #124]
0x41ad336c <_GLOBAL__I_methods1.cxx+232>:       mov     r4, #0  ; 0x0
0x41ad3370 <_GLOBAL__I_methods1.cxx+236>:       mov     r3, #7  ; 0x7
(gdb) bt
#0  0x41ad3374 in global constructors keyed to methods1.cxx () from 
/usr/lib/openoffice/program/libsb680lr.so
#1  0x4000e948 in ?? () from /lib/ld-linux.so.3
(gdb) x/4a $pc
0x41ad3374 <_GLOBAL__I_methods1.cxx+240>:       0xe1c148f0      0xe5813090      
0xe51b3038      0xe5813094
(gdb) q
The program is running.  Exit anyway? (y or n) y

at en end i end up in #openoffice.org and i was helped by _rene_ that told me 
that the debian package was built with  -march=amv5te






-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: armel (armv4tl)

Kernel: Linux 2.6.24 (PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages openoffice.org-core depends on:
ii  fontconfig             2.6.0-1           generic font configuration library
ii  libc6                  2.7-14            GNU C Library: Shared libraries
ii  libcairo2              1.6.4-6           The Cairo 2D vector graphics libra
ii  libcurl3               7.18.2-7          Multi-protocol file transfer libra
ii  libdb4.6               4.6.21-11         Berkeley v4.6 Database Libraries [
ii  libexpat1              2.0.1-4           XML parsing C library - runtime li
ii  libfreetype6           2.3.7-2           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.2-1         GCC support library
ii  libglib2.0-0           2.16.6-1          The GLib library of C routines
ii  libgstreamer-plugins-b 0.10.20-1         GStreamer libraries from the "base
ii  libgstreamer0.10-0     0.10.20-1         Core GStreamer libraries and eleme
ii  libgtk2.0-0            2.12.11-3         The GTK+ graphical user interface 
ii  libhunspell-1.2-0      1.2.6-1           spell checker and morphological an
ii  libhyphen0             2.4-3             ALTLinux hyphenation library - sha
ii  libice6                2:1.0.4-1         X11 Inter-Client Exchange library
ii  libicu38               3.8.1-3           International Components for Unico
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libldap-2.4-2          2.4.10-3          OpenLDAP libraries
ii  libneon27              0.28.2-5          An HTTP and WebDAV client library
ii  libnspr4-0d            4.7.1-4           NetScape Portable Runtime Library
ii  libnss3-1d             3.12.0-5          Network Security Service libraries
ii  libpam0g               1.0.1-4           Pluggable Authentication Modules l
ii  libpango1.0-0          1.20.5-2          Layout and rendering of internatio
ii  libsm6                 2:1.0.3-2         X11 Session Management library
ii  libssl0.9.8            0.9.8g-13         SSL shared libraries
ii  libstdc++6             4.3.2-1           The GNU Standard C++ Library v3
ii  libx11-6               2:1.1.5-2         X11 client-side library
ii  libxaw7                2:1.0.4-2         X11 Athena Widget library
ii  libxext6               2:1.0.4-1         X11 miscellaneous extension librar
ii  libxinerama1           2:1.0.3-2         X11 Xinerama extension library
ii  libxml2                2.6.32.dfsg-4     GNOME XML library
ii  libxrender1            1:0.9.4-2         X Rendering Extension client libra
ii  libxslt1.1             1.1.24-2          XSLT processing library - runtime 
ii  libxt6                 1:1.0.5-3         X11 toolkit intrinsics library
ii  libxtst6               2:1.0.3-1         X11 Testing -- Resource extension 
ii  openoffice.org-common  1:2.4.1-11        OpenOffice.org office suite archit
ii  ttf-opensymbol         1:2.4.1-11        The OpenSymbol TrueType font
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

openoffice.org-core recommends no packages.

openoffice.org-core suggests no packages.

Versions of packages openoffice.org-common depends on:
ii  dictionaries-common [openoffi 0.98.12    Common utilities for spelling dict
ii  openoffice.org-style-andromed 1:2.4.1-11 Default symbol style for OpenOffic

Versions of packages openoffice.org-java-common depends on:
ii  bsh                           2.0b4-8    Java scripting environment (BeanSh
ii  libxalan2-java                2.7.1-2    XSL Transformations (XSLT) process
ii  libxerces2-java               2.9.1-2    Validating XML parser for Java wit
ii  openoffice.org-common         1:2.4.1-11 OpenOffice.org office suite archit

Versions of packages openoffice.org-core is related to:
pn  fglrx-driver                  <none>     (no description available)
pn  firefox                       <none>     (no description available)
pn  iceape-browser                <none>     (no description available)
pn  icedove                       <none>     (no description available)
pn  iceweasel                     <none>     (no description available)
pn  imagemagick                   <none>     (no description available)
pn  libsane                       <none>     (no description available)
ii  libxinerama1                  2:1.0.3-2  X11 Xinerama extension library
ii  libxrender1                   1:0.9.4-2  X Rendering Extension client libra
pn  nvidia-glx                    <none>     (no description available)
pn  nvidia-glx-legacy             <none>     (no description available)
pn  openoffice.org-filter-binfilt <none>     (no description available)
pn  pstoedit                      <none>     (no description available)

-- no debconf information



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

Reply via email to