Gcc 4.4.6 has been broken to build jdk8u-dev

Hohensee, Paul hohensee at amazon.com
Wed Apr 10 18:19:52 UTC 2019


There's a JBS issue for this, https://bugs.openjdk.java.net/browse/JDK-8197546 , which needs to be backported. The issue is already marked jdk8u-fix-yes. I'll push it.

Paul

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