Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:bootstrap
java-9-openjdk
gcc-fno-common-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-fno-common-fix.patch of Package java-9-openjdk
diff -urEbwB jdk9u/jdk/src/java.base/unix/native/libjava/childproc.c jdk9u.new/jdk/src/java.base/unix/native/libjava/childproc.c --- jdk9u/jdk/src/java.base/unix/native/libjava/childproc.c 2020-04-13 17:58:51.112936498 +0200 +++ jdk9u.new/jdk/src/java.base/unix/native/libjava/childproc.c 2020-04-13 18:15:33.668975991 +0200 @@ -33,6 +33,7 @@ #include "childproc.h" +const char * const *parentPathv; ssize_t restartableWrite(int fd, const void *buf, size_t count) diff -urEbwB jdk9u/jdk/src/java.base/unix/native/libjava/childproc.h jdk9u.new/jdk/src/java.base/unix/native/libjava/childproc.h --- jdk9u/jdk/src/java.base/unix/native/libjava/childproc.h 2020-04-13 17:58:51.112936498 +0200 +++ jdk9u.new/jdk/src/java.base/unix/native/libjava/childproc.h 2020-04-13 18:15:33.668975991 +0200 @@ -118,7 +118,7 @@ * 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); diff -urEbwB jdk9u/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.c jdk9u.new/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.c --- jdk9u/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.c 2020-04-13 17:58:51.364936508 +0200 +++ jdk9u.new/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.c 2020-04-13 18:15:33.668975991 +0200 @@ -28,6 +28,9 @@ #include <dlfcn.h> #include "NativeFunc.h" +/* global GSS function table */ +GSS_FUNCTION_TABLE_PTR ftab; + /* standard GSS method names (ordering is from mapfile) */ static const char RELEASE_NAME[] = "gss_release_name"; static const char IMPORT_NAME[] = "gss_import_name"; diff -urEbwB jdk9u/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.h jdk9u.new/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.h --- jdk9u/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.h 2020-04-13 17:58:51.364936508 +0200 +++ jdk9u.new/jdk/src/java.security.jgss/unix/native/libj2gss/NativeFunc.h 2020-04-13 18:15:33.668975991 +0200 @@ -265,6 +265,6 @@ typedef GSS_FUNCTION_TABLE *GSS_FUNCTION_TABLE_PTR; /* global GSS function table */ -GSS_FUNCTION_TABLE_PTR ftab; +extern GSS_FUNCTION_TABLE_PTR ftab; #endif diff -urEbwB jdk9u/jdk/src/jdk.sctp/unix/native/libsctp/Sctp.h jdk9u.new/jdk/src/jdk.sctp/unix/native/libsctp/Sctp.h --- jdk9u/jdk/src/jdk.sctp/unix/native/libsctp/Sctp.h 2020-04-13 17:58:51.520936514 +0200 +++ jdk9u.new/jdk/src/jdk.sctp/unix/native/libsctp/Sctp.h 2020-04-13 18:15:33.668975991 +0200 @@ -322,12 +322,12 @@ #endif /* __linux__ */ -sctp_getladdrs_func* nio_sctp_getladdrs; -sctp_freeladdrs_func* nio_sctp_freeladdrs; -sctp_getpaddrs_func* nio_sctp_getpaddrs; -sctp_freepaddrs_func* nio_sctp_freepaddrs; -sctp_bindx_func* nio_sctp_bindx; -sctp_peeloff_func* nio_sctp_peeloff; +extern sctp_getladdrs_func* nio_sctp_getladdrs; +extern sctp_freeladdrs_func* nio_sctp_freeladdrs; +extern sctp_getpaddrs_func* nio_sctp_getpaddrs; +extern sctp_freepaddrs_func* nio_sctp_freepaddrs; +extern sctp_bindx_func* nio_sctp_bindx; +extern sctp_peeloff_func* nio_sctp_peeloff; jboolean loadSocketExtensionFuncs(JNIEnv* env); diff -urEbwB jdk9u/jdk/src/jdk.sctp/unix/native/libsctp/SctpNet.c jdk9u.new/jdk/src/jdk.sctp/unix/native/libsctp/SctpNet.c --- jdk9u/jdk/src/jdk.sctp/unix/native/libsctp/SctpNet.c 2020-04-13 17:58:51.520936514 +0200 +++ jdk9u.new/jdk/src/jdk.sctp/unix/native/libsctp/SctpNet.c 2020-04-13 18:15:33.668975991 +0200 @@ -43,6 +43,13 @@ static const char* nativeSctpLib = "libsctp.so.1"; static jboolean funcsLoaded = JNI_FALSE; +sctp_getladdrs_func* nio_sctp_getladdrs; +sctp_freeladdrs_func* nio_sctp_freeladdrs; +sctp_getpaddrs_func* nio_sctp_getpaddrs; +sctp_freepaddrs_func* nio_sctp_freepaddrs; +sctp_bindx_func* nio_sctp_bindx; +sctp_peeloff_func* nio_sctp_peeloff; + JNIEXPORT jint JNICALL DEF_JNI_OnLoad (JavaVM *vm, void *reserved) { return JNI_VERSION_1_2;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor