https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102675
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-10-09 Status|UNCONFIRMED |NEW --- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Gerald Pfeifer from comment #0) > This happens on all FreeBSD platforms and versions: > > I believe the problem is that this adds #include <md5.h> and some > dependencies on constants defined in FreeBSD's /usr/include/md5.h, > where GCC features it's on $GCC_SOURCE/include/md5.h which does not > provide the required constants and types. That file is FreeBSD specific. Can you use a local patch to force /usr/include/md5.h, like #include_next <md5.h>