oceanbase / obproxy

A proxy server for OceanBase Database.
https://open.oceanbase.com
Other
114 stars 79 forks source link

feat: support el9 build #50

Closed Phoeniwx closed 12 months ago

Phoeniwx commented 1 year ago

Summary

PR fix for #49

support el9 build

Solution Description

use a macro -DEL9_PLATFORM during config process to control whether use these fixs:

  1. remove include<sys/sysctl.h> to support higher kernel version(>5.5)
  2. use mallinfo2 to support glic>2.33
  3. rename gettid() to gettid_ob() to support glibc>2.30

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

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

caifeizhi commented 1 year ago

Thank you for submitting the pull request , i would like to invite @wgs13579 to review your code.