ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named '__ss'
I can build ocaml 3.10.0@r30771 with no problem, but the current version of the portfile at r31240, following the fixes for #13236 and #13308, causes this build failure:
cd asmrun; make all
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o startup.o startup.c
ln -s ../byterun/main.c main.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o main.o main.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o fail.o fail.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o roots.o roots.c
ln -s ../byterun/globroots.c globroots.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o globroots.o globroots.c
ln -s ../byterun/signals.c signals.c
gcc -I../byterun -DCAML_NAME_SPACE -DNATIVE_CODE -DTARGET_i386 -DSYS_macosx -O -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -c -o signals.o signals.c
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: 'struct mcontext' has no member named '__ss'
signals_asm.c:193: error: 'struct mcontext' has no member named '__ss'
make[1]: *** [signals_asm.o] Error 1
make: *** [runtimeopt] Error 2
Error: The following dependencies failed to build: ocaml
Error: Status 1 encountered during processing.
This is on Mac OS X 10.4.11, MacBookPro3,1, Xcode 2.4.1, MacPorts 1.7.0 from trunk.
Change History (4)
Cc: |
macports.users@… added
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Since the maintainer is not responding, I'll deal with this.
r31240 broke ocaml. When the patch was originally attached to ticket #13308, the patchfiles were wrapped in a "
platform darwin 9
" section, but as committed, the patchfiles apply on all platforms. I am changing this in r32486 so that the patchfiles only apply on darwin 9, so that it builds again on earlier systems.