Re: __ucmpdi2

New Message Reply Date view Thread view Subject view Author view

From: Tom Flynn (flynnt++at++cthulhu.engr.sgi.com)
Date: 08/23/2000 01:57:28


> I am wrestling with linux performer to make it link dynamically against
> a Python module. Currently this fails on a unresolved symbol at runtime
> of '__ucmpdi2'.

gotta love g++. In Performer 2.4, we encountered a similar error so we
statically linked against:
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/libgcc.a
which contains that symbol. We got this when we added support for the
Pentium's time stamp counter which is 64bits. The Cycle-Counter we use
under IRIX is 32bits. When we changed all the appropriate data-types to
use the full 64bits, g++ decided to use a different compare function
(__ucmpdi2) (grrr). Link against that libgcc.a and that should fix your
problem.

hope that helps,
tom

>
> Searching for this symbol in ALL .so files in /usr/lib tree, gives
> me only matches in libpr, libpf, libpfutil. Here they are unresolved
> references.
>
> Nowhere in /usr/lib can I find a definition for __ucmpdi2.
>
> Setting the _RLD_FLAGS=-ignore_unresolved does not help.
>
> Which lib should provide an implementation of __ucmpdi2?
>
> Thanks,
>
> Bram Stolk
>
> --
> ------------------------------------------------------------------------------
> Bram Stolk, VR Specialist.
> SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP AMSTERDAM
> email: bram++at++sara.nl Phone +31-20-5923059 Fax +31-20-6683167
>
> "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
> "Thats nothing, if you play it forward, it installs NT-4.0"
> ------------------------------------------------------------------------------
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>

--
"Mongooses are famous for their snake-fighting ability, and are
 almost always victorious because of their speed, agility, and timing
 and also because of their thick coat."


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 01:57:34 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.