jscpucfg is now a c++ program. The old trick for Sun Studio C compiler fails. //sigh
Created attachment 424959 [details] [diff] [review] patch __SUNPRO_C is C compiler, __SUNPRO_CC is C++ compiler But Sun C++ doesn't support #pragma no_inline. We can use -xinline=no%function in command line, or lower the optimization level for this file. Use extern "C", so that I don't have to use mangled name for it. Another minor change not related to this bug: Do not use lock_sparcv8plus.il for jslock.o on x86. I did a mistake in my previous fix. However it is harmless.
Assignee: general → ginn.chen
Status: NEW → ASSIGNED
Ginn --- does the patch attached to bug 552500 work for you here?
Yes, I think so. Thanks!
Okay. I've asked jorendorff to review bug 552500.
Status: ASSIGNED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.