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

On Tue, Jul 21, 2026 at 02:53:29PM +0200, Dario Binacchi wrote:
> 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.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> 

Thanks, but we instead committed:

  https://gitlab.com/buildroot.org/buildroot/-/commit/d42fa9122749979e4e4226f85eca517fb64eb780

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

  parent reply	other threads:[~2026-10-13 17:55 UTC|newest]

Thread overview: 10+ 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
2026-07-22 17:48   ` Julien Olivain via buildroot
2026-10-10 20:29   ` Thomas Petazzoni via buildroot [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
     [not found] ` <20260721125337.2537436-2-dario.binacchi__40496.0327012063$1784638450$gmane$org@amarulasolutions.com>
2026-07-21 17:37   ` [Buildroot] [PATCH v4 2/3] package/util-linux: libuuid needs MMU Bernd Kuhls
2026-07-21 20:43 ` [Buildroot] [PATCH v4 1/3] package/jsoncpp: add host variant Petr Vorel
2026-08-10 19:59 ` Julien Olivain via buildroot

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=asqe8Y_KIKvapAfP@windsurf \
    --to=buildroot@buildroot.org \
    --cc=alistair@alistair23.me \
    --cc=bernd@kuhls.net \
    --cc=brandon.maier@collins.com \
    --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=petr.vorel@gmail.com \
    --cc=rahulbedarkar89@gmail.com \
    --cc=salvador.joseluis@gmail.com \
    --cc=sergio.prado@e-labworks.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.