[Open Office] SIGFPE - compiled with glibc 2.5, trying to run with glibc 2.4

Petr Mladek pmladek at suse.cz
Thu Mar 22 06:09:34 EDT 2007


On Thursday 22 March 2007 10:16, Robert Vojta wrote:
> Hallo all,
>
> I just compiled ooo-build-2-1 branch on my openSuSE 10.2 desktop. I
> removed most of dependencies (just left system neon, freetype and db).
> When I want to run it on openSuSE 10.2, it works perfectly. But when I
> try to run this build on the openSuSE 10.1 desktop, it fails.

Why do you need this? In general, libraries are often backward compatible and 
only rarely forward compatible. By another words, newer libraries often 
provide compatible symbols with older versions but not to the contrary. I 
would suggest to build the application on the oldest system if you want to 
run it on many systems...

I am also a bit scared by the system neon, freetype and db. I would rather 
leave only the system glibc.

You should also use --without-system-stdlibs to make sure that the 
libstdc++/libgcc_s are add to the RPM. They are often incompatible between 
various gcc versions...

Anyway, Pavel Janik has more experiences with universal builds. :-)

> /opt/openoffice.org2.1/program/soffice: line 240:  5316 Floating point
> exception (SIGFPE)
> "${sd_prog}"/pagein -L"${sd_prog}" ${sd_pagein_args}
> /opt/openoffice.org2.1/program/soffice: line 254:  5317 Floating point
> exception (SIGFPE)
> "$sd_prog/$sd_binary" "$@"

To be honest, I do not remember such error message.

> Any idea where the problem is? Different glibc versions? Anyone seen
> this error before?

Hmm, openSUSE 10.1 and 10.2 are not so different. Theoretically, it might  
work. You might just need even less system stuff... strace and backtrace 
might help to locate it...


-- 
Best Regards,

Petr Mladek
software developer
---------------------------------------------------------------------  
SUSE LINUX, s. r. o.                        e-mail: pmladek at suse.cz
Lihovarská 1060/12                          tel: +420 284 028 952
190 00 Prague 9                             fax: +420 284 028 951
Czech Republic                              http://www.suse.cz/


More information about the Openoffice mailing list