[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OpenJDK 8 & GCC 5

Hi all,

OpenJDK 8 doesn't compile with GCC 5 on mips, presumably due to the
switch to the FPXX ABI [1]:

| /bin/bash ../../../../libtool   --mode=compile mipsel-linux-gnu-gcc-5 -DHAVE_CONFIG_H -I. -I../../../../../jamvm/src/os/linux/mips -I../../../../src  -I../../../../src -D_FORTIFY_SOURCE=2 -I../../../../src -g -fstack-protector-strong -Wformat -Werror=format-security -O3 -MT callNative.lo -MD -MP -MF .deps/callNative.Tpo -c -o callNative.lo ../../../../../jamvm/src/os/linux/mips/callNative.S
| libtool: compile:  mipsel-linux-gnu-gcc-5 -DHAVE_CONFIG_H -I. -I../../../../../jamvm/src/os/linux/mips -I../../../../src -I../../../../src -D_FORTIFY_SOURCE=2 -I../../../../src -g -fstack-protector-strong -Wformat -Werror=format-security -O3 -MT callNative.lo -MD -MP -MF .deps/callNative.Tpo -c ../../../../../jamvm/src/os/linux/mips/callNative.S  -fPIC -DPIC -o .libs/callNative.o
| ../../../../../jamvm/src/os/linux/mips/callNative.S: Assembler messages:
| ../../../../../jamvm/src/os/linux/mips/callNative.S:161: Error: float register should be even, was 1
| Makefile:298: recipe for target 'callNative.lo' failed

It is now built again with GCC 4.9, but we will eventually need to build
it with GCC 5. Therefore if someone has time to look at it, it would be
nice to provide patch.


[1] https://buildd.debian.org/status/fetch.php?pkg=openjdk-8&arch=mipsel&ver=8u72-b05-3&stamp=1450055302

Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

Reply to: