Source: openjdk-8 Version: 8u162-b12-1 Severity: normal Tags: patch User: debian-i...@lists.debian.org Usertags: ia64
Hi! Please replace zero-architectures.diff with the attached, updated version which contains the autoconf definitions for ia64. A hotspot-ia64.diff patch which is necessary to fix Hotspot (Zero) on ia64 will be following shortly. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
# DP: Add support for zero architectures alpha, m68k, mips*, sh4 --- a/common/autoconf/platform.m4 +++ b/common/autoconf/platform.m4 @@ -42,6 +42,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU VAR_CPU_BITS=32 VAR_CPU_ENDIAN=little ;; + alpha*) + VAR_CPU=alpha + VAR_CPU_ARCH=alpha + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; arm*) VAR_CPU=arm VAR_CPU_ARCH=arm @@ -60,6 +66,54 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU VAR_CPU_BITS=64 VAR_CPU_ENDIAN=little ;; + ia64) + VAR_CPU=ia64 + VAR_CPU_ARCH=ia64 + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; + m68k) + VAR_CPU=m68k + VAR_CPU_ARCH=m68k + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=big + ;; + mips) + VAR_CPU=mips + VAR_CPU_ARCH=mips + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=big + ;; + mipsel) + VAR_CPU=mipsel + VAR_CPU_ARCH=mipsel + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=little + ;; + mipsn32) + VAR_CPU=mipsn32 + VAR_CPU_ARCH=mipsn32 + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=big + ;; + mipsn32el) + VAR_CPU=mipsn32el + VAR_CPU_ARCH=mipsn32el + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=little + ;; + mips64) + VAR_CPU=mips64 + VAR_CPU_ARCH=mips64 + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=big + ;; + mips64el) + VAR_CPU=mips64el + VAR_CPU_ARCH=mips64el + VAR_CPU_BITS=64 + VAR_CPU_ENDIAN=little + ;; powerpc) VAR_CPU=ppc VAR_CPU_ARCH=ppc @@ -78,6 +126,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU VAR_CPU_BITS=64 VAR_CPU_ENDIAN=little ;; + sh*) + VAR_CPU=sh + VAR_CPU_ARCH=sh + VAR_CPU_BITS=32 + VAR_CPU_ENDIAN=little + ;; s390) VAR_CPU=s390 VAR_CPU_ARCH=s390 @@ -377,6 +431,12 @@ AC_DEFUN([PLATFORM_SETUP_LEGACY_VARS], # ZERO_ARCHDEF is used to enable architecture-specific code case "${OPENJDK_TARGET_CPU}" in + alpha*) ZERO_ARCHDEF=ALPHA ;; + ia64) ZERO_ARCHDEF=IA64 ;; + m68k) ZERO_ARCHDEF=M68K ;; + mips|mipsn32|mips64) ZERO_ARCHDEF=MIPS ;; + mipsel|mipsn32el|mips64el) ZERO_ARCHDEF=MIPSEL ;; + sh*) ZERO_ARCHDEF=ZERO_SH ;; ppc) ZERO_ARCHDEF=PPC32 ;; ppc64) ZERO_ARCHDEF=PPC64 ;; s390*) ZERO_ARCHDEF=S390 ;; --- a/common/autoconf/toolchain.m4 +++ b/common/autoconf/toolchain.m4 @@ -1354,6 +1354,8 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_ *) ZERO_ARCHFLAG="${COMPILER_TARGET_BITS_FLAG}${OPENJDK_TARGET_CPU_BITS}" esac + # use the default for the package builds + ZERO_ARCHFLAG="" TOOLCHAIN_COMPILER_CHECK_ARGUMENTS([$ZERO_ARCHFLAG], [], [ZERO_ARCHFLAG=""]) AC_SUBST(ZERO_ARCHFLAG)