Browse thread
Compiling a shared library on AMD64
-
Erik Bourget
- Stefano Zacchiroli
-
Xavier Leroy
- Erik Bourget
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Erik Bourget <ebourget@y...> |
| Subject: | Re: [Caml-list] Compiling a shared library on AMD64 |
Xavier Leroy <Xavier.Leroy@inria.fr> writes: >> 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 Sure. http://caml.inria.fr/mantis/view.php?id=3924 Thanks for looking into it! Is the problem simple-ish? I don't mind hacking on it myself if I have a pointer to where to look. - Erik