caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
@ 2007-11-16 20:54 Jeff Meister
  2007-11-16 21:01 ` Jeff Meister
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Meister @ 2007-11-16 20:54 UTC (permalink / raw)
  To: caml-list

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)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-11-16 21:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-16 20:54 OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1 Jeff Meister
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).