Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Petr Vorel <petr.vorel@gmail.com>
To: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Cc: "Eric Le Bihan" <eric.le.bihan.dev@free.fr>,
	"Chen Pei" <cp0613@linux.alibaba.com>,
	"Gao Xiang" <hsiangkao@aol.com>,
	"Kurt Van Dijck" <dev.kurt@vandijck-laurijssen.be>,
	"Bernd Kuhls" <bernd@kuhls.net>,
	"Alistair Francis" <alistair@alistair23.me>,
	"José Luis Salvador Rufo" <salvador.joseluis@gmail.com>,
	"Grzegorz Blach" <grzegorz@blach.pl>,
	"Brandon Maier" <brandon.maier@collins.com>,
	"Philippe Proulx" <eeppeliteloop@gmail.com>,
	"Julien Olivain" <ju.o@free.fr>,
	"Marcin Niestroj" <m.niestroj@grinn-global.com>,
	"Rahul Bedarkar" <rahulbedarkar89@gmail.com>,
	buildroot@buildroot.org,
	"Sergio Prado" <sergio.prado@e-labworks.com>,
	"Giulio Benetti" <giulio.benetti@benettiengineering.com>,
	"Luca Ceresoli" <luca.ceresoli@bootlin.com>,
	"Fabrice Fontaine" <fontaine.fabrice@gmail.com>,
	"Etienne Carriere" <etienne.carriere@foss.st.com>
Subject: Re: [Buildroot] [PATCH v4 2/3] package/util-linux: libuuid needs MMU
Date: Tue, 21 Jul 2026 22:42:26 +0200	[thread overview]
Message-ID: <20260721204226.GA23326@pevik> (raw)
In-Reply-To: <20260721125337.2537436-2-dario.binacchi@amarulasolutions.com>

Hi Dario,

> When building util-linux with libuuid enabled on noMMU targets
> (e.g., bootlin-armv7m-uclibc or bootlin-m68k-5208-uclibc), the build
> fails with the following error:

> libuuid/src/gen_uuid.c: In function ‘uuid_generate_time_generic’:
> libuuid/src/gen_uuid.c:629:17: error: implicit declaration of function ‘pthread_atfork’; did you mean ‘pthread_join’? [-Wimplicit-function-declaration]
>   629 |                 pthread_atfork(NULL, NULL, reset_uuidd_cache);
>       |                 ^~~~~~~~~~~~~~
>       |                 pthread_join

> This happens because pthread_atfork() is not available on noMMU
> configurations as reported by commit 59fe7547a495 ("package/libcap-ng:
> disable pthread support on nommu").

> Fix this by adding a dependency on BR2_USE_MMU to libuuid. As a
> consequence, also propagate the BR2_USE_MMU dependency to all packages
> selecting BR2_PACKAGE_UTIL_LINUX_LIBUUID to prevent "unmet direct
> dependencies" Kconfig errors.

LGTM.

Reviewed-by: Petr Vorel <petr.vorel@gmail.com>

Kind regards,
Petr
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-07-21 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-21 12:53 [Buildroot] [PATCH v4 1/3] package/jsoncpp: add host variant Dario Binacchi
2026-07-21 12:53 ` [Buildroot] [PATCH v4 2/3] package/util-linux: libuuid needs MMU Dario Binacchi
2026-07-21 20:42   ` Petr Vorel [this message]
2026-07-21 12:53 ` [Buildroot] [PATCH v4 3/3] package/drogon: new package Dario Binacchi
2026-07-21 20:53   ` Petr Vorel
2026-07-21 20:43 ` [Buildroot] [PATCH v4 1/3] package/jsoncpp: add host variant Petr Vorel

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=20260721204226.GA23326@pevik \
    --to=petr.vorel@gmail.com \
    --cc=alistair@alistair23.me \
    --cc=bernd@kuhls.net \
    --cc=brandon.maier@collins.com \
    --cc=buildroot@buildroot.org \
    --cc=cp0613@linux.alibaba.com \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=dev.kurt@vandijck-laurijssen.be \
    --cc=eeppeliteloop@gmail.com \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=etienne.carriere@foss.st.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=grzegorz@blach.pl \
    --cc=hsiangkao@aol.com \
    --cc=ju.o@free.fr \
    --cc=luca.ceresoli@bootlin.com \
    --cc=m.niestroj@grinn-global.com \
    --cc=rahulbedarkar89@gmail.com \
    --cc=salvador.joseluis@gmail.com \
    --cc=sergio.prado@e-labworks.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