https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65477

            Bug ID: 65477
           Summary: gnat is built with nodlopen
           Product: gcc
           Version: 4.9.3
            Status: UNCONFIRMED
          Severity: trivial
          Priority: P3
         Component: ada
          Assignee: unassigned at gcc dot gnu.org
          Reporter: pavel at zhukoff dot net

Created attachment 35068
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35068&action=edit
test program

It's not possible to write shared plugins in ada because libgnat (and only
libgnat from gcc) is built with nodlopen option.

Example:
Error: unable to load plugin "~/.weechat/plugins/liblibaweeplug.so":
libgnat-4.9.so: shared object cannot be dlopen()ed

How to reproduce:
Try to dlopen libgnat.so. dlopen returns NULL works fine for libc/libm/etc

Reply via email to