From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/drogon: needs a toolchain with wchar support
Date: Tue, 27 Oct 2026 17:13:51 +0100 [thread overview]
Message-ID: <auDNuzu2BoIkIVmA@windsurf> (raw)
In-Reply-To: <20261027160326.1690238-1-dario.binacchi@amarulasolutions.com>
On Tue, Oct 27, 2026 at 05:03:26PM +0100, Dario Binacchi wrote:
> The trantor library bundled in drogon uses std::codecvt_utf8<wchar_t>
> to convert strings between UTF-8 and std::wstring. Toolchains without
> wide character support, such as uClibc without WCHAR, have a libstdc++
> that lacks it, so any executable linked against trantor fails to link,
> starting with the drogon examples.
>
> ld: ../trantor/libtrantor.so.1.5.29: undefined reference to `std::codecvt_utf8<wchar_t, 1114111ul, (std::codecvt_mode)0>::codecvt_utf8(unsigned int)'
>
> These conversions are part of the public API of trantor and drogon, so
> they cannot be disabled. Add a dependency on BR2_USE_WCHAR, together
> with the matching comment.
>
> This issue has been present since the package was added, so it also
> affects the 2026.08.x branch.
>
> Fixes:
> https://autobuild.buildroot.org/results/6b893fea68e25fd928daabff5cf034de76062ac1
>
> Fixes: d38b4915e9437c5492836914c0a0fff12b4f1031 ("package/drogon: new package")
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.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-27 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 16:03 [Buildroot] [PATCH 1/1] package/drogon: needs a toolchain with wchar support Dario Binacchi
2026-10-27 16:13 ` 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=auDNuzu2BoIkIVmA@windsurf \
--to=buildroot@buildroot.org \
--cc=dario.binacchi@amarulasolutions.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