[ovs-dev] [PATCH 1/2] travis: Fix 32-bit libunwind system build.

William Tu u9012063 at gmail.com
Fri Oct 4 21:21:15 UTC 2019


32-bit and 64-bit libunwind can not be installed at the same time.
For 32-bit build, this patch removes the 64-bit libunwind and install
32-bit version.

Fixes: e2ed6fbeb18c ("fatal-signal: Catch SIGSEGV and print backtrace.")
Signed-off-by: William Tu <u9012063 at gmail.com>
Acked-by: Ilya Maximets <i.maximets at ovn.org>
---
 .travis/linux-prepare.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.travis/linux-prepare.sh b/.travis/linux-prepare.sh
index 70fd98f715ed..e546d32cb7df 100755
--- a/.travis/linux-prepare.sh
+++ b/.travis/linux-prepare.sh
@@ -14,3 +14,9 @@ cd ..
 
 pip install --disable-pip-version-check --user six flake8 hacking
 pip install --user --upgrade docutils
+
+if [ "$M32" ]; then
+    # 32-bit and 64-bit libunwind can not be installed at the same time.
+    # This will remove the 64-bit libunwind and install 32-bit version.
+    sudo apt-get install -y libunwind-dev:i386
+fi
-- 
2.7.4



More information about the dev mailing list