http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48515
--- Comment #1 from blakawk at gentooist dot com 2011-04-08 09:20:51 UTC --- Created attachment 23925 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23925 gcc-4.6.1-20110401-fix-libjava-reflect-build-error This patch fixes the problem by removing JNICALL from the jni.h declarations of _Jv_JNI_ToReflectedMethod and _Jv_JNI_ToReflectedField.