Build error with GCC4.8 on Fedora19
yasu at ysfactory.dip.jp
Tue Jul 9 04:47:06 UTC 2013
I tried to build JDK8 with GCC4.8 on Fedora19.
However, build process has been failed as following:
/usr/src/OpenJDK/tl/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c: In function ‘Java_sun_nio_fs_UnixNativeDispatcher_getgrnam0’:
/usr/src/OpenJDK/tl/jdk/src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:1071:68: warning: unused parameter ‘this’ [-Wunused-parameter]
Java_sun_nio_fs_UnixNativeDispatcher_getgrnam0(JNIEnv* env, jclass this,
gmake: *** [libs-only] Error 2
make: *** [jdk-only] Error 2
I guess this issue is caused by -Werror.
So I've made a patch and it seems to work fine.
Could you push this patch?
More information about the core-libs-dev