[MacPorts] #13583: ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named '__ss'

MacPorts trac at macosforge.org
Fri Dec 14 02:27:17 PST 2007


#13583: ocaml 3.10.0 build failure on Tiger: 'struct mcontext' has no member named
'__ss'
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  pguyot at kallisys.net
     Type:  defect                   |      Status:  new                
 Priority:  Normal                   |   Milestone:  Port Bugs          
Component:  ports                    |     Version:  1.7.0              
 Keywords:                           |  
-------------------------------------+--------------------------------------
 I can build ocaml 3.10.0 at 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.

-- 
Ticket URL: <https://trac.macports.org/projects/macports/ticket/13583>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list