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 mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id DFC637EEB4 for ; Thu, 7 Feb 2013 12:51:44 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of examachine@gmail.com) identity=pra; client-ip=74.125.82.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="examachine@gmail.com"; x-sender="examachine@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail3-smtp-sop.national.inria.fr: domain of examachine@gmail.com designates 74.125.82.54 as permitted sender) identity=mailfrom; client-ip=74.125.82.54; receiver=mail3-smtp-sop.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 (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-wg0-f54.google.com) identity=helo; client-ip=74.125.82.54; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="examachine@gmail.com"; x-sender="postmaster@mail-wg0-f54.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvMBAAGVE1FKfVI2k2dsb2JhbABFwEsIFg4BAQEBCQkLCRQEI4JmARseAxIJAQZdAREBBQEiiBEBAw+cW4JwjDSCe4ReChknDVmIdwEFDJFNA5YhjnAWKYQj X-IPAS-Result: AvMBAAGVE1FKfVI2k2dsb2JhbABFwEsIFg4BAQEBCQkLCRQEI4JmARseAxIJAQZdAREBBQEiiBEBAw+cW4JwjDSCe4ReChknDVmIdwEFDJFNA5YhjnAWKYQj X-IronPort-AV: E=Sophos;i="4.84,621,1355094000"; d="scan'208";a="1397094" Received: from mail-wg0-f54.google.com ([74.125.82.54]) by mail3-smtp-sop.national.inria.fr with ESMTP/TLS/RC4-SHA; 07 Feb 2013 12:44:46 +0100 Received: by mail-wg0-f54.google.com with SMTP id fm10so1992952wgb.9 for ; Thu, 07 Feb 2013 03:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=GomplghhgxLYPKxfam/2IEhJ8ZtNK6xRLmT5xOClgos=; b=YYu9U07g2vY5qj2qS3cOwy6GuG3sRs6j1A/+15a8io9uwBjBSinKSB08ccpSNPMQhn em6Qm98MRCR52HW4wzsOV8kgzcr5+vrsnzLXz8xufNL8lt3FoIs7bs+PL0NZaU4qXirW pbTv+9g6GVKiOl+MBFViLF6Ss5DGfCsuT+5GfTMNi/0XZwWC0/K7cr4qR64Xzikc9k9p 5DQUMTm0yEBG5BnVOBBMxjqAjKVRjawjNSSBfYq7ZBnjJNIiPlvZyvp/YODQu8jC+YhR NE31LJAz9ra4/InvY+NNMWMp3DY9U94VdaG+Oe4HPzJQz2KxA6MBONHCA/ph6l6bEvDF Z6nA== MIME-Version: 1.0 X-Received: by 10.194.89.167 with SMTP id bp7mr2151648wjb.0.1360237894984; Thu, 07 Feb 2013 03:51:34 -0800 (PST) Received: by 10.194.178.69 with HTTP; Thu, 7 Feb 2013 03:51:34 -0800 (PST) Date: Thu, 7 Feb 2013 13:51:34 +0200 Message-ID: From: Eray Ozkural To: Caml List Content-Type: multipart/alternative; boundary=047d7bf10a868a65d304d52110d3 Subject: [Caml-list] Ocaml 4.0 build error on Darwin i386 --047d7bf10a868a65d304d52110d3 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable 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 na= med =91ss=92 signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 signals_asm.c:206: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 signals_asm.c:211: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 signals_asm.c:212: error: =91struct __darwin_mcontext64=92 has no member na= med =91ss=92 --=20 Eray Ozkural --047d7bf10a868a65d304d52110d3 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
I receive the same error with both GODI and OPAM. I remember this erro= r from somewhere but I couldn't figure out how to resolve it.=A0
<= div>
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.=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

--047d7bf10a868a65d304d52110d3--