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

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


The following commit(s) were added to refs/heads/master by this push:
     new 998f07979b H3 Tools: Disable libunwind build tests for boringssl. 
(#11540)
998f07979b is described below

commit 998f07979be49584874d67a5c7909c71e691c9e9
Author: Damian Meden <[email protected]>
AuthorDate: Sat Jul 13 02:23:26 2024 +0200

    H3 Tools: Disable libunwind build tests for boringssl. (#11540)
---
 tools/build_boringssl_h3_tools.sh | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tools/build_boringssl_h3_tools.sh 
b/tools/build_boringssl_h3_tools.sh
index b4dced9657..9dc22878bb 100755
--- a/tools/build_boringssl_h3_tools.sh
+++ b/tools/build_boringssl_h3_tools.sh
@@ -137,13 +137,16 @@ fi
 set -e
 
 # Note: -Wdangling-pointer=0
-# We may have some issues with latest GCC compilers, so disabling 
-Wdangling-pointer=
+#   We may have some issues with latest GCC compilers, so disabling 
-Wdangling-pointer=
+# Note: -UBORINGSSL_HAVE_LIBUNWIND
+#   Disable related libunwind test builds, there are some version number issues
+#   with this pkg in Ubuntu 20.04, so disable this to make sure it builds.
 cmake \
   -B build-shared \
   -DGO_EXECUTABLE=${GO_BINARY_PATH} \
   -DCMAKE_INSTALL_PREFIX=${BASE}/boringssl \
   -DCMAKE_BUILD_TYPE=Release \
-  -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes' \
+  -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes -UBORINGSSL_HAVE_LIBUNWIND' 
\
   -DCMAKE_C_FLAGS=${BSSL_C_FLAGS} \
   -DBUILD_SHARED_LIBS=1
 cmake \
@@ -151,7 +154,7 @@ cmake \
   -DGO_EXECUTABLE=${GO_BINARY_PATH} \
   -DCMAKE_INSTALL_PREFIX=${BASE}/boringssl \
   -DCMAKE_BUILD_TYPE=Release \
-  -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes' \
+  -DCMAKE_CXX_FLAGS='-Wno-error=ignored-attributes -UBORINGSSL_HAVE_LIBUNWIND' 
\
   -DCMAKE_C_FLAGS=${BSSL_C_FLAGS} \
   -DBUILD_SHARED_LIBS=0
 cmake --build build-shared -j ${num_threads}

Reply via email to