[Buildroot] [PATCH] utils/genrandconfig: filter microblaze GCC < 8 bug

Matthew Weber matthew.weber at rockwellcollins.com
Fri May 25 03:14:31 UTC 2018


Thomas,

On Thu, May 24, 2018 at 6:30 AM, Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> Hello Matt,
>
> On Wed, 23 May 2018 16:53:46 -0500, Matt Weber wrote:

>  - gcc bug #85180, which affects gcc 6.x and gcc 7.x, but is fixed in
>    gcc 8.x. It affects packages such as flare-engine, boost and
>    gst-ffmpeg.
>
>    So, for this one, rather than autobuilder exception, I would like to
>    see something like this:
>
> config BR2_TOOLCHAIN_HAS_GCC_BUG_85180
>         bool
>         default y if BR2_microblaze
>
> and we'll adjust this with a "depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8"
> when gcc 8.x support is added in Buildroot.
>
> flare-engine is not selected by any package (flare-game depends on
> flare-engine).
>
> gst-ffmpeg is not selected by any package.
>
> boost has lots of reverse dependencies however. But perhaps we can nail
> down the specific boost sub-option(s) that exhibit the problem, and
> only add the gcc bug dependency on those suboptions?

Sure, I'll take a look.

>
> Any reason for not using this solution ?
>

No firm reason, I can definitely refactor to use this approach.  The
only reason why we leaned this way is BR2_TOOLCHAIN_GCC_AT_LEAST_8 not
being defined yet.

Matt



More information about the buildroot mailing list