https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83027 --- Comment #20 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > Thanks for the small reproducer. This has apparently never worked correctly... And the workaround is to pass -F to gnatbind for the main program.