Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Gordon Henriksen <gordonhenriksen@mac.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: OCaml 3.10 native-code compiler doesn't build on	Mac OS X 10.5.1
Date: Fri, 16 Nov 2007 16:05:20 -0500	[thread overview]
Message-ID: <59ED9C41-A9EC-4F49-8E9F-34F5CE4F06BB@mac.com> (raw)
In-Reply-To: <6806cf750711161301y5529541ex8bbd9455d76db5c7@mail.gmail.com>

Jeff,

See here: http://caml.inria.fr/mantis/view.php?id=4439

On Nov 16, 2007, at 16:01, Jeff Meister wrote:

> 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 <nanaki@gmail.com> 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)
>>
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs



— Gordon


  reply	other threads:[~2007-11-16 21:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 20:54 Jeff Meister
2007-11-16 21:01 ` Jeff Meister
2007-11-16 21:05   ` Gordon Henriksen [this message]
2007-11-16 21:16     ` [Caml-list] " Jeff Meister
2007-11-16 21:20       ` Gordon Henriksen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=59ED9C41-A9EC-4F49-8E9F-34F5CE4F06BB@mac.com \
    --to=gordonhenriksen@mac.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox