https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
--- Comment #5 from yuta tomino ---
Hello, Simon.
I'm glad to look at this report.
I have a similar experience like this.
The trigger of mine was not "private with" but a nested package in the spec of
Ada.Exceptions.
I should think it's useless
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
--- Comment #4 from simon at pushface dot org ---
(In reply to Arnaud Charlet from comment #3)
> I would suggest you do not use 'private with' if you write your own runtime,
> since this isn't supported by the compiler when building the runtime.
>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
Arnaud Charlet changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
--- Comment #2 from simon at pushface dot org ---
See PR64866 for a similar problem/workround.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64548
--- Comment #1 from simon at pushface dot org ---
As you may have gathered, I’m building an RTS.
It turns out that the fault is triggered - regardless of -gnatg - if there is
a-except.ads in the same directory which says “private with System;”.