https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64866
Arnaud Charlet <charlet at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |charlet at gcc dot gnu.org Resolution|--- |INVALID --- Comment #2 from Arnaud Charlet <charlet at gcc dot gnu.org> --- Visibility in the Ada runtime do not follow standard Ada rules. In other words, the Ada runtime isn't implemented in Ada, but in a different dialect very close to Ada, with additional restrictions. In particular there should be no 'use' clause in the spec of any runtime packages (this part is fine in your patch), but there should be also no visibility on non system or interfaces packages, which is violated by your custom implementation. I would suggest you move your implementation under System.* to solve this issue. Arno