From patchwork Thu Dec 5 07:33:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Vickberg X-Patchwork-Id: 1204508 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::b3c; helo=mail-yb1-xb3c.google.com; envelope-from=swupdate+bncbd32bl7xsegrbpxfulxqkgqerz675gy@googlegroups.com; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="gEI/fmzw"; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="nLS+2Ctf"; dkim-atps=neutral Received: from mail-yb1-xb3c.google.com (mail-yb1-xb3c.google.com [IPv6:2607:f8b0:4864:20::b3c]) (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 47T6rz0zfxz9sPV for ; Thu, 5 Dec 2019 18:33:21 +1100 (AEDT) Received: by mail-yb1-xb3c.google.com with SMTP id s8sf1757627yba.0 for ; Wed, 04 Dec 2019 23:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:subject:mime-version :x-original-sender:precedence:mailing-list:list-id:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=y40XLnAc2T1w9J6yT48SWGpVIxc8OM9zfyXAMjkQaro=; b=gEI/fmzwnDbuR+KmaqOkWlDeuFbYc4G0H2ZVo/YWnxD9w/lEN5DoJ6kAUSDn7ztQrD l0U1dyeVZ2fl86Kpz6clXy1YXr8V0D3fHEd7i7H68lbrjr716MQ7+YM+twOpSDHpZr5C OnJJ7vR37QKn34hFynBz6/73L9bKR4xaVG+VaQ9u+CnDKmn4VaaJGGGyvy+mF4eipt9W +BrOL709QU5k8hUHVLgl13mKX6yZx1n+lIICco6vVR6+7F1Ny1CWAFrLNw920j248B0g shloHQKU4x8tZ2PH3UR7H/LlYmsGSlV5y02ZRvWdMjK6nXVA6U75Ib1tP3b2tWxzOEYS Uo3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=y40XLnAc2T1w9J6yT48SWGpVIxc8OM9zfyXAMjkQaro=; b=nLS+2CtfBaPxh4AWD3QUIqa/C/3vqLzkXwk/Wx6XsU8SLmXrpO6wC2ctRexzn5cw/p 1tLW7Cc7A4e7faO5gyKz126vhgVPFUhekGpKY1t7Gmr0pXNqSEcJsgCjr7o15POPM8vA 03s7Me6NPddTqRBemq+Ldo2jNPEXC7EmmsytZP7r8M8ynjE0a19lv/LSHRTzmuyTGqaR AxoIS3jVpU6xEhi7AB/Ovup2qoUuoLI5X2QjXEtBjuP19mbqWgYDVy3CuOIS0MMnNu/S 848q8U3+4p84abY8KN0FAVlId6ihzaYqCVaYMFiW+Y/iA8hU/o5KOIIvyUX0XPZdIM7e trQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:subject :mime-version:x-original-sender:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=y40XLnAc2T1w9J6yT48SWGpVIxc8OM9zfyXAMjkQaro=; b=V1YtvpcToIqPjMWkem4r8oFKmxMAlymahvC5amXBGSMuklqjlqh31racdWoP119XvA Bjpy/nRV4dMx2Y4Lo+aB8/P5aa4FoXpGMxM/jjnhSVi+w/g7BDCH2u2tymED2TKeajXk BBtd1hIS409wA75S60gbOHSpOgWg8i+V9MrUydnRqucTLnm22rSYJmZKIsoYOHqOU79x u9dAnwIpczbs9dlZcW4RZwOz+pKl6pbaElz/RiHUPTC5ZFPx/wPkUZ0ensnob0QRjXKk slrVOUGhm7U4FfEp78gkuXz+iFeba2Rk84G/0unUM5ILH45yWtAtN5/triTRKYTqyhL3 fZSQ== Sender: swupdate@googlegroups.com X-Gm-Message-State: APjAAAW65vG2mCV0X9shi63FG4P+MtTFJwIqKN43XnPpM3tcgCQfKRUO jH/g/HhnxgAB8LxP0z9TTMo= X-Google-Smtp-Source: APXvYqwN80bwQhuTk1w9Uqq2rnXa5OtIKFoZv5QBySIKPHFp/YARhUZxipXuIyU9az4tlKc4iUaV7g== X-Received: by 2002:a25:6c03:: with SMTP id h3mr4100271ybc.213.1575531198528; Wed, 04 Dec 2019 23:33:18 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a25:481:: with SMTP id 123ls335424ybe.1.gmail; Wed, 04 Dec 2019 23:33:17 -0800 (PST) X-Received: by 2002:a25:ac41:: with SMTP id r1mr4746626ybd.436.1575531197581; Wed, 04 Dec 2019 23:33:17 -0800 (PST) Date: Wed, 4 Dec 2019 23:33:17 -0800 (PST) From: Alexander Vickberg To: swupdate Message-Id: <6a28b18d-f12d-4e46-8576-5db43038b9ea@googlegroups.com> Subject: [swupdate] [meta-swupdate][PATCH] Add libgcc to list of runtime dependencies MIME-Version: 1.0 X-Original-Sender: wickbergster@gmail.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , libgcc_s.so is dlopened by glibc so bitbake cannot automatically add it. Without this library on a minimal image swupdate outputs the following: "libgcc_s.so.1 must be installed for pthread_cancel to work". Until a method to detect usage of functions in glibc which dlopen libgcc_s.so is implemented in bitbake it is necessary to add it manually with RDEPENDS. Please see this discussion for more information: https://yocto.yoctoproject.narkive.com/Hi849dZ8/btrfs-tools-requires-libgcc-s-so-1 Signed-off-by: Alexander Vickberg --- recipes-support/swupdate/swupdate.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-support/swupdate/swupdate.inc b/recipes-support/swupdate/swupdate.inc index 700d5a1..6be7313 100644 --- a/recipes-support/swupdate/swupdate.inc +++ b/recipes-support/swupdate/swupdate.inc @@ -2,6 +2,7 @@ SUMMARY="Image updater for Yocto projects" DESCRIPTION = "Application for automatic software update from USB Pen" SECTION="swupdate" DEPENDS = "libconfig" +RDEPENDS_${PN} = "libgcc" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"