From 23ab3333a04ff08fda999fe92b6cf63e6c072f59 Mon Sep 17 00:00:00 2001 From: Amos Bird Date: Sun, 19 Nov 2023 21:22:26 +0800 Subject: [PATCH] [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. --- thirdparty/patches/librdkafka-1.8.2.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/thirdparty/patches/librdkafka-1.8.2.patch b/thirdparty/patches/librdkafka-1.8.2.patch index a7d4542a5f..d632540476 100644 --- a/thirdparty/patches/librdkafka-1.8.2.patch +++ b/thirdparty/patches/librdkafka-1.8.2.patch @@ -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:')