From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Christophe Vu-Brugier <cvubrugier@fastmail.fm>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/drbd-utils: fix build without threads
Date: Mon, 15 Aug 2022 14:36:13 +0200 [thread overview]
Message-ID: <20220815143613.6d798a30@windsurf> (raw)
In-Reply-To: <20220809172257.2058928-1-fontaine.fabrice@gmail.com>
On Tue, 9 Aug 2022 19:22:57 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure without threads raised since bump to
> version 9.21.4 in commit e4c81885ed487ccb511c4a4c4f8a8c1aa5180f78:
>
> CompactDisplay.cpp:13:14: fatal error: pthread.h: No such file or directory
> 13 | #include <pthread.h>
> | ^~~~~~~~~~~
>
> For an unknown reason, previously drbdmon (which unconditionally uses
> threads) was always wrongly disabled:
>
> configure:5846: checking whether /home/fabrice/buildroot/output/host/bin/arm-linux-g++ supports C++11 features by default
> configure:6141: /home/fabrice/buildroot/output/host/bin/arm-linux-g++ -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 conftest.cpp >&5
> configure:6141: $? = 0
> configure:6149: result: yes
> configure:6824: WARNING: No C++11 compiler found, disabling drbdmon build.
>
> The correct activation of drbdmon could be a side-effect of
> https://github.com/LINBIT/drbd-utils/commit/b235e83409b0daf5a3454cdc83aec2e5b335d38e
>
> Fixes:
> - http://autobuild.buildroot.org/results/2cc7d771176ccde7539cc93d83e9621d9ada8357
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> package/drbd-utils/drbd-utils.mk | 6 ++++++
> 1 file changed, 6 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
prev parent reply other threads:[~2022-08-15 12:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 17:22 [Buildroot] [PATCH 1/1] package/drbd-utils: fix build without threads Fabrice Fontaine
2022-08-15 12:36 ` 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=20220815143613.6d798a30@windsurf \
--to=buildroot@buildroot.org \
--cc=cvubrugier@fastmail.fm \
--cc=fontaine.fabrice@gmail.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.