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

yiguolei 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 97c0af1a80f [fix](build) aarch64 compilation fix # (#25443)
97c0af1a80f is described below

commit 97c0af1a80f235ce8688b231b59641b081a60d6e
Author: Nitin-Kashyap <66766227+nitin-kash...@users.noreply.github.com>
AuthorDate: Mon Oct 16 07:23:50 2023 +0530

    [fix](build) aarch64 compilation fix # (#25443)
    
    Issue: #25442
    
    Compilation to include execinfo when building on aarch64
---
 be/src/common/stack_trace.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/common/stack_trace.cpp b/be/src/common/stack_trace.cpp
index c2f8c35960a..c32e2a03a16 100644
--- a/be/src/common/stack_trace.cpp
+++ b/be/src/common/stack_trace.cpp
@@ -38,7 +38,7 @@
 #include "vec/common/demangle.h"
 #include "vec/common/hex.h"
 
-#if USE_UNWIND
+#if USE_UNWIND && defined(__x86_64__)
 #include <libunwind.h>
 #else
 #include <execinfo.h>


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

Reply via email to