Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hgomez/4052589 to your computer and use it in GitHub Desktop.
Save hgomez/4052589 to your computer and use it in GitHub Desktop.
OpenJDK8 build failure with gcc 4.6.2 - openSUSE 12.1 (64bits)
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:101:7: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:102:12: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:103:10: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c: In function 'Java_sun_security_jgss_wrapper_GSSLibStub_deleteContext':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:1187:41: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c: In function 'inquireCred':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:594:14: warning: 'major' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c: In function 'Java_sun_security_jgss_wrapper_GSSLibStub_acceptContext':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:982:18: warning: 'jsrcName' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c: In function 'Java_sun_security_pkcs11_wrapper_PKCS11_connect':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/solaris/native/sun/security/pkcs11/wrapper/p11_md.c:139:8: warning: 'C_GetFunctionList' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c: In function 'Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetInfo':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c:256:13: warning: 'jInfoObject' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c: In function 'Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetSlotInfo':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_general.c:387:13: warning: 'jSlotInfoObject' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c: In function 'Java_sun_security_pkcs11_wrapper_PKCS11_C_1GetSessionInfo':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sessmgmt.c:259:13: warning: 'jSessionInfo' may be used uninitialized in this function [-Wuninitialized]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c: In function 'Java_sun_security_pkcs11_wrapper_PKCS11_C_1SignFinal':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c:265:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c: In function 's_mp_fixup_reciprocal':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c:2193:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c:2193:51: warning: signed and unsigned type in conditional expression [-Wsign-compare]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c:2195:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c: In function 's_mp_lshd':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/ec/impl/mpi.c:2980:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/objs/liblcms/cmspack.o: In function `UnrollHalfToFloat':
cmspack.c:(.text+0x154b): undefined reference to `_cmsHalf2Float'
cmspack.c:(.text+0x15a6): undefined reference to `_cmsHalf2Float'
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/objs/liblcms/cmspack.o: In function `UnrollHalfTo16':
cmspack.c:(.text+0x1ca3): undefined reference to `_cmsHalf2Float'
cmspack.c:(.text+0x1d46): undefined reference to `_cmsHalf2Float'
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/objs/liblcms/cmspack.o: In function `PackHalfFromFloat':
cmspack.c:(.text+0x2ba7): undefined reference to `_cmsFloat2Half'
cmspack.c:(.text+0x2c0a): undefined reference to `_cmsFloat2Half'
cmspack.c:(.text+0x2cc1): undefined reference to `_cmsFloat2Half'
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/objs/liblcms/cmspack.o: In function `PackHalfFrom16':
cmspack.c:(.text+0x2dcf): undefined reference to `_cmsFloat2Half'
cmspack.c:(.text+0x2e33): undefined reference to `_cmsFloat2Half'
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/objs/liblcms/cmspack.o:cmspack.c:(.text+0x2eeb): more undefined references to `_cmsFloat2Half' follow
collect2: ld returned 1 exit status
gmake[2]: *** [/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/jdk/lib/amd64/liblcms.so] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [libs-only] Error 2
make: *** [jdk-only] Error 2
can't find java into JDK /home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/build/linux-x86_64-normal-server-release/images/j2sdk-image, build failed
Build step 'Execute shell' marked build as failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment