<div dir="ltr">Hi, I am building petsc using gcc@9.5.0, and found the following error:<div><br></div><div>```<br>In file included from /usr/include/alloca.h:25,<br>                 from /usr/include/stdlib.h:497,<br>                 from /home/lrtfm/opt/firedrake/complex-int32/petsc/include/petscsys.h:1395,<br>                 from /home/lrtfm/opt/firedrake/complex-int32/petsc/include/petscsf.h:7,<br>                 from /home/lrtfm/opt/firedrake/complex-int32/petsc/src/vec/is/sf/interface/vscat.c:1:<br>/home/lrtfm/opt/firedrake/complex-int32/petsc/include/petsc/private/vecimpl.h:124:15: error: expected declaration specifiers or '...' before '__builtin_offsetof'<br>  124 | static_assert(offsetof(struct _VecOps, loadnative) == sizeof(void (*)(void)) * VECOP_LOADNATIVE, "");<br>      |               ^~~~~~~~<br>In file included from /home/lrtfm/opt/firedrake/complex-int32/petsc/src/vec/is/sf/interface/vscat.c:7:<br>/home/lrtfm/opt/firedrake/complex-int32/petsc/include/petsc/private/vecimpl.h:124:98: error: expected declaration specifiers or '...' before string constant<br>  124 | static_assert(offsetof(struct _VecOps, loadnative) == sizeof(void (*)(void)) * VECOP_LOADNATIVE, "");<br>      |                                                                                                  ^~<br>```<br></div><div><div><br></div><div>Could someone give me some hints to fix it? The configure.log and make.log are attached.</div><div><br></div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Best wishes,<div>Zongze</div></div></div></div></div></div>