From patchwork Mon Jul 3 21:58:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 783660 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 3x1gxP75cVz9s82 for ; Tue, 4 Jul 2017 07:58:17 +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="Hq3S0Z46"; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4AE608649A; Mon, 3 Jul 2017 21:58:16 +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 s9QeH3GlMkyE; Mon, 3 Jul 2017 21:58:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B75E185A2C; Mon, 3 Jul 2017 21:58:14 +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 C09A31C20A3 for ; Mon, 3 Jul 2017 21:58:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B947C85A2C for ; Mon, 3 Jul 2017 21:58:12 +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 rlN6xTa5JxhM for ; Mon, 3 Jul 2017 21:58:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by fraxinus.osuosl.org (Postfix) with ESMTPS id D3E6F859D5 for ; Mon, 3 Jul 2017 21:58:11 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id u23so22888304wma.2 for ; Mon, 03 Jul 2017 14:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=ZHPo3wJR51y0BoAXyvwCHYFh5e9QRCXEOZ1SfV1YZgo=; b=Hq3S0Z46zUzUvoNZ9XtNXcYt6GRW4N/AA0bK+i4TLYZFXs76XNXTF9G0U2Ha8c2bnS PIlHEv32FFB/aaX8HET8Tzav8y9GBIgUHB2fXnQkitwCxEuC64Uq2vBwe/kLQ6wzl/6w +GZYnh1nx0RXAHPtQwuKloBGPyQ8kgrrxCaixN8oi9vqi3e0q+YZKc1f+5zy8GAOo0sN /zF9LbJUTBKkEWEKEZSELK7Vt5UEKTcVgSSameJzmIAESx6T8SZO29VJVZZ3DEchI1Aj 9NIFvFHKljDkRWde9iiGoyKSWuQOHaHsCErDhOmOv8p31V752/uMDlYkHvugKTkVfURR MW7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=ZHPo3wJR51y0BoAXyvwCHYFh5e9QRCXEOZ1SfV1YZgo=; b=qhk2K4PxKoyNFY1QGjDHLFunOt5LkVUcUca3b8ENR7Qq2ddzorxiGuUzwPrp440gyd 2sVAAY6t7gRLo47iIuYURcJmQE743eudWwRIqEdZzfQXgBl8uCGjjrP829E9YIWcU71D i7SC1oFCOqfpRX514Ihns1ZI1N4XGHqP0ZCT9zTH4/I4mcO84HrgZNngm3AFVhLzQmJx REjLQKy8aeForuHITIxHeezXnd4FhcT8SSsCMYyKqza7EH+9AgpJazw2Oc3ky95MPtUg ozy/8yuH4U1mc6+Aq/SHkAnLnYmMPY4DuXPpsmBuv6WFEBZ+Ap6sb/6crpEJvz+toBAT ktpA== X-Gm-Message-State: AKS2vOw1cYHLGvhsxvsNZo2L6WBPyI0RIKEL0HY95782BV+lJXG53QwC 6KNONyRm4f65igFFwuY= X-Received: by 10.28.169.5 with SMTP id s5mr17133368wme.90.1499119090122; Mon, 03 Jul 2017 14:58:10 -0700 (PDT) Received: from dell.be.48ers.dk (ARennes-651-1-1-150.w86-215.abo.wanadoo.fr. [86.215.144.150]) by smtp.gmail.com with ESMTPSA id y124sm12037380wmd.21.2017.07.03.14.58.08 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jul 2017 14:58:08 -0700 (PDT) Received: from peko by dell.be.48ers.dk with local (Exim 4.88) (envelope-from ) id 1dS9M7-0001dH-Qh; Mon, 03 Jul 2017 23:58:07 +0200 From: Peter Korsgaard To: buildroot@buildroot.org, wg@grandegger.com Date: Mon, 3 Jul 2017 23:58:03 +0200 Message-Id: <20170703215803.6233-2-peter@korsgaard.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170703215803.6233-1-peter@korsgaard.com> References: <20170703215803.6233-1-peter@korsgaard.com> Subject: [Buildroot] [PATCH 2/2] toolchain-external: install libsanitizer libraries if available 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" Gcc builds libsanitizer (lib{a,l,t,u}san) for -fsanitize={address,thread,leak,undefined} if the needed dependencies are available, so ensure these also gets copied to the target fs to support -fsanitize. Signed-off-by: Peter Korsgaard Reviewed-by: Jan Kundrát Tested-by: Jan Kundrát --- toolchain/toolchain-external/pkg-toolchain-external.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolchain/toolchain-external/pkg-toolchain-external.mk b/toolchain/toolchain-external/pkg-toolchain-external.mk index 8460e37d09..0764b379b5 100644 --- a/toolchain/toolchain-external/pkg-toolchain-external.mk +++ b/toolchain/toolchain-external/pkg-toolchain-external.mk @@ -108,7 +108,7 @@ endif # Definitions of the list of libraries that should be copied to the target. # ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC),y) -TOOLCHAIN_EXTERNAL_LIBS += libatomic.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* libm.so.* libnsl.so.* libresolv.so.* librt.so.* libutil.so.* +TOOLCHAIN_EXTERNAL_LIBS += libatomic.so.* libc.so.* libcrypt.so.* libdl.so.* libgcc_s.so.* libm.so.* libnsl.so.* libresolv.so.* librt.so.* libutil.so.* lib?san.so.* ifeq ($(BR2_TOOLCHAIN_EXTERNAL_GLIBC)$(BR2_ARM_EABIHF),yy) TOOLCHAIN_EXTERNAL_LIBS += ld-linux-armhf.so.* else