From: Joel Reymont <joelr1@gmail.com>
To: Nicolas Pouillard <nicolas.pouillard@gmail.com>
Cc: Ashish Agarwal <agarwal1975@gmail.com>,
O'Caml Mailing List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] building 64bit ocaml from cvs on mac osx leopard
Date: Fri, 6 Mar 2009 09:13:32 +0000 [thread overview]
Message-ID: <0F7D0B41-996B-48E6-9696-E32A2E951F6E@gmail.com> (raw)
In-Reply-To: <1236327376-sup-270@ausone.inria.fr>
On Mar 6, 2009, at 8:17 AM, Nicolas Pouillard wrote:
> I recall that moving from one build procedure to another requires
> a full clean (make clean ; ./build/distclean.sh).
./build/distclean && ./configure ... && ./build/fastworld.sh
SANITIZE: a total of 749 files that should probably not be in your
source
tree has been found. A script shell file "_build/sanitize.sh" is
being
created. Check this script and run it to remove unwanted files or
use other
options (such as defining hygiene exceptions or using the -no-hygiene
option).
IMPORTANT: I cannot work with leftover compiled files.
Once ./_build/sanitize.sh is run, the error is the same as when
running regular make.
./build/fastworld.sh
...
mkdir asmrun
cp -pf /Users/joelr/Work/ocaml/asmrun/libasmrun.a asmrun/libasmrun.a
cp -p asmrun/libasmrun.a stdlib/libasmrun.a
boot/ocamlrun ./ocamlopt -nostdlib -c -nopervasives -I stdlib -o
stdlib/pervasives.cmx stdlib/pervasives.ml
/var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm6081f1.s:
602:junk `@PLT' after expression
/var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm6081f1.s:
633:junk `@PLT' after expression
...
/var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm6081f1.s:
2432:junk `@PLT' after expression
File "stdlib/pervasives.ml", line 1, characters 0-1:
Error: Assembler error, input left in file /var/folders/pc/
pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm6081f1.s
Exit code 2 while executing this command:
boot/ocamlrun ./ocamlopt -nostdlib -c -nopervasives -I stdlib -o
stdlib/pervasives.cmx stdlib/pervasives.ml
And the error?
view /var/folders/pc/pcNEaYn32RW2i++8ZQvErU+++TM/-Tmp-/camlasm6081f1.s
+2432
movq _camlPervasives__1@GOTPCREL(%rip), %rdi
movq _caml_register_named_value@GOTPCREL(%rip), %rax
call _caml_c_call@PLT
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
---
http://tinyco.de
Mac, C++, OCaml
next prev parent reply other threads:[~2009-03-06 9:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 15:00 Joel Reymont
[not found] ` <006201c99da4$8c51d3a0$a4f57ae0$@com>
2009-03-05 15:39 ` [Caml-list] " Joel Reymont
2009-03-05 16:08 ` Andres Varon
2009-03-05 16:30 ` Joel Reymont
2009-03-06 10:40 ` Joel Reymont
2009-03-06 14:22 ` nicolas.pouillard
2009-03-06 14:48 ` Joel Reymont
2009-03-05 18:12 ` Ashish Agarwal
2009-03-05 18:27 ` Joel Reymont
2009-03-06 8:17 ` Nicolas Pouillard
2009-03-06 9:13 ` Joel Reymont [this message]
2009-03-06 14:08 ` nicolas.pouillard
2009-03-06 11:08 ` Joel Reymont
2009-03-06 8:18 ` Nicolas Pouillard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0F7D0B41-996B-48E6-9696-E32A2E951F6E@gmail.com \
--to=joelr1@gmail.com \
--cc=agarwal1975@gmail.com \
--cc=caml-list@yquem.inria.fr \
--cc=nicolas.pouillard@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).