From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.0 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 88D3CBC69 for ; Fri, 16 Nov 2007 21:54:37 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAALqSPUdA6aLpkGdsb2JhbACPDQEBAQEHAgYkBw X-IronPort-AV: E=Sophos;i="4.21,428,1188770400"; d="scan'208";a="19398335" Received: from nz-out-0506.google.com ([64.233.162.233]) by mail4-smtp-sop.national.inria.fr with ESMTP; 16 Nov 2007 21:54:36 +0100 Received: by nz-out-0506.google.com with SMTP id x7so902277nzc for ; Fri, 16 Nov 2007 12:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=1MBHAd8X6mTty18sF6apAluN2TQCZ5n8lsO9F1TRphk=; b=of5hjsgvfWpxQOssbhYAQlsW2BI2WmWXaouh1/GOV6WnpCpRCBSRYHTNB8vfU3mJOG4IP8KWPpUDN6VCMMdFMXL8vTbBFetzV5ArEL0VQW6X4ivebBrh6ADH96VefL/dL9HEZnzWXi/tPTrIQGNuGPVNdpqxC3Ga/1sWl3IBxH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=P9VPyG/aVp5NS2i+eHOyt9t5jJkD6Bp90ZH9ZhgmlUNvFE0H+U7HTN8H+h6mM4wMScoK3ipzYo8p3bvYttefL3MqYQHNf1Rem0N/RkA6kRSheOZlw/WHYitbaIiuygQ1ZqZsUCZ0XEAbK/MumlG5VUSXFkrRfdQu1VSjzsL8Lro= Received: by 10.114.80.4 with SMTP id d4mr188975wab.1195246475203; Fri, 16 Nov 2007 12:54:35 -0800 (PST) Received: by 10.115.79.8 with HTTP; Fri, 16 Nov 2007 12:54:35 -0800 (PST) Message-ID: <6806cf750711161254w4dcfc33fqddee7ca875a032cb@mail.gmail.com> Date: Fri, 16 Nov 2007 15:54:35 -0500 From: "Jeff Meister" To: caml-list@yquem.inria.fr Subject: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam: no; 0.00; ocaml:01 native-code:01 compiler:01 gcc:01 byterun:01 -dnative:01 -dtarget:01 -dsys:01 -wall:01 pointer:01 pointer:01 ocaml:01 bytecode:01 compiler:01 gcc:01 When attempting to "make opt" on my MacBook Pro running the new 10.5.1, the following error occurs: gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o signals_asm.o signals_asm.c signals_asm.c: In function 'segv_handler': signals_asm.c:193: error: dereferencing pointer to incomplete type signals_asm.c:193: error: dereferencing pointer to incomplete type signals_asm.c: In function 'caml_init_signals': signals_asm.c:241: error: storage size of 'stk' isn't known signals_asm.c:241: warning: unused variable 'stk' make[1]: *** [signals_asm.o] Error 1 make: *** [runtimeopt] Error 2 I'm not sure if OCaml built in the initial Leopard release, 10.5.0, because I didn't try installing it until after updating to 10.5.1 yesterday... but I do know it worked on 10.4. The bytecode compiler builds and bootstraps just fine. Any ideas? Output of gcc -v: Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465)