This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PR64635 - load libgomp-plugin-host_nonshm shared library with correct suffix


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.

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

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

   *)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]