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 AAA03449; Fri, 17 Aug 2001 00:28:54 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA03431 for ; Fri, 17 Aug 2001 00:28:53 +0200 (MET DST) Received: from puce.csi.cam.ac.uk (puce.csi.cam.ac.uk [131.111.8.40]) by nez-perce.inria.fr (8.11.1/8.10.0) with ESMTP id f7GMSq501870 for ; Fri, 17 Aug 2001 00:28:52 +0200 (MET DST) Received: from omega.jesus.cam.ac.uk ([131.111.246.95]) by puce.csi.cam.ac.uk with esmtp (Exim 3.22 #1) id 15XVdE-0005AG-00 for caml-list@inria.fr; Thu, 16 Aug 2001 23:28:52 +0100 Received: from da209 by omega.jesus.cam.ac.uk with local (Exim 3.22 #1 (Debian)) id 15XVh8-0005ev-00 for ; Thu, 16 Aug 2001 23:32:54 +0100 Date: Thu, 16 Aug 2001 23:32:53 +0100 To: caml-list@inria.fr Subject: [Caml-list] Build error on DEC Alpha Message-ID: <20010816233253.A21097@prometheus.jesus.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i From: Daniel Andor Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I've been trying to build 3.02 on a Tru64 box. I can't use the native code compiler to link. I'm new to the list, so apologies if this has been reported/fixed already (brief search in archive showed naught). It seems the problem only occurs when trying to link to a library. Platform details: $ cc -V Compaq C V6.3-027 on Compaq Tru64 UNIX V5.1 (Rev. 732) Compiler Driver V6.3-026 (sys) cc Driver $ uname -a OSF1 tcm18.phy.cam.ac.uk V5.1 732 alpha Error details: $ cat trivial.ml print_int 5;; $ ocamlopt trivial.ml -o go; ./go 5$ cat trivial2.ml Printf.printf "%d" 5;; $ ocamlopt trivial2.ml -c $ ocamlopt trivial2.ml -o go ld: /temp/usr/local/lib/ocaml/stdlib.a(array.o): branch to shared library symbol '__divq' will cause unpredictable behavior. /temp/usr/local/lib/ocaml/stdlib.a(array.o): branch relocation out-of-range, bad object file produced, can't branch from 0x120013e34 to 0x3ff800f062c [snip more of the same] Error during linking $ Error details on make opt.opt: ld: typing/printtyp.o: branch to shared library symbol '__divq' will cause unpredictable behavior. typing/printtyp.o: branch relocation out-of-range, bad object file produced, can't branch from 0x1201067b0 to 0x3ff800f062c typing/printtyp.o: branch to shared library symbol '__remq' will cause unpredictable behavior. typing/printtyp.o: branch relocation out-of-range, bad object file produced, can't branch from 0x1201067f8 to 0x3ff801148bc [snip -- lots more of the same] Error during linking *** Exit 2 Stop. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr