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 890528 Details for
Bug 1092063
outdated debug patches in openjdk7
[?]
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]
Patch to reproduce and fix the issue (do not push debug 1)
debug.patch (text/plain), 4.67 KB, created by
jiri vanek
on 2014-04-28 15:59:21 UTC
(
hide
)
Description:
Patch to reproduce and fix the issue (do not push debug 1)
Filename:
MIME Type:
Creator:
jiri vanek
Created:
2014-04-28 15:59:21 UTC
Size:
4.67 KB
patch
obsolete
>diff --git a/java-1.7.0-openjdk-debugdocs.patch b/java-1.7.0-openjdk-debugdocs.patch >index dbfebb2..8a130e4 100644 >--- a/java-1.7.0-openjdk-debugdocs.patch >+++ b/java-1.7.0-openjdk-debugdocs.patch >@@ -1,12 +1,35 @@ > --- oldMakefile 2008-07-02 17:48:01.000000000 -0400 > +++ openjdk/Makefile 2008-07-02 17:48:09.000000000 -0400 >-@@ -176,8 +176,7 @@ >+@@ -199,19 +199,19 @@ > >- COMMON_DEBUG_FLAGS= \ >- DEBUG_NAME=$(DEBUG_NAME) \ >-- ALT_OUTPUTDIR=$(_OUTPUTDIR)-$(DEBUG_NAME) \ >-- NO_DOCS=true >-+ ALT_OUTPUTDIR=$(_OUTPUTDIR)-$(DEBUG_NAME) >+ create_fresh_product_bootdir: FRC >+ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ >+- GENERATE_DOCS=false \ >++ GENERATE_DOCS=true \ >+ BOOT_CYCLE_SETTINGS= \ >+ build_product_image > >- product_build: setup >- @$(ECHO) $@ build started: `$(DATE) '+%y-%m-%d %H:%M'` >+ create_fresh_debug_bootdir: FRC >+ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ >+- GENERATE_DOCS=false \ >++ GENERATE_DOCS=true \ >+ BOOT_CYCLE_DEBUG_SETTINGS= \ >+ build_debug_image >+ >+ create_fresh_fastdebug_bootdir: FRC >+ $(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \ >+- GENERATE_DOCS=false \ >++ GENERATE_DOCS=true \ >+ BOOT_CYCLE_DEBUG_SETTINGS= \ >+ build_fastdebug_image >+ >+@@ -262,7 +262,7 @@ >+ $(MAKE) \ >+ ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)/$(REL_JDK_OUTPUTDIR) \ >+ DEBUG_NAME=$(DEBUG_NAME) \ >+- GENERATE_DOCS=false \ >++ GENERATE_DOCS=true \ >+ $(if $(findstring true,$(BUILD_INSTALL)),BUILD_INSTALL_BUNDLES=true,) \ >+ CREATE_DEBUGINFO_BUNDLES=true \ >+ $(BOOT_CYCLE_DEBUG_SETTINGS) \ >+ >diff --git a/java-1.7.0-openjdk-debuginfo.patch b/java-1.7.0-openjdk-debuginfo.patch >index 263d59e..11776ef 100644 >--- a/java-1.7.0-openjdk-debuginfo.patch >+++ b/java-1.7.0-openjdk-debuginfo.patch >@@ -1,20 +1,20 @@ > --- openjdk/hotspot/build/linux/makefiles/saproc.make_back 2009-12-14 13:35:46.000000000 +0100 > +++ openjdk/hotspot/make/linux/makefiles/saproc.make 2009-12-14 13:36:47.000000000 +0100 >-@@ -67,6 +67,7 @@ >- -I$(BOOT_JAVA_HOME)/include/$(Platform_os_family) \ >+@@ -95,6 +95,7 @@ >+ $(ALT_SAINCDIR) \ > $(SASRCFILES) \ > $(SA_LFLAGS) \ >-+ -g \ >++ -g \ >+ $(SA_DEBUG_CFLAGS) \ >+ $(EXTRA_CFLAGS) \ > -o $@ \ >- -lthread_db >- > --- openjdk/hotspot/build/linux/makefiles/jsig.make_back 2009-12-14 13:34:56.000000000 +0100 > +++ openjdk/hotspot/make/linux/makefiles/jsig.make 2009-12-14 13:35:31.000000000 +0100 >-@@ -44,6 +44,7 @@ >+@@ -59,6 +59,7 @@ > $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE) > @echo Making signal interposition lib... > $(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \ >-+ -g \ >- $(LFLAGS_JSIG) -o $@ $< -ldl >- >- install_jsig: $(LIBJSIG) >++ -g \ >+ $(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) $(EXTRA_CFLAGS) -o $@ $< -ldl >+ $(QUIETLY) [ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); } >+ ifeq ($(ENABLE_FULL_DEBUG_SYMBOLS),1) >diff --git a/java-1.7.0-openjdk.spec b/java-1.7.0-openjdk.spec >index 1f8e06d..4e27bea 100644 >--- a/java-1.7.0-openjdk.spec >+++ b/java-1.7.0-openjdk.spec >@@ -1,5 +1,5 @@ > # If debug is 1, OpenJDK is built with all debug info present. >-%global debug 0 >+%global debug 1 > > %global icedtea_version 2.4.7 > %global hg_tag icedtea-{icedtea_version} >@@ -170,7 +170,7 @@ > > Name: java-%{javaver}-%{origin} > Version: %{javaver}.%{updatever} >-Release: %{icedtea_version}.1%{?dist} >+Release: %{icedtea_version}.2%{?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 >@@ -718,7 +718,9 @@ make \ > popd >& /dev/null > > %ifarch %{jit_arches} >+if [ -f $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar ] ; then > chmod 644 $(pwd)/%{buildoutputdir}/j2sdk-image/lib/sa-jdi.jar >+fi > %endif > > export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image >@@ -1253,6 +1255,14 @@ exit 0 > %doc %{buildoutputdir}/j2sdk-image/jre/LICENSE > > %changelog >+* Mon Apr 28 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.7.2.el6 >+- bumped release >+- conditionally excluded sa-jdi.jar chmod >+- rewritten (long unmaintained) java-1.7.0-openjdk-debugdocs.patch and >+ java-1.7.0-openjdk-debuginfo.patch >+- debug turned on (1) >+ >+ > * Mon Apr 07 2014 Jiri Vanek <jvanek@redhat.com> - 1.7.0.51-2.4.7.1.el6 > - regenerated sources to fix TCK failure > - Resolves: rhbz#1085002
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 1092063
:
890528
|
890744