From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA23752; Mon, 22 Sep 2003 20:47:52 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA16791 for ; Mon, 22 Sep 2003 20:47:51 +0200 (MET DST) Received: from aomori.annexia.org (annexia.force9.co.uk [212.56.101.183]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h8MIloH11041 for ; Mon, 22 Sep 2003 20:47:50 +0200 (MET DST) Received: from rich by aomori.annexia.org with local (Exim 3.36 #1 (Debian)) id 1A1Viv-0003ki-00 for ; Mon, 22 Sep 2003 19:47:49 +0100 Date: Mon, 22 Sep 2003 19:47:49 +0100 Cc: caml-list@inria.fr Subject: Re: [Caml-list] Segmentation fault at process initialization Message-ID: <20030922184749.GA14417@redhat.com> References: <200309181344.PAA12993@pauillac.inria.fr> <3F6F2CB3.9080108@baretta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F6F2CB3.9080108@baretta.com> User-Agent: Mutt/1.5.4i From: Richard Jones X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 alessandro:01 baretta:01 bug:01 runtime:01 gcc's:01 runtime:01 verbose:01 freshmeat:01 vectors:01 hashes:01 funcs:01 allocator:01 ltd:98 caml:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, Sep 22, 2003 at 07:09:07PM +0200, Alessandro Baretta wrote: > Obviously, there is some bug with the linker: and not so > much the caml linker as the C linker which generates the > custom runtime environment. Apparently, gcc's linker is very > sensitive to the options it is passed (-L and -I maybe?): > depending on the relative order of the options, as generated > by the two different makefile setups, the C linker would > generate a functional or a buggy custom runtime. Can you use make in a more verbose mode to find out the exact difference between the two command lines (the one which links properly and the one which links badly)? Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you. C2LIB is a library of basic Perl/STL-like types for C. Vectors, hashes, trees, string funcs, pool allocator: http://www.annexia.org/freeware/c2lib/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners