New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libamsrun.a (des undef sous Solaris) #7801
Comments
Comment author: administrator Date: Fri, 25 Oct 2002 11:18:44 +0200 (MET DST)
Bruno. |
Comment author: administrator Bruno.Verlyck@inria.fr wrote:
effectivement, __ashldi3 est bien dans la libgcc.a Merci de l'info.
-- _________________ gilles.arnaud@cea.fr _________________ Gilles ARNAUD * Commissariat a l'Energie Atomique Saclay |
Comment author: administrator Final linking must be done by GCC (or link with libgcc.a) |
Original bug ID: 1456
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Bonjour,
Je veux exporter vers python via C un ensemble d'utilitaires ecrit
en ocaml (3.06).
Pour cela :
Sous Linux, tout ca marche trés bien.
Sous Sun/Solaris2.7, quand je charge la librairie via python j'ai le
message suivant:
ImportError: ld.so.1: python2.1: fatal: relocation error: file
/home/dm2s0006/letrTool/SunOS5/bin/../lib/python1.5/srncmodule.so:
symbol __ashrdi3: referenced symbol not found
Apres avoir regardé de plus prés, __ashrdi3 est "utilisé" implicitement
par la fonction Int64_val dans le fichier ints.c (byterun).
Dans ocamlrun, elle est bien définie
0003cde8 ? CTOR_END
0003cde4 ? CTOR_LIST
0003cdf0 ? DTOR_END
0003cdec ? DTOR_LIST
0003cdf4 ? EH_FRAME_BEGIN
0003cdf4 ? FRAME_END
00029844 T __ashldi3
0002988c T __ashrdi3
0003e370 B __ctype
U __deregister_frame_info
U __div64
00029998 t __do_global_ctors_aux
00016654 t __do_global_dtors_aux
Dans libamsrun.a (ou libcamlrun.a d'ailleurs), elle n'est pas définie
ints.o:
U .div
U .rem
U .umul
U Double_val
000006e4 T Int64_val
U __ashldi3
U __ashrdi3
U __div64
U __dtoll
U __floatdidf
U __lshrdi3
U __mul64
U __rem64
désespérement une librairie qui pouvait le définir mais je n'ai
pas trouvé)
Merci d'avance.
--
_________________ gilles.arnaud@cea.fr _________________
Gilles ARNAUD * Commissariat a l'Energie Atomique Saclay
DEN/DM2S/SFME/LETR, bat 470 * 91191 GIF SUR YVETTE CEDEX
Fax : +33 1 69 08 85 68 -- Phone : +33 1 69 08 38 86
The text was updated successfully, but these errors were encountered: