diff mbox

PR64635 - load libgomp-plugin-host_nonshm shared library with correct suffix

Message ID CAGWvnymNciBDepqdVcTe-Yp3U3UyCr23ds4bPzscTbmRG1nfXQ@mail.gmail.com
State New
Headers show

Commit Message

David Edelsohn Feb. 2, 2015, 3:29 a.m. UTC
Based on the way that libgomp wants to dynamically load the library,
the library should use suffix .so.#n on AIX.  AIX also needs the
library linked with libpthread.

Bootstrapped on powerpc-ibm-aix7.1.0.0.

Thanks, David

        PR libgomp/64635
        * configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h.
        Link with -lpthread.
        * config/aix/plugin-suffix.h: Delete.
diff mbox


Index: configure.tgt
--- configure.tgt       (revision 220340)
+++ configure.tgt       (working copy)
@@ -142,7 +142,8 @@ 

-       config_path="aix posix"
+       config_path="posix"
+       XLDFLAGS="${XLDFLAGS} -lpthread"