caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Ocaml 4.0 build error on Darwin i386
@ 2013-02-07 11:51 Eray Ozkural
  2013-02-07 14:57 ` [Caml-list] " Eray Ozkural
  0 siblings, 1 reply; 3+ messages in thread
From: Eray Ozkural @ 2013-02-07 11:51 UTC (permalink / raw)
  To: Caml List

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Caml-list] Re: Ocaml 4.0 build error on Darwin i386
  2013-02-07 11:51 [Caml-list] Ocaml 4.0 build error on Darwin i386 Eray Ozkural
@ 2013-02-07 14:57 ` Eray Ozkural
  2013-02-07 15:18   ` AW: " Gerd Stolpmann
  0 siblings, 1 reply; 3+ messages in thread
From: Eray Ozkural @ 2013-02-07 14:57 UTC (permalink / raw)
  To: Caml List

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

More information on my problem. GODI fails with the same errors using 3.12.
Fink package for 3.12 compiles successfully. What could be the culprit
here?

On Thu, Feb 7, 2013 at 1:51 PM, Eray Ozkural <examachine@gmail.com> wrote:

> 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
>
>


-- 
Eray Ozkural

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* AW: [Caml-list] Re: Ocaml 4.0 build error on Darwin i386
  2013-02-07 14:57 ` [Caml-list] " Eray Ozkural
@ 2013-02-07 15:18   ` Gerd Stolpmann
  0 siblings, 0 replies; 3+ messages in thread
From: Gerd Stolpmann @ 2013-02-07 15:18 UTC (permalink / raw)
  To: Eray Ozkural; +Cc: Caml List

That's in the stack overflow detection code. If it does not work, you  
can disable it (by undef'ing HAS_STACK_OVERFLOW_DETECTION in s.h after  
running "configure"). Maybe Fink is doing this.

Gerd

Am 07.02.2013 15:57:32 schrieb(en) Eray Ozkural:
> More information on my problem. GODI fails with the same errors using  
> 3.12.
> Fink package for 3.12 compiles successfully. What could be the culprit
> here?
> 
> On Thu, Feb 7, 2013 at 1:51 PM, Eray Ozkural <examachine@gmail.com>  
> wrote:
> 
> > 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
> >
> >
> 
> 
> --
> Eray Ozkural
> 
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs



-- 
------------------------------------------------------------
Gerd Stolpmann, Darmstadt, Germany    gerd@gerd-stolpmann.de
Creator of GODI and camlcity.org.
Contact details:        http://www.camlcity.org/contact.html
Company homepage:       http://www.gerd-stolpmann.de
------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-07 15:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-07 11:51 [Caml-list] Ocaml 4.0 build error on Darwin i386 Eray Ozkural
2013-02-07 14:57 ` [Caml-list] " Eray Ozkural
2013-02-07 15:18   ` AW: " Gerd Stolpmann

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).