[lokisetup] RFC re problem with __cmpdi2

Ludwig Nussel ludwig.nussel at gmx.de
Tue Feb 7 17:02:47 EST 2006

Jeremy White wrote:
> Specifically, on our production build box, which is an intentionally
> old (i.e. woody + a little bit) system, we use gcc 2.95 and glibc 2.2.5.
> Now, given that install_size and installed_bytes in install.h are
> both declared as 'long long', then when you compile gtk_ui.c and
> dialog_ui.c, then gcc uses a function '__cmpdi2' to perform
> the (gdouble) cast from long long down.
> Sadly, __cmpdi2 is not generally available on 'modern' systems;
> many newer glibc's don't have it.  Hence, the setup.gtk or setup
> built with that flaw doesn't run on a range of target systems.

FWIW it's not a glibc problem. It's a symbol from libgcc.


(o_  Ludwig.Nussel at gmx.de
V_/_ PGP Key ID: FF8135CE

More information about the Lokisetup mailing list