From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 28 Jul 2023 08:55:04 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qPHNR-00D9sA-Po for lore@lore.pengutronix.de; Fri, 28 Jul 2023 08:55:04 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qPHNP-0007bx-Es; Fri, 28 Jul 2023 08:55:03 +0200 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qPHMw-0007bn-H6; Fri, 28 Jul 2023 08:54:34 +0200 Received: from mol by pty.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qPHMv-00GgwZ-Ph; Fri, 28 Jul 2023 08:54:33 +0200 Date: Fri, 28 Jul 2023 08:54:33 +0200 From: Michael Olbrich To: Bruno Thomsen Message-ID: Mail-Followup-To: Bruno Thomsen , ptxdist@pengutronix.de References: <20230717135228.5490-1-bruno.thomsen@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-Accept-Language: de,en X-Accept-Content-Type: text/plain Subject: Re: [ptxdist] [PATCH] uhubctl: add missing GCCLIBS_ATOMIC select X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On Thu, Jul 27, 2023 at 06:42:43PM +0200, Bruno Thomsen wrote: > Den man. 17. jul. 2023 kl. 15.52 skrev Bruno Thomsen : > > > > Without this dependency the following runtime error can be observed: > > > > uhubctl: error while loading shared libraries: libatomic.so.1: cannot > > open shared object file: No such file or directory > > Please drop this patch. > I cannot recreate the issue in an ARM v7a project, only in a ARM v5te project, > so it must be a local issue. It's an architecture issue. libatomic implements primitives that are not available in hardware. For ARM v5 it's probably related to atomics. So I won't apply this, because it does not effect the 'major' architectures. Unfortunately we don't have a way to specify architecture specific dependencies. Michael > > Signed-off-by: Bruno Thomsen > > --- > > rules/uhubctl.in | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/rules/uhubctl.in b/rules/uhubctl.in > > index ec30f6637..e638cf859 100644 > > --- a/rules/uhubctl.in > > +++ b/rules/uhubctl.in > > @@ -2,6 +2,7 @@ > > > > config UHUBCTL > > bool > > + select GCCLIBS_ATOMIC > > select LIBUSB > > prompt "uhubctl" > > help > > > > base-commit: fb8eb0719152fe1f4bc7f31d3c40087fcb721a8c > > -- > > 2.41.0 > > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |