Gcc 4.4.6 has been broken to build jdk8u-dev
Liu, Xin
xxinliu at amazon.com
Wed Apr 10 18:13:50 UTC 2019
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