Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1000
-
Fix Version/s: 3.0.1
-
Component/s: Infrastructure: Build, Operating System: OSX
-
Labels:None
-
Environment:OS X 10.5.4 (Leopard) @ Intel iMac (IA32)
-
Number of attachments :
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'
Attachments
Issue Links
| This issue supercedes: | ||||
| RVM-471 | Stack frame alignment broken for Intel on OS/X |
|
|
|
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.