From patchwork Thu Sep 8 08:51:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 667376 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3sVDZz0Rmfz9s3v for ; Thu, 8 Sep 2016 18:51:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=EfjRIe46; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B061789EFE; Thu, 8 Sep 2016 08:51:20 +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 1q4P_Bqxx3Gz; Thu, 8 Sep 2016 08:51:20 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id F1E38896F8; Thu, 8 Sep 2016 08:51:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 4C0161C286E for ; Thu, 8 Sep 2016 08:51:19 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 44A3C86589 for ; Thu, 8 Sep 2016 08:51:19 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dmWVeqrteQmB for ; Thu, 8 Sep 2016 08:51:17 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by hemlock.osuosl.org (Postfix) with ESMTPS id 686C381F19 for ; Thu, 8 Sep 2016 08:51:17 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id l65so6757311wmf.3 for ; Thu, 08 Sep 2016 01:51:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=rjfAOvdz7hzNP0hWSBBtjO7c73e4AdkGjf/e7dyREys=; b=EfjRIe46ey6Z49YYx45ntUOQjlaEKCOZlC4jj/JyDEe5/0YNyfQo8dGRY5RuZQ/YXJ /2nDecG8zEaY+YFcExureQ6ioviEIK+ZrCNhRenRUwROYd2mgUy4Itlfh83iWknhbVvV ezD+xuzMGUhk/bzWRvGl6+x2m1NcLkdKF4+EGAnAG8/iI8kKTzc4BGrDLK0RZSVzyrfW 1X5d0iWy0YJj8jUVeQdVpTNOW12tqqnyrW986IPaC9ONQSV5XacZkZXs/CGiBElqy68c NE8n2iwmuZb4iliudg85vhf0A2lDl+a/4KzPTq/Bf7Gjax1SR53/vhpzhpnWCjuvqZTe ayPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rjfAOvdz7hzNP0hWSBBtjO7c73e4AdkGjf/e7dyREys=; b=aBATDq+J2o9I1ZI+mO0/rnYGsKPHQ8jC5/FcB/KAlIEc+P+2p0KFi5FG88mrKfiI92 47EMaSa3Zyg+XRunkroDSzODoAxOiw9IwwwYY/DroML1Us+5oPabsIKUtnrWX4nXYUhj gWxaNk0tIArs8zeSm+8rnbzUyNSEXLZGD3Ym7OEEAy3Ps6cQtApN21VRuE8O18gizBf4 D+H2SgeotFZIwt4Apqs4uhMjxY8JEYrWCMq1+smdz5OYYFnCBu8aECelth64QH87sAj+ gXdExT+58W1unLqV8pimZvsRL/+sURLFSWfCj0uPdIDVubY5sXfvKODxsMKNGguqso9M T3/A== X-Gm-Message-State: AE9vXwPmDNP+atTnhQfrv53ayud1OLf+IEQyXz96WDRTJFxKtLgMXyLmS3RxNxDIyK5yGw== X-Received: by 10.194.90.239 with SMTP id bz15mr34235234wjb.146.1473324676003; Thu, 08 Sep 2016 01:51:16 -0700 (PDT) Received: from localhost.localdomain ([89.202.204.147]) by smtp.gmail.com with ESMTPSA id b188sm5970700wmg.24.2016.09.08.01.51.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Sep 2016 01:51:15 -0700 (PDT) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Thu, 8 Sep 2016 10:51:07 +0200 Message-Id: <1473324667-31678-1-git-send-email-angelo.compagnucci@gmail.com> X-Mailer: git-send-email 1.9.1 Subject: [Buildroot] [PATCH] package/mono: fix undefined reference to tls X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This commit fixes the nasty undefined reference to tls bug experienced with musl. Fixes: http://autobuild.buildroot.net/results/048f04488cb8c7f4c32b828aa5214ebc22ba0153 Signed-off-by: Angelo Compagnucci --- package/mono/mono.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/mono/mono.mk b/package/mono/mono.mk index 3d0b9bc..de4f16b 100644 --- a/package/mono/mono.mk +++ b/package/mono/mono.mk @@ -26,6 +26,10 @@ MONO_CONF_OPTS = --disable-gtk-doc \ --disable-mcs-build \ --enable-static +ifeq ($(BR2_TOOLCHAIN_USES_MUSL),y) +MONO_CONF_OPTS += --with-tls=pthread +endif + # The libraries have been built by the host-mono build. Since they are # architecture-independent, we simply copy them to the target. define MONO_INSTALL_LIBS