[chore](thirdparty) Fix link errors of librdkafka (#27247)

Exclude coverage symbol from librdkafka's version script generator to
avoid compatibility issues with recent linkers such as lld-17.
This commit is contained in:
Amos Bird
2023-11-19 21:22:26 +08:00
committed by GitHub
parent 58aefbc33f
commit 23ab3333a0

View File

@ -37,3 +37,15 @@
# Clear define name ($2): caller may have additional checks
mkl_check_failed "$cname" "" "$3" "pkg-config --libs failed"
return 1
--- lds-gen.py 2023-11-19 15:47:14.083929584 +0800
+++ lds-gen.py 2023-11-19 15:47:51.759274031 +0800
@@ -53,7 +53,7 @@
# Special symbols not covered by above matches or not exposed in
# the public header files.
- funcs.append('rd_ut_coverage_check')
+ # funcs.append('rd_ut_coverage_check')
print('# Automatically generated by lds-gen.py - DO NOT EDIT')
print('{\n global:')