From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id B89947F20B for ; Thu, 7 Feb 2013 15:57:33 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of examachine@gmail.com) identity=pra; client-ip=209.85.212.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="examachine@gmail.com"; x-sender="examachine@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of examachine@gmail.com designates 209.85.212.176 as permitted sender) identity=mailfrom; client-ip=209.85.212.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="examachine@gmail.com"; x-sender="examachine@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wi0-f176.google.com) identity=helo; client-ip=209.85.212.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="examachine@gmail.com"; x-sender="postmaster@mail-wi0-f176.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArMBAGS9E1HRVdSwjWdsb2JhbABFwF4IFg4BAQEBCQkLCRIGI4IfAQEEAUABGx4DAQsGBQQHOyEBAREBBQEcBhOHfgEDCQagPow0gnuEYgoZJw1ZiHcBBQyMCoVGA5RJgViLP4MxFimEJQ X-IPAS-Result: ArMBAGS9E1HRVdSwjWdsb2JhbABFwF4IFg4BAQEBCQkLCRIGI4IfAQEEAUABGx4DAQsGBQQHOyEBAREBBQEcBhOHfgEDCQagPow0gnuEYgoZJw1ZiHcBBQyMCoVGA5RJgViLP4MxFimEJQ X-IronPort-AV: E=Sophos;i="4.84,622,1355094000"; d="scan'208";a="1839528" Received: from mail-wi0-f176.google.com ([209.85.212.176]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 07 Feb 2013 15:57:33 +0100 Received: by mail-wi0-f176.google.com with SMTP id hm14so7003032wib.3 for ; Thu, 07 Feb 2013 06:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=nPZc8opKxSL92G7keskhmoK08oN4BqFw8ExirUdgvbs=; b=cgMbbDU5f+RDfQBx3b4UCYvGNAEta7e0+3lzRTZBML/WDmlBcwe6oLf8SgL10hdAIl wDvyoo8ZsM30Qs3XF9GQ8FTtUJs4ZiLILURU2bBQuQxh9GmDiGeNhsi06Hq+DxJJKteH o1hNSM8X1ns77Cq8JizlAw2rvw+LJFJK3DHmeuMLe5IqqU5opcdZDFeXoeAzJFpcG6rw mZ9b1L+4JMMand3bE9CpVC4Hqa7G76N+tzVoHlKX/4Qovga28zswBSpsoMET5CgLkUeZ +oZL5bgxyi6eyMg098XthOSeS54H6MGTAe9BgtzUixaEploQhiWlI0dRxZq/vISQIpXI lLnw== MIME-Version: 1.0 X-Received: by 10.194.89.167 with SMTP id bp7mr3464319wjb.0.1360249053021; Thu, 07 Feb 2013 06:57:33 -0800 (PST) Received: by 10.194.178.69 with HTTP; Thu, 7 Feb 2013 06:57:32 -0800 (PST) In-Reply-To: References: Date: Thu, 7 Feb 2013 16:57:32 +0200 Message-ID: From: Eray Ozkural To: Caml List Content-Type: multipart/alternative; boundary=047d7bf10a869c84c004d523a9ab Subject: [Caml-list] Re: Ocaml 4.0 build error on Darwin i386 --047d7bf10a869c84c004d523a9ab Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 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=3D64 -D_REENTRANT -I/sw/include -c = -o > signals_asm.o signals_asm.c > signals_asm.c: In function =91segv_handler=92: > signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:211: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > signals_asm.c:212: error: =91struct __darwin_mcontext64=92 has no member = named > =91ss=92 > > > -- > Eray Ozkural > > --=20 Eray Ozkural --047d7bf10a869c84c004d523a9ab Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 her= e?=A0

On Thu, Feb 7, 2013 at 1:51 PM, Er= ay 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 o= ut how to resolve it.=A0

It's Darwin 11.2.0, 64-bit kernel and extensions ar= e turned off on this system. I remember that I could compile this code on a= n x64 kernel.=A0

....
gcc -I../byterun -DCAML_NAME_SPACE -DNAT= IVE_CODE -DTARGET_amd64 -DSYS_macosx =A0-O -D_FILE_OFFSET_BITS=3D64 -D_REEN= TRANT -I/sw/include =A0-c -o signals_asm.o signals_asm.c
signals_= asm.c: In function =91segv_handler=92:
signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no memb= er named =91ss=92
signals_asm.c:206: error: =91struct __darwin_mc= ontext64=92 has no member named =91ss=92
signals_asm.c:206: error= : =91struct __darwin_mcontext64=92 has no member named =91ss=92
signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no memb= er named =91ss=92
signals_asm.c:206: error: =91struct __darwin_mc= ontext64=92 has no member named =91ss=92
signals_asm.c:211: error= : =91struct __darwin_mcontext64=92 has no member named =91ss=92
signals_asm.c:212: error: =91struct __darwin_mcontext64=92 has no memb= er named =91ss=92
=

--
Eray Ozkural




-- Eray Ozkural=A0
--047d7bf10a869c84c004d523a9ab--