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

* Re: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Meister @ 2007-11-16 21:01 UTC (permalink / raw)
  To: caml-list

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)
>


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

* Re: [Caml-list] Re: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
  2007-11-16 21:01 ` Jeff Meister
@ 2007-11-16 21:05   ` Gordon Henriksen
  2007-11-16 21:16     ` Jeff Meister
  0 siblings, 1 reply; 5+ messages in thread
From: Gordon Henriksen @ 2007-11-16 21:05 UTC (permalink / raw)
  To: caml-list

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


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

* Re: [Caml-list] Re: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
  2007-11-16 21:05   ` [Caml-list] " Gordon Henriksen
@ 2007-11-16 21:16     ` Jeff Meister
  2007-11-16 21:20       ` Gordon Henriksen
  0 siblings, 1 reply; 5+ messages in thread
From: Jeff Meister @ 2007-11-16 21:16 UTC (permalink / raw)
  To: caml-list

Well there we go, thanks. I should have checked there first!

On Nov 16, 2007 4:05 PM, Gordon Henriksen <gordonhenriksen@mac.com> wrote:
> 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
>
> _______________________________________________
> 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
>


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

* Re: [Caml-list] Re: OCaml 3.10 native-code compiler doesn't build on Mac OS X 10.5.1
  2007-11-16 21:16     ` Jeff Meister
@ 2007-11-16 21:20       ` Gordon Henriksen
  0 siblings, 0 replies; 5+ messages in thread
From: Gordon Henriksen @ 2007-11-16 21:20 UTC (permalink / raw)
  To: caml-list

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

> On Nov 16, 2007 4:05 PM, Gordon Henriksen <gordonhenriksen@mac.com>  
> wrote:
>
>> 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:
>>
>> See here: http://caml.inria.fr/mantis/view.php?id=4439
>>
>
> Well there we go, thanks. I should have checked there first!

No problem. Glad to be of help!

— Gordon


^ 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).