RVM

build failure on IA32 OS X 10.5 (Leopard)

Details

  • Number of attachments :
    1

Description

Trying to build Jikes (SVN revision 14944) fails on OS X 10.5.4 (Leopard) IA32 as pasted below.

The attached patch solves these issues on my system (iMac).

Short summary of the issues this patch takes care of:

  • unroll loop using IA32_STMM because struct elements it uses don't depend on a runtime value, but a static value (i.e. seperate struct elements for __fpu_stmm<reg> in struct __darwin_i386_float_state)
  • use GCC's -mstackrealign option to resolve stack alignment issue described in RVM-471 (http://jira.codehaus.org/browse/RVM-471)

Build error messages:

build-bootloader:
<snip>
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c: In function 'void hardwareTrapHandler(int, siginfo_t*, void*)':
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c:549: error: 'struct _darwin_i386_float_state' has no member named '_fpu_stmmreg'
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c:550: error: 'struct _darwin_i386_float_state' has no member named '_fpu_stmmreg'
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c:551: error: 'struct _darwin_i386_float_state' has no member named '_fpu_stmmreg'
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c:552: error: 'struct _darwin_i386_float_state' has no member named '_fpu_stmmreg'
[exec] /Users/Kenneth/work/tune_jit_cole/jikes/jikesrvm_unpatched/tools/bootImageRunner/ia32/libvm.c:553: error: 'struct _darwin_i386_float_state' has no member named '_fpu_stmmreg'

Issue Links

Activity

Hide
Kenneth Hoste added a comment -

STATEMENT OF ORIGIN FOR A SINGLE CONTRIBUTOR
I, Kenneth Hoste:

(a) represent that either:

I am the only author and owner of the contributed software
(described as/entitled fix for build failure on IA32/OS X Leopard),
which was neither derived nor copied from any other software,
or

(ii) that any exception to is software which was obtained under the
CPL (Common Public License),

and

(b) hereby agree to license this contributed software under the CPL.

Show
Kenneth Hoste added a comment - STATEMENT OF ORIGIN FOR A SINGLE CONTRIBUTOR I, Kenneth Hoste: (a) represent that either: I am the only author and owner of the contributed software (described as/entitled fix for build failure on IA32/OS X Leopard), which was neither derived nor copied from any other software, or (ii) that any exception to is software which was obtained under the CPL (Common Public License), and (b) hereby agree to license this contributed software under the CPL.
Hide
Ian Rogers added a comment -

Patch committed in r14982.

Show
Ian Rogers added a comment - Patch committed in r14982.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: