From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 19A59BB81; Wed, 14 Dec 2005 19:02:43 +0100 (CET) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jBEI2fZw027656; Wed, 14 Dec 2005 19:02:42 +0100 Received: from localhost.localdomain (raptors.corp.yahoo.com [207.126.231.163]) by mrout1.yahoo.com (8.13.4/8.13.4/y.out) with ESMTP id jBEHw6kq004135; Wed, 14 Dec 2005 09:58:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=serpent; d=yahoo-inc.com; c=nofws; q=dns; h=received:from:to:cc:subject:references: x-eric-conspiracy:date:in-reply-to:message-id:user-agent:mime-version:content-type; b=UIiWJq8o+dROLqlW/esuZ0BWBzTSOUoYAngcOeMAntiI6tlI/0PCu604sHmh5ogF Received: from raptors.corp.yahoo.com..ebourget.net (localhost.localdomain [127.0.0.1]) by localhost.localdomain (Postfix) with ESMTP id 6C26E20F0DD; Wed, 14 Dec 2005 09:56:25 -0800 (PST) From: Erik Bourget To: Xavier Leroy Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling a shared library on AMD64 References: <87oe3kodh8.fsf@raptors.corp.yahoo.com.> <43A04C3C.3020504@inria.fr> X-Eric-Conspiracy: There Is No Conspiracy Date: Wed, 14 Dec 2005 09:56:25 -0800 In-Reply-To: <43A04C3C.3020504@inria.fr> (Xavier Leroy's message of "Wed, 14 Dec 2005 17:45:48 +0100") Message-ID: <8764primuu.fsf@raptors.corp.yahoo.com.> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 43A05E41.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 3.09.0:01 -wall:01 -fpic:01 -wall:01 -fpic:01 bug:01 pointer:01 writes:01 caml:02 caml:02 reentrant:02 reentrant:02 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=FORGED_RCVD_HELO, UPPERCASE_25_50 autolearn=disabled version=3.0.3 Xavier Leroy 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