Projects
openEuler:24.03:SP1:Everything
openjdk-21
_service:tar_scm:add-downgrade-the-glibc-symbol...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:add-downgrade-the-glibc-symbol-of-fcntl.patch of Package openjdk-21
Subject: add downgrade the glibc symbol of fcntl --- src/hotspot/os/linux/os_linux.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/hotspot/os/linux/os_linux.cpp b/src/hotspot/os/linux/os_linux.cpp index aa8be1d89..0aa9b57d8 100644 --- a/src/hotspot/os/linux/os_linux.cpp +++ b/src/hotspot/os/linux/os_linux.cpp @@ -127,6 +127,13 @@ #include <sched.h> #endif +#if defined(AARCH64) + __asm__(".symver fcntl64,fcntl@GLIBC_2.17"); +#elif defined(AMD64) + __asm__(".symver fcntl64,fcntl@GLIBC_2.2.5"); +#endif + + // if RUSAGE_THREAD for getrusage() has not been defined, do it here. The code calling // getrusage() is prepared to handle the associated failure. #ifndef RUSAGE_THREAD -- 2.19.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2