All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2, 2/2] package/boost: threads needs date-time
Date: Sun, 21 Nov 2021 20:43:48 +0100	[thread overview]
Message-ID: <20211121204348.5c21a803@windsurf> (raw)
In-Reply-To: <20211119175553.2413433-2-fontaine.fabrice@gmail.com>

On Fri, 19 Nov 2021 18:55:53 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure with gcc >= 7 raised since commit
> 4e267a7d3d5d350710a81ada188a1629348e4b4a because until cmake 3.21.3 and
> https://github.com/Kitware/CMake/commit/1ad0c5ae53fc0c4f774166337f0e9c93c578cf9b,
> cmake assumed that boost threads depends on boost date-time. As, we
> can't patch all cmake in the field, just select boost date-time.
> 
> -- Found Boost: /home/buildroot/autobuild/instance-3/output-1/host/sh4-buildroot-linux-uclibc/sysroot/usr/include (found version "1.77.0") found components: thread chrono atomic missing components: date_time
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/e7443e3bc955e7eddd7bed63e2728880dabb31a7

So just to work-around a CMake < 3.21.3 bug, we force this select in
Boost? This doesn't feel like a very good solution :-/

Even in Buildroot, we're still using CMake 3.16.9.

Thomas
-- 
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

  reply	other threads:[~2021-11-21 19:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-19 17:55 [Buildroot] [PATCH v2, 1/2] Revert "package/log4cxx: select boost chrono and date-time with gcc < 7" Fabrice Fontaine
2021-11-19 17:55 ` [Buildroot] [PATCH v2,2/2] package/boost: threads needs date-time Fabrice Fontaine
2021-11-21 19:43   ` Thomas Petazzoni [this message]
2021-11-22 20:53     ` [Buildroot] [PATCH v2, 2/2] " Arnout Vandecappelle
2021-11-23 11:24       ` Thomas Petazzoni
2021-11-21 13:57 ` [Buildroot] [PATCH v2, 1/2] Revert "package/log4cxx: select boost chrono and date-time with gcc < 7" Thomas Petazzoni
2022-01-13 22:14   ` Thomas Petazzoni
2022-01-16  9:43     ` Fabrice Fontaine

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=20211121204348.5c21a803@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.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.