Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] native compilation on NetBSD/sparc
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] native compilation on NetBSD/sparc
> Appears to be broken:
> clarity% ocamlopt unix.cmxa str.cmxa -o index-mail
> /tmp/camlstartupd76812.o: In function `L149':
> /tmp/camlstartupd76812.o(.text+0x10): undefined reference to `_caml_globals_inited'
> The same program compiles fine on NetBSD/i386. ocamlopt is also unable
> to build ocamlopt.opt.

Yes, the initial port of ocamlopt to NetBSD/Sparc was done at a time
where the latter used a.out asm conventions.  Since then, NetBSD/Sparc
switched to ELF conventions.  A user provided me with a patch, which
is applied in OCaml 3.07 beta1 and will be in 3.07 as well.  So, if
you wish to give 3.07 beta1 a test...

- Xavier Leroy

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: