Projects
home:dingli:branches:openEuler:24.09-openjdk
openjdk-latest
_service:tar_scm:downgrade-the-glibc-symver-of-...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:downgrade-the-glibc-symver-of-log2f-posix_spawn.patch of Package openjdk-latest
From f03f70daa59157adcab807b393db21d57da33e23 Mon Sep 17 00:00:00 2001 From: sunjianye <sunjianye@huawei.com> Date: Tue, 26 Oct 2021 15:49:42 +0800 Subject: [PATCH] downgrade the glibc symver of log2f & posix_spawn --- src/hotspot/share/opto/parse2.cpp | 8 ++++++++ src/java.base/unix/native/libjava/ProcessImpl_md.c | 4 ++++ 2 files changed, 12 insertions(+) diff --git a/src/hotspot/share/opto/parse2.cpp b/src/hotspot/share/opto/parse2.cpp index becd187..9bbcb0c 100644 --- a/src/hotspot/share/opto/parse2.cpp +++ b/src/hotspot/share/opto/parse2.cpp @@ -45,6 +45,14 @@ #include "runtime/deoptimization.hpp" #include "runtime/sharedRuntime.hpp" +#ifdef AARCH64 + __asm__(".symver log2f,log2f@GLIBC_2.17"); +#endif + +#ifdef AMD64 + __asm__(".symver log2f,log2f@GLIBC_2.2.5"); +#endif + #ifndef PRODUCT extern uint explicit_null_checks_inserted, explicit_null_checks_elided; diff --git a/src/java.base/unix/native/libjava/ProcessImpl_md.c b/src/java.base/unix/native/libjava/ProcessImpl_md.c index 3854f36..26cf41c 100644 --- a/src/java.base/unix/native/libjava/ProcessImpl_md.c +++ b/src/java.base/unix/native/libjava/ProcessImpl_md.c @@ -48,6 +48,10 @@ #include "childproc.h" +#if defined(amd64) + __asm__(".symver posix_spawn,posix_spawn@GLIBC_2.2.5"); +#endif + /* * * When starting a child on Unix, we need to do three things: -- 1.8.3.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