From: Bram Stolk (bram++at++sara.nl)
Date: 08/23/2000 02:39:58
Tom Flynn wrote:
> 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
Tom, thanks for the info.
the symbol is indeed in libgcc.a
The problem here, is that libgcc is static, not dynamic.
And because I am building a python-module, (a .so), and NOT a regular
program, the symbol will not be included in my module.so
I get the error if I run python, and then load the module.
I think the reason is that python itself is probably not linked against
libgcc.
Currently, the only way I can make it all work for me in Linux, is to
build my own Python interpreter, and link that one against performer.
This is not an ideal situation: using an off-the-shelf python would be
better.
Note that I've had similar problems on an O2. The only successful
platform has been Onyx IR2. On this platform I could link the module
dynamically against libpf, libpfutil, libpfdu, libimage, libvl, etc.
And then use a stock version of Python.
> >
> > 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."
-- ------------------------------------------------------------------------------ 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" ------------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 02:40:06 PDT