From patchwork Fri Oct 4 21:21:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: William Tu X-Patchwork-Id: 1172048 X-Patchwork-Delegate: i.maximets@samsung.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=openvswitch.org (client-ip=140.211.169.12; helo=mail.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="PHna783S"; dkim-atps=neutral Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46lN9V4nTDz9sN1 for ; Sat, 5 Oct 2019 07:21:49 +1000 (AEST) Received: from mail.linux-foundation.org (localhost [127.0.0.1]) by mail.linuxfoundation.org (Postfix) with ESMTP id CCCC1D13; Fri, 4 Oct 2019 21:21:46 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id 14125C00 for ; Fri, 4 Oct 2019 21:21:46 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-pf1-f193.google.com (mail-pf1-f193.google.com [209.85.210.193]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 478FAA8 for ; Fri, 4 Oct 2019 21:21:44 +0000 (UTC) Received: by mail-pf1-f193.google.com with SMTP id q7so4641625pfh.8 for ; Fri, 04 Oct 2019 14:21:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ywrZSYFPzw4mIAHhPbm+HyKqkBJyEDsqWYJ9psccLlg=; b=PHna783SSOv478yNBul+mgyLh63HiA5kw4V4JUXf12LgHH7tBY8rS7wXoZEBzFUEfm FWbs8JcG2pavdnAfbU9UYPAJ6GuOteofA+xGJEvhIUZfxk6Cf93OSNfQPPZvllBHZ/ty 0ho0ra/ax/UPi7RxPEattouKul+XCbilk1q5MEiAc/rshHyXV/fu+CL81gwCAD0Wm7IQ 1gbTwxkDUGKEFjNwB5Mk865vNTD+HQFZDWcHuRb/dJOAB8SOGxUdguG/eDVVk8gJKqcj 54V4j8XI2rTeekND2mzda1T3m2AbOfZ6xNgL03MsEmuDz7jyFSrEo8NBG5CuGYmjJzoR X66g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ywrZSYFPzw4mIAHhPbm+HyKqkBJyEDsqWYJ9psccLlg=; b=H9fH0KiNKmQo2SDjNLUQOOlRh1cm3S90lQmwPBc+3ezYilKlQDqSKn+7gCFRLSVubE LNlFnbuT9ry+ykN3nqoEEDT9Y8WtLR6ga9VUnn406sfuEBUmMkq8sRDtkof1ulC6mIBS XTNcC1uvAUe274z/oitexwJX9E/dtAwFL2uBG+qrxw1ukx5ObqgGOYYi60uKy3ZAd0QS LqtMFPlleqJhcinefbu/QNTSRlpLZvBlIDQ8wSF5xSfFFqC13zptPavjJ2M6VKtcnnop NCTk0thig0uSDpzQxSslC1E39gw2KGmECiPVCwAQViifUwHWF5m2tz4XXWjUDqieUOZ3 Lefw== X-Gm-Message-State: APjAAAVkunIXia2iwo2cLcdSP1ZOogAVT0u4gMRiOcGHUcM4dsV0XZkB /BQYdUhSWTIvcz5yMElRb06aeANlHa0= X-Google-Smtp-Source: APXvYqwuqjevHnUns3Jo5+BCq6eHxSh8+HkiR9D5ZGlIKqQLPIRRCKssSTJuF5Sn8B/WLdOA6d7RoQ== X-Received: by 2002:a63:d155:: with SMTP id c21mr17952293pgj.131.1570224103385; Fri, 04 Oct 2019 14:21:43 -0700 (PDT) Received: from sc9-mailhost2.vmware.com ([66.170.99.95]) by smtp.gmail.com with ESMTPSA id m102sm5603385pje.5.2019.10.04.14.21.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Oct 2019 14:21:42 -0700 (PDT) From: William Tu To: dev@openvswitch.org Date: Fri, 4 Oct 2019 14:21:15 -0700 Message-Id: <1570224076-122697-1-git-send-email-u9012063@gmail.com> X-Mailer: git-send-email 2.7.4 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on smtp1.linux-foundation.org Cc: i.maximets@ovn.org Subject: [ovs-dev] [PATCH 1/2] travis: Fix 32-bit libunwind system build. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ovs-dev-bounces@openvswitch.org Errors-To: ovs-dev-bounces@openvswitch.org 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 Acked-by: Ilya Maximets --- .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