$ cat prov.adb procedure Prov is begin null; end Prov; $ gnatmake prov.adb `adasockets-config` gnatbind -aO./ -aO/usr/lib/ada/adainclude/adasockets -I- -x prov.ali gnatlink -L/usr/lib/ada/adalib/adasockets -L/usr/lib -ladasockets prov.ali /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__complete_entry_body' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__service_entries' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__protected_entry_call' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__initialize_protection_entries' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations___init_proc' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__operations__exceptional_complete_entry_body' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__unlock_entries' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries___init_proc__3' /usr/lib/ada/adalib/adasockets/libadasockets.so: undefined reference to `system__tasking__protected_objects__entries__lock_entries' gnatlink: cannot call /usr/bin/gnatgcc gnatmake: *** link failed. Reproducible: Always Steps to Reproduce: 1. emerge gnat and adasockets 2. execute the command shown above
The bug still exists after over a year (gnat-3.15p-r5 and adasockets-1.7-r1 are installed).
1.8.4.4 (for old style gnat) and 1.8.4.7 (for new split gnat) are in the tree. Please test the one you can. In fact I would strongly suggest migrating to a new gnat (dev-lang/gnat-xxx) as the old-style gnat will be masked when all the libs are migrated.. Please reopen the bug if you still get problems with this package.. George