Closed Phoeniwx closed 12 months ago
PR fix for #49
support el9 build
use a macro -DEL9_PLATFORM during config process to control whether use these fixs:
-DEL9_PLATFORM
include<sys/sysctl.h>
mallinfo2
gettid()
gettid_ob()
This build succeeded on Centos7 3.10.0-693.21.1.el7.x86_64 and AlmaLinux 9.1 5.14.0-162.23.1.el9_1.x86_64
Centos7 3.10.0-693.21.1.el7.x86_64
AlmaLinux 9.1 5.14.0-162.23.1.el9_1.x86_64
All committers have signed the CLA.
Thank you for submitting the pull request , i would like to invite @wgs13579 to review your code.
Summary
PR fix for #49
support el9 build
Solution Description
use a macro
-DEL9_PLATFORM
during config process to control whether use these fixs:include<sys/sysctl.h>
to support higher kernel version(>5.5)mallinfo2
to support glic>2.33gettid()
togettid_ob()
to support glibc>2.30This build succeeded on
Centos7 3.10.0-693.21.1.el7.x86_64
andAlmaLinux 9.1 5.14.0-162.23.1.el9_1.x86_64