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 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 B616FBC69 for ; Fri, 16 Nov 2007 22:01:18 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAJ6TPUfRVZKzmGdsb2JhbACPDQEBAQEHAgYr X-IronPort-AV: E=Sophos;i="4.21,428,1188770400"; d="scan'208";a="19398483" Received: from wa-out-1112.google.com ([209.85.146.179]) by mail4-smtp-sop.national.inria.fr with ESMTP; 16 Nov 2007 22:01:17 +0100 Received: by wa-out-1112.google.com with SMTP id k17so1194087waf for ; Fri, 16 Nov 2007 13:01:16 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DQkkS5aMnNzLFdEo84jSe7Elf2wCnenYRZCOgHNI5kc=; b=rZOvumx7o/3Tp0xIsEonJ0lgWuDNn9dtuWGN+/XJZqDX3GAE/DC6ys72ISLnIJ2XibiIxjSQycmytxGUgTLv7YcN5YESHQxa6eHH1U+X72Sp5HcThj0E6J5EbWw6Ud0gOxZ4LlZ7t1BgX3nkWReezuvWuRiOEGNv51okcdfzuyU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=J5f0nMufSUEpJ79RlK6L1VGVPati9qoAGaM7DD5lfoiVnrnExgCTxfA2DEge0ntSl0uwtEsufVUAwPI7RpLgCpG2BCjYYqNX4Xllg7m9DoXc+FhgUp5cFB6I3t/AZ51E7vViaJloLNj4vh2O29tmoo8kovr7lsVT1QqLzYPg4AA= Received: by 10.114.152.17 with SMTP id z17mr412046wad.1195246876637; Fri, 16 Nov 2007 13:01:16 -0800 (PST) Received: by 10.115.79.8 with HTTP; Fri, 16 Nov 2007 13:01:16 -0800 (PST) Message-ID: <6806cf750711161301y5529541ex8bbd9455d76db5c7@mail.gmail.com> Date: Fri, 16 Nov 2007 16:01:16 -0500 From: "Jeff Meister" To: caml-list@yquem.inria.fr Subject: Re: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1 In-Reply-To: <6806cf750711161254w4dcfc33fqddee7ca875a032cb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6806cf750711161254w4dcfc33fqddee7ca875a032cb@mail.gmail.com> X-Spam: no; 0.00; ocaml:01 native-code:01 compiler:01 ocaml:01 bytecode:01 native-code:01 gcc:01 byterun:01 -dnative:01 -dtarget:01 -dsys:01 -wall:01 pointer:01 pointer:01 bytecode:01 If it helps, I just tried building OCaml 3.09.3, and that works fine, both bytecode and native-code versions. On Nov 16, 2007 3:54 PM, Jeff Meister wrote: > 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) >