[Buildroot] [PATCH 1/1] package/mono: fix build with autoconf >= 2.70

Peter Korsgaard peter at korsgaard.com
Mon Nov 8 07:40:08 UTC 2021


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > For an unknown reason, the following build failure is raised on one of
 > the autobuilder with host gcc 6.3.0 since bump of autoconf to version
 > 2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da:

 > icall.c: In function 'mono_create_icall_signatures':
 > icall.c:9513:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
 >    gsize_a *types = (gsize*)(sig + 1);
 >                     ^

 > Add an upstream patch to fix it.

Odd that it only triggers now, but the patch looks obviously
correct. Interesting enough, gsize_a is defined as:

typedef gsize G_MAY_ALIAS gsize_a;

Committed, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list