https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72815
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Good, looks there's missing definition of the problematic struct. I've got it defined in "/usr/include/sys/ucontext.h" Maybe following patch can help you? diff --git a/libmpx/mpxrt/mpxrt.c b/libmpx/mpxrt/mpxrt.c index 76d11f71fd1..c9dad67f9df 100644 --- a/libmpx/mpxrt/mpxrt.c +++ b/libmpx/mpxrt/mpxrt.c @@ -49,6 +49,7 @@ #include <stdlib.h> #include <sys/mman.h> #include <sys/prctl.h> +#include <sys/ucontext.h> #include <cpuid.h> #include "mpxrt-utils.h" #include "mpxrt.h" Do you use glibc in your environment?