mlvm failed building coroutine.cpp on Mac OS X 10.4.6

Stephen Bannasch stephen.bannasch at deanbrook.org
Mon Nov 8 17:36:32 PST 2010


At 7:36 PM -0500 11/8/10, Stephen Bannasch wrote:
>But now I'm getting these errors compiling sharedRuntime_x86_64.cpp:
>
>sharedRuntime_x86_64.cpp:1328: error: '_prepareSwitch' is not a member of 'vmIntrinsics'
>sharedRuntime_x86_64.cpp:1330: error: '_switchTo' is not a member of 'vmIntrinsics'
>sharedRuntime_x86_64.cpp:1332: error: '_switchToAndTerminate' is not a member of 'vmIntrinsics'
>sharedRuntime_x86_64.cpp:1334: error: '_switchToAndExit' is not a member of 'vmIntrinsics'
>
>Where are vmIntrinsics defined?

Ahh ... these are in the version of ./hotspot/src/share/vm/prims/unsafe.cpp patched by the coroutine patch ... and I finally remember to see if the patches applied cleanly when I updated:

no ... the coro patch does not apply:

applying coro.patch
patching file src/share/vm/classfile/vmSymbols.hpp
Hunk #5 FAILED at 849
1 out of 5 hunks FAILED -- saving rejects to file src/share/vm/classfile/vmSymbols.hpp.rej
patching file src/share/vm/includeDB_core
Hunk #3 FAILED at 4473
1 out of 3 hunks FAILED -- saving rejects to file src/share/vm/includeDB_core.rej
patching file src/share/vm/prims/nativeLookup.cpp
Hunk #1 succeeded at 79 with fuzz 2 (offset 0 lines).
patching file src/share/vm/prims/unsafe.cpp
Hunk #1 succeeded at 1037 with fuzz 2 (offset -134 lines).
Hunk #2 succeeded at 3277 with fuzz 2 (offset 1642 lines).
patching file src/share/vm/runtime/frame.cpp
Hunk #2 succeeded at 1295 with fuzz 2 (offset 11 lines).
patch failed, unable to continue (try -v)
patch failed, rejects left in working dir
errors during apply, please fix and refresh coro.patch
*** Exit status 2.
+


More information about the mlvm-dev mailing list