caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Build error on DEC Alpha
@ 2001-08-16 22:32 Daniel Andor
  0 siblings, 0 replies; only message in thread
From: Daniel Andor @ 2001-08-16 22:32 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16 22:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16 22:32 [Caml-list] Build error on DEC Alpha Daniel Andor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).