RFR: 8220074: Clean up GCC 8.3 errors in LittleCMS

Yasumasa Suenaga suenaga at oss.nttdata.com
Wed Nov 13 01:13:21 UTC 2019


On 2019/11/13 2:11, Phil Race wrote:
> Was this ever reported upstream ?

I heard Dmitry Chuyko has reported this issue to LCMS.


> I'd like someone from build dev to comment on this, meaning
> the way the GCC version is detected and the separation of this into a separate block.
> We probably have some precedent & pattern for version specific warnings ..

We can just add "stringop-truncation" to DISABLED_WARNINGS_gcc in Makefile as Erik said.
I pushed new change to submit repo. I will send review request when it passed.

   http://hg.openjdk.java.net/jdk/submit/rev/7899a3b10450


Thanks,

Yasumasa


> -phil.
> 
> On 11/12/19 6:48 AM, Yasumasa Suenaga wrote:
>> Hi all,
>>
>> Please review this change:
>>
>>   JBS: https://bugs.openjdk.java.net/browse/JDK-8220074
>>   webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8220074/webrev.00/
>>
>> I saw some -Wstringop-truncation warnings in LCMS when I build OpenJDK with GCC 9.2.1 on Fedora 31.
>> They are LCMS problems, thus we should avoid them to disable these warnings.
>>
>> This change has been tested on submit repo (mach5-one-ysuenaga-JDK-8220074-20191112-1334-6642576).
>>
>>
>> Thanks,
>>
>> Yasumasa
> 



More information about the build-dev mailing list