caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Eray Ozkural <examachine@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: [Caml-list] Ocaml 4.0 build error on Darwin i386
Date: Thu, 7 Feb 2013 13:51:34 +0200	[thread overview]
Message-ID: <CA+rXZpYZFY-rD8dLp-=tigFUwja9tdbrifr0xO4mrKbF=mrMew@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1096 bytes --]

I receive the same error with both GODI and OPAM. I remember this error
from somewhere but I couldn't figure out how to resolve it.

It's Darwin 11.2.0, 64-bit kernel and extensions are turned off on this
system. I remember that I could compile this code on an x64 kernel.

....
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_amd64
-DSYS_macosx  -O -D_FILE_OFFSET_BITS=64 -D_REENTRANT -I/sw/include  -c -o
signals_asm.o signals_asm.c
signals_asm.c: In function ‘segv_handler’:
signals_asm.c:206: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:206: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:206: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:206: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:206: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:211: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’
signals_asm.c:212: error: ‘struct __darwin_mcontext64’ has no member named
‘ss’


-- 
Eray Ozkural

[-- Attachment #2: Type: text/html, Size: 1286 bytes --]

             reply	other threads:[~2013-02-07 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-07 11:51 Eray Ozkural [this message]
2013-02-07 14:57 ` [Caml-list] " Eray Ozkural
2013-02-07 15:18   ` AW: " Gerd Stolpmann

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='CA+rXZpYZFY-rD8dLp-=tigFUwja9tdbrifr0xO4mrKbF=mrMew@mail.gmail.com' \
    --to=examachine@gmail.com \
    --cc=caml-list@inria.fr \
    /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).