From: Erik Bourget <ebourget@yahoo-inc.com>
To: Stefano Zacchiroli <zack@bononia.it>
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Compiling a shared library on AMD64
Date: Tue, 13 Dec 2005 15:45:52 -0800 [thread overview]
Message-ID: <87wti8wogf.fsf@raptors.corp.yahoo.com.> (raw)
In-Reply-To: <20051213223433.GB16914@aquarium.takhisis.invalid> (Stefano Zacchiroli's message of "Tue, 13 Dec 2005 23:34:33 +0100")
Stefano Zacchiroli <zack@bononia.it> writes:
> On Tue, Dec 13, 2005 at 02:10:11PM -0800, Erik Bourget wrote:
>> 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:
>
> Have a look at this entry in the ocaml BTS:
>
> http://caml.inria.fr/mantis/view.php?id=3866
Is dynamic bytecode loading/interpeting going to be the only way I can do
this?
I think the specific remedy I'm looking for is a way to get rid of this:
$ ocamlopt -ccopt '-fPIC' -fPIC -c pcre.ml
$ objdump -r pcre.o | grep 64_32
0000000000000087 R_X86_64_32S .rodata
0000000000000955 R_X86_64_32S .rodata+0x0000000000000020
0000000000002ac0 R_X86_64_32S .rodata+0x00000000000000e8
0000000000002e93 R_X86_64_32S .rodata+0x0000000000000168
- Erik
next prev parent reply other threads:[~2005-12-13 23:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-13 22:10 Erik Bourget
2005-12-13 22:34 ` [Caml-list] " Stefano Zacchiroli
2005-12-13 23:45 ` Erik Bourget [this message]
2005-12-14 16:45 ` Xavier Leroy
2005-12-14 17:56 ` Erik Bourget
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wti8wogf.fsf@raptors.corp.yahoo.com. \
--to=ebourget@yahoo-inc.com \
--cc=caml-list@yquem.inria.fr \
--cc=zack@bononia.it \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox