You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by kx...@apache.org on 2023/10/16 16:04:57 UTC

[doris] 04/15: [fix](build) aarch64 compilation fix # (#25443)

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 <66...@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 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: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org