This is not "some random compiler version that's out there"; the
problem manifests with GNAT 3.14. The sources must be changed so that
they do not provoke the bug in the older compiler.
Read the message carefully: 3.14p works fine. What don't work are some
kludged-up compilers that try to use GC 2.95 or GCC 3.0 sources.