Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: axp-list@redhat.com
Subject: Re: libcmpl vs libffm !!!!
Date: Sun, 7 Mar 1999 00:04:56 -0800	[thread overview]
Message-ID: <19990307000456.A6853@twiddle.net> (raw)
In-Reply-To: <199903070700.AAA23959@ellpspace.math.ualberta.ca>; from Michal Jaegermann on Sun, Mar 07, 1999 at 12:00:42AM -0700

On Sun, Mar 07, 1999 at 12:00:42AM -0700, Michal Jaegermann wrote:
> There is a small fly in this ointment.  A conversion is indeed performed
> but when I tried to link something with such shared library I got:
> 
> /usr/local/lib/libcpml.so: undefined reference to `_OtsMulX'
[...]

Yea, I noticed those later.  They are apparently 128-bit fp implentation
functions.  I don't know what their interface is.

> /usr/local/lib/libcpml.so: undefined reference to `_OtsDivide32Unsigned'
> /usr/local/lib/libcpml.so: undefined reference to `_OtsDivide64Unsigned'
> /usr/local/lib/libcpml.so: undefined reference to `_OtsDivide64'
> /usr/local/lib/libcpml.so: undefined reference to `_OtsDivide32'

These I can't imagine what they do.  Presumably they are support
functions for the others but...

> (Later - indeed "the famous".  I missed a presence of _fpdata
> which you cannot delete that way and which is still 'U' in a working
> program linked with libcpml.a.  Can somebody explain what is really
> going on here? It does not seem to be resolved by other libraries
> but maybe I miss something.)

It's undefined, but no relocations reference it.  I can assume only
that it does something magic with the DU libc. 

It should be safe to assemble

.global _fpdata
_fpdata = 0

and link it in to the shared object simply to resolve the reference.


r~


  reply	other threads:[~1999-03-07  8:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-03-03 18:25 libcmpl vs libffm !!!! designer seven
1999-03-03 18:23 ` Francois LAPERRUQUE
1999-03-04  2:23   ` Michael Tibor
1999-03-04  2:28     ` Daniel J. Frasnelli
1999-03-04  3:01       ` Chris Albertson
1999-03-04  3:01         ` Greg Lindahl
1999-03-04  3:15           ` Michael Tibor
1999-03-04  3:20             ` Greg Lindahl
1999-03-04  3:32               ` norvierk
1999-03-04 13:08           ` Jochen Kuepper
1999-03-04 13:13             ` Francois LAPERRUQUE
1999-03-06  9:23             ` Richard Henderson
1999-03-07  7:00               ` Michal Jaegermann
1999-03-07  8:04                 ` Richard Henderson [this message]
1999-03-07 17:45                   ` shared libcpml (was: Re: libcmpl vs libffm !!!!) Michal Jaegermann
1999-03-03 23:43 ` libcmpl vs libffm !!!! Steven N. Hirsch
  -- strict thread matches above, loose matches on Subject: below --
1999-03-03 18:07 Francois LAPERRUQUE
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox