* For target support_native_jdk.jdwp.agent_libdt_socket_socketTransport.o:
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c: In function 'parseAllowedMask':
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c:422:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (int i = 0; prefixLen > 0; i++, prefixLen -= 8) {
^
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c:422:5: note: use option -std=c99 or -std=gnu99 to compile your code
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c: In function 'parseAllowedPeersInternal':
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c:481:13: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < sizeof(_peers[_peers_cnt].subnet); i++) {
^
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c: In function 'isAddressInSubnet':
/home/shade/jdk-jdk/src/jdk.jdwp.agent/share/native/libdt_socket/socketTransport.c:524:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < sizeof(struct in6_addr); i++) {
... (rest of output omitted)
* All command lines available in /home/shade/jdk-jdk/build/linux-x86_64-server-fastdebug/make-support/failure-logs.
Must be related to building on older RHEL with GCC 4.8.5.