Unable to build recent version IcedTea7 HEAD

Omair Majid omajid at redhat.com
Mon May 2 08:10:49 PDT 2011


On 05/02/2011 11:07 AM, Pavel Tisnovsky wrote:
> Omair Majid wrote:
>> On 05/02/2011 06:59 AM, Pavel Tisnovsky wrote:
>>> Hi all,
>>>
>>> I'm unable to build recent version of IcedTea7 HEAD on RHEL 5 using
>>> following GCC version:
>>> gcc (GCC) 4.1.2 20080704
>>>
>>> Error message generated during build:
>>>
>>
>>> cc1: error: unrecognized command line option "-Wno-clobbered"
>>> cc1: error: unrecognized command line option "-Wno-clobbered"
>>
>>>
>>> Do anyone knows what's went wrong? ;-)
>>>
>>
>> -Wno-clobbered is not recognized by gcc 4.1. This has been fixed
>> upstream: http://hg.openjdk.java.net/jdk7/build/jdk/rev/b715eb9f3d99
>>
>> changeset:   4031:b715eb9f3d99
>> parent:      3932:d80954a89b49
>> user:        ohair
>> date:        Thu Apr 21 18:26:04 2011 -0700
>> summary:     7038711: Fix CC_VER checks for compiler options, fix use of
>> -Wno-clobber
>>
> Do you think it is worth to prepare patch for current IcedTea7 version?
> (I can do this, of course).
>

Yes, I think we should definitely address this problem. As for how to do 
it, I will let Andrew chime in. I suppose (havent tested this) the best 
way would be to import that changeset into icedtea/jdk7/hotspot repo.

Cheers,
Omair



More information about the distro-pkg-dev mailing list