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

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

commit 6d14c43721c4bfa8c398728c1d6f48a6bd457611
Author: Nitin-Kashyap <[email protected]>
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 a6768517943..f9dc0c09387 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to