[Buildroot] [PATCH] package/gcc9: Fix parallel build problem (xgcc not found)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu May 7 19:58:17 UTC 2020


On Thu, 7 May 2020 02:04:44 +0300
Maxim Kochetkov <fido_max at inbox.ru> wrote:

> Some times gcc 9.2.0, 9.3.0 failed to build with a message: "xgcc: No 
> such file or directory"
> 
> When it fails, it's trying to execute selftests.
> 
> So to fix this problem we can disable selftests.
> 
> Signed-off-by: Maxim Kochetkov <fido_max at inbox.ru>

Do you have more details about this failure? Does it happen in our
autobuilders? In which context?

> diff --git a/package/gcc/9.3.0/0001-disable-selftest.patch 
> b/package/gcc/9.3.0/0001-disable-selftest.patch
> new file mode 100644
> index 0000000000..d7150b0fb1
> --- /dev/null
> +++ b/package/gcc/9.3.0/0001-disable-selftest.patch

We need all patches to have a description and a Signed-off-by line.
Also, they should ideally be upstreamable, which is not the case here.

Could you work on an improved version of this patch, with some more
extensive description, and hopefully a solution that can be accepted by
upstream gcc ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list