From patchwork Sun Jun 20 16:20:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 1494777 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G7Hwc2R9fz9sS8 for ; Mon, 21 Jun 2021 02:21:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 4B8C9833A8; Sun, 20 Jun 2021 16:21:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J8HK-Gh_VWBl; Sun, 20 Jun 2021 16:21:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id BEF20833A0; Sun, 20 Jun 2021 16:21:31 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 843141BF350 for ; Sun, 20 Jun 2021 16:21:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 72994606B1 for ; Sun, 20 Jun 2021 16:21:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TVxTwtheIv2K for ; Sun, 20 Jun 2021 16:21:28 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from mailout03.t-online.de (mailout03.t-online.de [194.25.134.81]) by smtp3.osuosl.org (Postfix) with ESMTPS id 16C24606A7 for ; Sun, 20 Jun 2021 16:21:27 +0000 (UTC) Received: from fwd40.aul.t-online.de (fwd40.aul.t-online.de [172.20.26.139]) by mailout03.t-online.de (Postfix) with SMTP id 08E11513EA for ; Sun, 20 Jun 2021 18:20:43 +0200 (CEST) Received: from fli4l.lan.fli4l (SgYZq4ZlYhwHdmk5eIzgYCpPkuqkRfIOfY1TU17bS0ZWJN3652ThnZ5Jfcsod51Z0B@[91.58.8.174]) by fwd40.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1lv0BT-1834RU0; Sun, 20 Jun 2021 18:20:31 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:36254) by fli4l.lan.fli4l with esmtp (Exim 4.94.2) (envelope-from ) id 1lv0BT-0004m0-0Q for buildroot@buildroot.org; Sun, 20 Jun 2021 18:20:31 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 20 Jun 2021 18:20:30 +0200 Message-Id: <20210620162030.1149816-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-ID: SgYZq4ZlYhwHdmk5eIzgYCpPkuqkRfIOfY1TU17bS0ZWJN3652ThnZ5Jfcsod51Z0B X-TOI-EXPURGATEID: 150726::1624206031-0000B3FF-9664186E/0/0 CLEAN NORMAL X-TOI-MSGID: 2e8613d5-9ecc-4afd-b59e-11b3476572a5 Subject: [Buildroot] [PATCH 1/1] package/tor: unset the NDEBUG flag 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: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" For details see: https://gitlab.torproject.org/tpo/core/tor/-/blob/main/src/lib/log/util_bug.h#L56 Fixes: http://autobuild.buildroot.net/results/aab/aabc7fd3093b1a7f08de8d06a1875eb5d231be4c/ Signed-off-by: Bernd Kuhls --- package/tor/tor.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/tor/tor.mk b/package/tor/tor.mk index e0db278fb9..fca272f836 100644 --- a/package/tor/tor.mk +++ b/package/tor/tor.mk @@ -62,6 +62,9 @@ endif # uses gnu extensions TOR_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' +# tor does not support building with NDEBUG enabled +TOR_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -UNDEBUG" + ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) TOR_CONF_ENV += LIBS=-latomic endif