Version française
Home     About     Download     Resources     Contact us    
Browse thread
Compiling a shared library on AMD64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] Compiling a shared library on AMD64
> I'm having trouble building a shared library using components from the ocaml
> standard library on my x86_64 box.  I built ocaml 3.09.0 with:
> BYTECCCOMPOPTS=-fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
> NATIVECCCOMPOPTS=-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
> NATIVECCPROFOPTS=-Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC
> SUPPORTS_SHARED_LIBRARIES=true
> BNG_ARCH=amd64
>
> , but the standard library seems to still have some R_X86_64_32S relocations
> in it.

I think I see what the problem is, and will try to fix it in 3.09.1.
However, it would help if you could file a bug report with repro case
at http://caml.inria.fr/mantis

Regards,

- Xavier Leroy