[Buildroot] [PATCH 2/2] package/libupnp18: add upstream patch to fix runtime crash with musl

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat May 18 21:32:42 UTC 2019


On Thu,  9 May 2019 13:04:38 +0200
Jörg Krause <joerg.krause at embedded.rocks> wrote:

> Applications build with a musl 1.1.20+ toolchain and linked with libupnpp will
> crash at runtime with `Illegal instruction` as musl is more strict with
> trying to detach an already detached thread resulting in undefined
> behaviour.
> 
> Upstream status:
> https://github.com/mrjimenez/pupnp/issues/102
> 
> Backported from:
> https://github.com/mrjimenez/pupnp/commit/04b454f693d0c71336252380d08f1d02967e133e
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> ---
>  ...tach-detached-thread-the-result-is-u.patch | 39 +++++++++++++++++++
>  1 file changed, 39 insertions(+)
>  create mode 100644 package/libupnp18/0002-Do-not-try-to-detach-detached-thread-the-result-is-u.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list