From: "Jeff Meister" <nanaki@gmail.com>
To: caml-list@yquem.inria.fr
Subject: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
Date: Fri, 16 Nov 2007 15:54:35 -0500 [thread overview]
Message-ID: <6806cf750711161254w4dcfc33fqddee7ca875a032cb@mail.gmail.com> (raw)
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)
next reply other threads:[~2007-11-16 20:54 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 20:54 Jeff Meister [this message]
2007-11-16 21:01 ` Jeff Meister
2007-11-16 21:05 ` [Caml-list] " Gordon Henriksen
2007-11-16 21:16 ` 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=6806cf750711161254w4dcfc33fqddee7ca875a032cb@mail.gmail.com \
--to=nanaki@gmail.com \
--cc=caml-list@yquem.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