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

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new f76bf669032 [chore](third-party) Fix compilation errors on arm 
platform (#34261)
f76bf669032 is described below

commit f76bf6690320212c353e45cb9039a0cee2c9988c
Author: shuke <37901441+shuke...@users.noreply.github.com>
AuthorDate: Mon Apr 29 09:10:32 2024 +0800

    [chore](third-party) Fix compilation errors on arm platform (#34261)
---
 thirdparty/patches/krb5-1.19.patch | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/thirdparty/patches/krb5-1.19.patch 
b/thirdparty/patches/krb5-1.19.patch
index 463f2c9cb67..04bde390886 100644
--- a/thirdparty/patches/krb5-1.19.patch
+++ b/thirdparty/patches/krb5-1.19.patch
@@ -1,12 +1,14 @@
 diff --git a/src/lib/krb5/os/dnsglue.c b/src/lib/krb5/os/dnsglue.c
-index 0cd213f..2514fcd 100644
+index 0cd213f..db35532 100644
 --- a/src/lib/krb5/os/dnsglue.c
 +++ b/src/lib/krb5/os/dnsglue.c
-@@ -87,6 +87,8 @@ static int initparse(struct krb5int_dns_state *);
+@@ -87,6 +87,10 @@ static int initparse(struct krb5int_dns_state *);
  
  #elif HAVE_RES_NINIT && HAVE_RES_NSEARCH
  
++#if defined(__x86_64__)
 +__asm__(".symver __res_nsearch,__res_nsearch@GLIBC_2.2.5");
++#endif
 +
  /* Use res_ninit, res_nsearch, and res_ndestroy or res_nclose. */
  #define DECLARE_HANDLE(h) struct __res_state h


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to