Patch to fix build breakage with GCC 4.7

Daniel D. Daugherty daniel.daugherty at oracle.com
Thu Mar 22 02:30:01 UTC 2012


That would be this:

Changeset: fb3a2cafc230
Author:    andrew
Date:      2012-03-08 14:04 +0000
URL:       http://hg.openjdk.java.net/jdk8/jdk8/jdk/rev/fb3a2cafc230

7150392: Linux build breaks with GCC 4.7 due to unrecognized option
Summary: Remove -mimpure-text option.
Reviewed-by: ohair, dholmes, phh, andrew
Contributed-by: Deepak Bhole <dbhole at redhat.com>

! make/common/shared/Compiler-gcc.gmk
! src/share/demo/jvmti/compiledMethodLoad/sample.makefile.txt
! src/share/demo/jvmti/gctest/sample.makefile.txt
! src/share/demo/jvmti/heapTracker/sample.makefile.txt
! src/share/demo/jvmti/heapViewer/sample.makefile.txt
! src/share/demo/jvmti/hprof/sample.makefile.txt
! src/share/demo/jvmti/index.html
! src/share/demo/jvmti/java_crw_demo/sample.makefile.txt
! src/share/demo/jvmti/minst/sample.makefile.txt
! src/share/demo/jvmti/mtrace/sample.makefile.txt
! src/share/demo/jvmti/versionCheck/sample.makefile.txt
! src/share/demo/jvmti/waiters/sample.makefile.txt


On 3/21/12 8:13 PM, David Holmes wrote:
> Did this get pushed somewhere?
>
> David
>
> On 3/03/2012 1:11 AM, Deepak Bhole wrote:
>> * Andrew Hughes<ahughes at redhat.com>  [2012-03-02 10:09]:
>>> ----- Original Message -----
>>>> * Andrew Hughes<ahughes at redhat.com>  [2012-03-01 15:40]:
>>>>> ----- Original Message -----
>>>>>> * Kelly O'Hair<kelly.ohair at oracle.com>  [2012-02-29 20:39]:
>>>>>>> The sample.makefile.txt files may not even be used during the
>>>>>>> build, I'm not sure.
>>>>>>> They may have only been supplied as documentation on how to
>>>>>>> build
>>>>>>> the native code.
>>>>>>>
>>>>>>> Deleting the -mimpure-text is probably right all around.
>>>>>>>
>>>>>>
>>>>>> Okay, so then looks like the first iteration should be OK for
>>>>>> that:
>>>>>> http://cr.openjdk.java.net/~dbhole/GCC-4.7-JDK8.00/
>>>>>>
>>>>>> If so, please go ahead and commit on my behalf as I can't.
>>>>>>
>>>>>
>>>>> Why can't you?  This is a jdk change.  Only HotSpot changes have to
>>>>> go through JPRT.
>>>>>
>>>>
>>>> I don't have commit access to jdk:
>>>> http://openjdk.java.net/census#dbhole
>>>>
>>>
>>> Oh as 'author' you mean?  I have to admit I'm still confused by these
>>> new bylaws and rules.
>>>
>>> Presumably I can push it on your behalf as jdk8 reviewer.
>>>
>>
>> Sure, that'd be great. Thanks!
>>
>> Deepak
>>
>>>>> What you will need, of course, is for someone to assign you a bug
>>>>> ID for it :-)
>>>>>
>>>>
>>>> :)
>>>>
>>>> Deepak
>>>>
>>>>>> Thanks!
>>>>>> Deepak
>>>>>>
>>>>>
>>>>> -- 
>>>>> Andrew :)
>>>>>
>>>>> Free Java Software Engineer
>>>>> Red Hat, Inc. (http://www.redhat.com)
>>>>>
>>>>> PGP Key: 248BDC07 (https://keys.indymedia.org/)
>>>>> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
>>>>>
>>>>
>>>
>>> -- 
>>> Andrew :)
>>>
>>> Free Java Software Engineer
>>> Red Hat, Inc. (http://www.redhat.com)
>>>
>>> PGP Key: 248BDC07 (https://keys.indymedia.org/)
>>> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
>>>
>



More information about the build-dev mailing list