Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 889308 Details for
Bug 1088344
Enable ppc64le in java-1.8.0-openjdk
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
0001-ppc64le-enablement-bz-1088344.patch
0001-ppc64le-enablement-bz-1088344.patch (text/plain), 4.20 KB, created by
Brent Baude
on 2014-04-24 14:49:26 UTC
(
hide
)
Description:
0001-ppc64le-enablement-bz-1088344.patch
Filename:
MIME Type:
Creator:
Brent Baude
Created:
2014-04-24 14:49:26 UTC
Size:
4.20 KB
patch
obsolete
>From f011530857f8927fbec1baadc31fc9269ffdace0 Mon Sep 17 00:00:00 2001 >From: Brent Baude <baude@us.ibm.com> >Date: Thu, 24 Apr 2014 09:40:41 -0500 >Subject: [PATCH] ppc64le enablement, bz 1088344 > >--- > 0001-PPC64LE-arch-support-in-openjdk-1.8.patch | 43 ++++++++++++++++++++++++++ > java-1.8.0-openjdk.spec | 17 ++++++++-- > 2 files changed, 58 insertions(+), 2 deletions(-) > create mode 100644 0001-PPC64LE-arch-support-in-openjdk-1.8.patch > >diff --git a/0001-PPC64LE-arch-support-in-openjdk-1.8.patch b/0001-PPC64LE-arch-support-in-openjdk-1.8.patch >new file mode 100644 >index 0000000..8da775d >--- /dev/null >+++ b/0001-PPC64LE-arch-support-in-openjdk-1.8.patch >@@ -0,0 +1,43 @@ >+From ebf2be47870510a6348db5fe3419578ec6fea877 Mon Sep 17 00:00:00 2001 >+From: Brent Baude <baude@us.ibm.com> >+Date: Thu, 24 Apr 2014 09:32:36 -0500 >+Subject: [PATCH] PPC64LE arch support in openjdk-1.8 >+ >+--- >+ jdk8/common/autoconf/platform.m4 | 6 ++++++ >+ jdk8/hotspot/src/os/linux/vm/os_linux.cpp | 2 ++ >+ 2 files changed, 8 insertions(+) >+ >+diff --git a/jdk8/common/autoconf/platform.m4 b/jdk8/common/autoconf/platform.m4 >+index 757bf22..2506fc8 100644 >+--- a/jdk8/common/autoconf/platform.m4 >++++ b/jdk8/common/autoconf/platform.m4 >+@@ -60,6 +60,12 @@ AC_DEFUN([PLATFORM_EXTRACT_VARS_FROM_CPU], >+ VAR_CPU_BITS=64 >+ VAR_CPU_ENDIAN=big >+ ;; >++ powerpc64le) >++ VAR_CPU=ppc64le >++ VAR_CPU_ARCH=ppc >++ VAR_CPU_BITS=64 >++ VAR_CPU_ENDIAN=little >++ ;; >+ s390) >+ VAR_CPU=s390 >+ VAR_CPU_ARCH=s390 >+diff --git a/jdk8/hotspot/src/os/linux/vm/os_linux.cpp b/jdk8/hotspot/src/os/linux/vm/os_linux.cpp >+index 68314bb..5885d10 100644 >+--- a/jdk8/hotspot/src/os/linux/vm/os_linux.cpp >++++ b/jdk8/hotspot/src/os/linux/vm/os_linux.cpp >+@@ -1978,6 +1978,8 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) >+ static Elf32_Half running_arch_code=EM_SPARC; >+ #elif (defined __powerpc64__) >+ static Elf32_Half running_arch_code=EM_PPC64; >++ #elif (defined __powerpc64le__) >++ static Elf32_Half running_arch_code=EM_PPC64LE; >+ #elif (defined __powerpc__) >+ static Elf32_Half running_arch_code=EM_PPC; >+ #elif (defined ARM) >+-- >+1.9.0 >+ >diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec >index 9bbb1eb..6600852 100644 >--- a/java-1.8.0-openjdk.spec >+++ b/java-1.8.0-openjdk.spec >@@ -7,6 +7,10 @@ > %global multilib_arches %{power64} sparc64 x86_64 %{aarch64} > %global jit_arches %{ix86} x86_64 sparcv9 sparc64 %{aarch64} > >+# sometimes we need to distinguish big and little endian PPC64 >+# taken from the openjdk-1.7 spec >+%global ppc64le ppc64le >+%global ppc64be ppc64 ppc64p7 > > %ifarch x86_64 > %global archinstall amd64 >@@ -17,6 +21,9 @@ > %ifarch %{power64} > %global archinstall ppc64 > %endif >+%ifarch %{ppc64le} >+%global archinstall ppc64le >+%endif > %ifarch %{ix86} > %global archinstall i386 > %endif >@@ -128,7 +135,7 @@ > > Name: java-%{javaver}-%{origin} > Version: %{javaver}.%{updatever} >-Release: 2.%{buildver}%{?dist} >+Release: 3.%{buildver}%{?dist} > # java-1.5.0-ibm from jpackage.org set Epoch to 1 for unknown reasons, > # and this change was brought into RHEL-4. java-1.5.0-ibm packages > # also included the epoch in their virtual provides. This created a >@@ -215,6 +222,8 @@ Patch201: system-libjpeg.patch > Patch202: system-libpng.patch > Patch203: system-lcms.patch > >+Patch999: 0001-PPC64LE-arch-support-in-openjdk-1.8.patch >+ > BuildRequires: autoconf > BuildRequires: automake > BuildRequires: alsa-lib-devel >@@ -249,7 +258,7 @@ BuildRequires: libffi-devel > BuildRequires: openssl > # execstack build requirement. > # no prelink on ARM yet >-%ifnarch %{arm} %{aarch64} >+%ifnarch %{arm} %{aarch64} ppc64le > BuildRequires: prelink > %endif > %if %{with_systemtap} >@@ -436,6 +445,7 @@ sh %{SOURCE12} > %ifarch ppc %{power64} > # PPC fixes > %patch103 >+%patch999 -p1 > %endif > > # Extract systemtap tapsets >@@ -1096,6 +1106,9 @@ exit 0 > %{_jvmdir}/%{jredir}/lib/accessibility.properties > > %changelog >+* Thu Apr 24 2014 Brent Baude <baude@us.ibm.com> - 1:1.8.0.5-3.b13 >+- Add ppc64le support, bz# 1088344 >+ > * Wed Apr 23 2014 Omair Majid <omajid@redhat.com> - 1:1.8.0.5-2.b13 > - Build with -fno-devirtualize > - Don't strip debuginfo from files >-- >1.9.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1088344
:
886897
| 889308