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 8B5CFBBA7 for ; Wed, 14 Dec 2005 17:45:50 +0100 (CET) Received: from [128.93.11.95] (estephe.inria.fr [128.93.11.95]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jBEGjmpn018794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 14 Dec 2005 17:45:48 +0100 Message-ID: <43A04C3C.3020504@inria.fr> Date: Wed, 14 Dec 2005 17:45:48 +0100 From: Xavier Leroy User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050322) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Erik Bourget Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Compiling a shared library on AMD64 References: <87oe3kodh8.fsf@raptors.corp.yahoo.com.> In-Reply-To: <87oe3kodh8.fsf@raptors.corp.yahoo.com.> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 43A04C3C.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 caml:02 reentrant:02 reentrant:02 compiling:02 seems:03 library:03 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=UPPERCASE_25_50 autolearn=disabled version=3.0.3 > 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