Gcc 4.4.6 has been broken to build jdk8u-dev

Liu, Xin xxinliu at amazon.com
Wed Apr 10 20:50:09 UTC 2019


A fix has been Pushed.
https://bugs.openjdk.java.net/browse/JDK-8222291

I can confirm that the nightly build has resumed. 

Thanks,
--lx

On 4/10/19, 11:16 AM, "jdk8u-dev on behalf of Liu, Xin" <jdk8u-dev-bounces at openjdk.java.net on behalf of xxinliu at amazon.com> wrote:

    This line doesn’t look like other for-loops.
    https://hg.openjdk.java.net/jdk8u/jdk8u-dev/jdk/file/ee55428fe158/src/solaris/native/sun/awt/multiVis.c#l405
    
    gcc 4.4.6 has trouble to deal with it.
    /src/jdk/src/solaris/native/sun/awt/multiVis.c: In function 'ReadRegionsInList':
    /src/jdk/src/solaris/native/sun/awt/multiVis.c:405: error: 'for' loop initial declarations are only allowed in C99 mode
    /src/jdk/src/solaris/native/sun/awt/multiVis.c:405: note: use option -std=c99 or -std=gnu99 to compile your code
    /src/jdk/src/solaris/native/sun/awt/multiVis.c:409: error: 'for' loop initial declarations are only allowed in C99 mode
    gmake[2]: *** [/build/jdk/objs/libawt_xawt/multiVis.o] Error 1
    
    
    Shall we drop gcc 4.4.6 support or just update it?
    
    Thanks,
    --lx
    
    



More information about the jdk8u-dev mailing list