From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
Cc: buildroot@buildroot.org,
Eric Le Bihan <eric.le.bihan.dev@free.fr>,
Fiona Klute <fiona.klute@gmx.de>,
Sumit Garg <sumit.garg@oss.qualcomm.com>,
Jorge Ramirez-Ortiz <jorge.ramirez@oss.qualcomm.com>
Subject: Re: [Buildroot] [PATCH] package/qrtr: fix static build
Date: Wed, 21 Oct 2026 20:53:53 +0200 [thread overview]
Message-ID: <atkKPD3elez82VBG@windsurf> (raw)
In-Reply-To: <20261021-b4-qrtr-static-v1-1-b980f0bf22e4@oss.qualcomm.com>
On Wed, Oct 21, 2026 at 10:47:17AM +0200, Igor Opaniuk via buildroot wrote:
> qrtr 1.2 declares libqrtr with shared_library(), so it builds a shared
> library even when Buildroot asks meson for static ones only
> (-Ddefault_library=static). With BR2_STATIC_LIBS=y the tools are then
> linked with -static against libqrtr.so, which fails:
>
> ld: attempted static link of dynamic object `lib/libqrtr.so.1.2'
>
> Backport the upstream commit that declares it with library(), so
> default_library decides. It is not part of a qrtr release yet.
>
> Fixes:
> https://autobuild.buildroot.org/results/d5f669f99f72ee68433bc8a1b1197594f46e8882
>
> Fixes: 81bec84bfce986a49b799384c3d0c540fda5367c ("package/qrtr: new package")
> Assisted-by: Claude:claude-opus-5-5
> Signed-off-by: Igor Opaniuk <igor.opaniuk@oss.qualcomm.com>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2026-10-21 18:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-21 8:47 [Buildroot] [PATCH] package/qrtr: fix static build Igor Opaniuk via buildroot
2026-10-21 18:53 ` Thomas Petazzoni via buildroot [this message]
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=atkKPD3elez82VBG@windsurf \
--to=buildroot@buildroot.org \
--cc=eric.le.bihan.dev@free.fr \
--cc=fiona.klute@gmx.de \
--cc=igor.opaniuk@oss.qualcomm.com \
--cc=jorge.ramirez@oss.qualcomm.com \
--cc=sumit.garg@oss.qualcomm.com \
--cc=thomas.petazzoni@bootlin.com \
/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