< prev index next >


Print this page
rev 57914 : 8238380: java.base/unix/native/libjava/childproc.c "multiple definition" link errors with GCC10
Summary: Fixed libjava/childproc.o link errors caused by GCC10 default -fno-common
Reviewed-by: alanb

@@ -124,11 +124,11 @@
  * The cached and split version of the JDK's effective PATH.
  * (We don't support putenv("PATH=...") in native code)
-const char * const *parentPathv;
+extern const char * const *parentPathv;
 ssize_t restartableWrite(int fd, const void *buf, size_t count);
 int restartableDup2(int fd_from, int fd_to);
 int closeSafely(int fd);
 int isAsciiDigit(char c);
< prev index next >