From patchwork Wed May 15 20:47:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1100187 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; 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="GcPFhsXj"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 45467h1HJDz9s9T for ; Thu, 16 May 2019 06:47:44 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7E1E386516; Wed, 15 May 2019 20:47:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50zw_Os1hJSj; Wed, 15 May 2019 20:47:38 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 1ED0C86519; Wed, 15 May 2019 20:47:38 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id F31B91BF3CB for ; Wed, 15 May 2019 20:47:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EE33286519 for ; Wed, 15 May 2019 20:47:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ycX-aRkl0reT for ; Wed, 15 May 2019 20:47:34 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 0BD9086516 for ; Wed, 15 May 2019 20:47:34 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id f204so1406438wme.0 for ; Wed, 15 May 2019 13:47:33 -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:mime-version :content-transfer-encoding; bh=5bxxs13QjQCcAE7VqSl4k1qBFyUNo36pqwuqGHg+54Q=; b=GcPFhsXjcSiuH3hZT5ciWnK+KP3o7rIw6ty/+A82+thTORVabnqwnGtBq302947u66 jALlGIwaC9OTGahMxbOELAVF24nDDuKmzrYEmv9vjOCO+H408GnP6IJj34cyyYxncbn8 boBTT1l9nj3Uhohrr4IX3U5wChAC2vLk2GjCMxcd2GW4ESUaRB4jfIHl7OAffqKNQG9j ruvZiJSb1s6lrO1H2mw69Wam3hHq6fQ1oqEI0nCCnshYxx0c7L46333puWuvOtAVDtCW lBdb5AGEE/JIM9K7R14R9/ncdlbxt2+JgNMOooi1cRnqu05Z2F1FjwUzxALjvIuwdTSs DYyA== 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:mime-version :content-transfer-encoding; bh=5bxxs13QjQCcAE7VqSl4k1qBFyUNo36pqwuqGHg+54Q=; b=Xvptl83FhobFLgx68NswaD16TxjjkQL8mwNalpY3RMKqbM283FR6Nv3gtkoWjrovq8 qqjLmydvKfkU/FfPz6VeDTb/09H/mHLbADK8F6FNyTv1YapPr1w7p0SbWt/GaS8RASa0 BxdfT4myE/453bfV/tXkMnx02QfcxEBd5usHyvWJ9+Kg1A1bstDGX4hFZvOrwkNucBOc VqEQbV1NpTc02bcXqNbqJh7PVjIxKPy/SONxgwa42d6IGeu2rtRhYzsKhyg0cr46U2DF U6Odtf14SVEM8Zi9Ari8YzGJIQGVtZVCnHHCzMcKAFLGYg7cBVOMbtGtL4Pa/s93CV4w ZhAA== X-Gm-Message-State: APjAAAWTy54Q2OUwITMT1xHxHHeswE6lB5bjD1y2o1b/1Hpiupva1WeR ey2G6ee9S9qgFqCMUT5HQnOswnrF X-Google-Smtp-Source: APXvYqxJ0KU6FK0gLiF2Dn8+D0cWnrf/r+M3Aq7YBnnmh1uYNI784Yp55rerQJ31yT/tGrEElPgLwg== X-Received: by 2002:a7b:c0d5:: with SMTP id s21mr9659038wmh.152.1557953252241; Wed, 15 May 2019 13:47:32 -0700 (PDT) Received: from kali.home (lfbn-ren-1-314-196.w2-10.abo.wanadoo.fr. [2.10.15.196]) by smtp.gmail.com with ESMTPSA id x22sm3846065wmi.4.2019.05.15.13.47.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 13:47:31 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Wed, 15 May 2019 22:47:20 +0200 Message-Id: <20190515204721.18722-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/2] package/libunwind: add cxx exceptions support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andy Kennedy , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" If C++ is enabled, enable cxx exceptions, so libunwind will implement _Unwind_GetIP which is used by mono (which already depends on C++) Fixes: - http://autobuild.buildroot.net/results/dbd64c89815d393a4e28b312d74fd80ee6de92da Signed-off-by: Fabrice Fontaine --- package/libunwind/libunwind.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/libunwind/libunwind.mk b/package/libunwind/libunwind.mk index 94d1899bd3..26deaa5f00 100644 --- a/package/libunwind/libunwind.mk +++ b/package/libunwind/libunwind.mk @@ -11,7 +11,9 @@ LIBUNWIND_LICENSE_FILES = COPYING LIBUNWIND_LICENSE = MIT LIBUNWIND_AUTORECONF = YES -LIBUNWIND_CONF_OPTS = --disable-tests +LIBUNWIND_CONF_OPTS = \ + --disable-tests \ + $(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions) ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) LIBUNWIND_DEPENDENCIES = libatomic_ops