aboutsummaryrefslogtreecommitdiffstats
path: root/community/openjdk7
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-09-02 11:54:50 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-09-02 11:56:42 +0200
commit88031301dd3828f5975c59054151ab369831c252 (patch)
treee3d9b755b2741774060f06d311037247042e3034 /community/openjdk7
parentc4c4eea9d0f6f990ea1f85750cd004f2bb981e7f (diff)
downloadaports-88031301dd3828f5975c59054151ab369831c252.tar.bz2
aports-88031301dd3828f5975c59054151ab369831c252.tar.xz
community/openjdk7: disable arm32-jit
Build on armhf fails: ``` gcc -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DARM -DZERO_LIBARCH=\"arm\" -DPRODUCT -I. -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/share/vm/prims -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/share/vm -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/share/vm/precompiled -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/os_cpu/linux_zero/vm -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/os/linux/vm -I/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"24.111-b01\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"buildozer\"" -DHOTSPOT_LIB_ARCH=\"arm\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea 2.6.7\"" -DDISTRIBUTION_ID="\"Custom build (Fri Sep 2 06:53:44 GMT 2016)\"" -c -Os -fomit-frame-pointer -pipe -fPIC -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero -DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -I/usr/lib/libffi-3.2.1/include -std=gnu++98 -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -fno-delete-null-pointer-checks -fno-lifetime-dse -D_LITTLE_ENDIAN -pipe -g -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_zero -DTARGET_ARCH_MODEL_zero -DTARGET_OS_ARCH_linux_zero -DTARGET_OS_ARCH_MODEL_linux_zero -DTARGET_COMPILER_gcc -I/usr/lib/libffi-3.2.1/include -std=gnu++98 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -fno-delete-null-pointer-checks -fno-lifetime-dse -D_LITTLE_ENDIAN -pipe -g -O3 -fno-strict-aliasing -DHOTSPOT_ASM -DVM_LITTLE_ENDIAN -DINCLUDE_TRACE=1 -Wpointer-arith -Wsign-compare -Os -fomit-frame-pointer -pipe -fPIC -std=gnu++98 -Wno-error -fno-delete-null-pointer-checks -fno-lifetime-dse -o cppInterpreter_arm.o /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/cppInterpreter_arm.S /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp: In function 'void Thumb2_codegen(Thumb2_Info*, unsigned int)': /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp:5720:7: error: duplicate case value case opc_fast_aldc_w: ^~~~ /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp:5719:7: error: previously used here case opc_return_register_finalizer: ^~~~ /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp:6985:7: error: duplicate case value case opc_return_register_finalizer: { ^~~~ /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp:6877:5: error: previously used here case opc_fast_aldc_w: ^~~~ /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp: In function 'void Thumb2_Initialize()': /home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/src/cpu/zero/vm/arm32JIT.cpp:8188:34: error: overloaded function with no contextual type information mov_imm(&codebuf, ARM_IP, (u32)fmod); ^~~~ make[7]: *** [/home/buildozer/aports/community/openjdk7/src/icedtea-2.6.7/openjdk-boot/hotspot/make/linux/makefiles/rules.make:150: arm32JIT.o] Error 1 ``` http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942
Diffstat (limited to 'community/openjdk7')
-rw-r--r--community/openjdk7/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/community/openjdk7/APKBUILD b/community/openjdk7/APKBUILD
index 2e8e7ff714..7ed5f10714 100644
--- a/community/openjdk7/APKBUILD
+++ b/community/openjdk7/APKBUILD
@@ -6,7 +6,7 @@ _icedteaver=2.6.7
# pkgver is <JDK version>.<JDK update>
# check icedtea JDK when updating
pkgver=7.111.$_icedteaver
-pkgrel=0
+pkgrel=1
pkgdesc="OpenJDK 7 via IcedTea"
url="http://icedtea.classpath.org/"
arch="all"
@@ -144,6 +144,7 @@ build() {
done
echo "icedtea patches: $DISTRIBUTION_PATCHES"
+ # --disable-arm32-jit: http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942
cd "$builddir"
./configure \
--build=$CBUILD \
@@ -156,6 +157,7 @@ build() {
--with-parallel-jobs=${JOBS:-2} \
--disable-dependency-tracking \
--disable-downloading \
+ --disable-arm32-jit \
--with-rhino=$srcdir/rhino$RHINO_VER/lib/rhino-$RHINO_VER.jar \
--with-openjdk-src-zip=$srcdir/openjdk-$_dropsver.tar.bz2 \
--with-hotspot-src-zip=$srcdir/hotspot-$_dropsver.tar.bz2 \