This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR64635 - load libgomp-plugin-host_nonshm shared library with correct suffix
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jack Howarth <howarth dot at dot gcc at gmail dot com>
- Date: Sun, 1 Feb 2015 22:29:10 -0500
- Subject: Re: [PATCH] PR64635 - load libgomp-plugin-host_nonshm shared library with correct suffix
- Authentication-results: sourceware.org; auth=none
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"
;;
*)