This is an automated email from the ASF dual-hosted git repository.

adonisling pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 23ab3333a04 [chore](thirdparty) Fix link errors of librdkafka (#27247)
23ab3333a04 is described below

commit 23ab3333a04ff08fda999fe92b6cf63e6c072f59
Author: Amos Bird <[email protected]>
AuthorDate: Sun Nov 19 21:22:26 2023 +0800

    [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 a7d4542a5fb..d6325404767 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:')


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to