mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Bruno Thomsen <bruno.thomsen@gmail.com>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] uhubctl: add missing GCCLIBS_ATOMIC select
Date: Fri, 28 Jul 2023 08:54:33 +0200	[thread overview]
Message-ID: <ZMNmKYLL2gtHOfnG@pengutronix.de> (raw)
In-Reply-To: <CAH+2xPDrj8b1kjbzzQY2qSNO9p5hbApdsUmdeGKYfHSPzOPSwg@mail.gmail.com>

On Thu, Jul 27, 2023 at 06:42:43PM +0200, Bruno Thomsen wrote:
> Den man. 17. jul. 2023 kl. 15.52 skrev Bruno Thomsen <bruno.thomsen@gmail.com>:
> >
> > 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 <bruno.thomsen@gmail.com>
> > ---
> >  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 |



  reply	other threads:[~2023-07-28  6:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-17 13:52 Bruno Thomsen
2023-07-27 16:42 ` Bruno Thomsen
2023-07-28  6:54   ` Michael Olbrich [this message]
2023-08-01 11:04     ` Bruno Thomsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZMNmKYLL2gtHOfnG@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bruno.thomsen@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox