diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2015-02-02 03:31:31 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2015-02-01 22:31:31 -0500 |
commit | 02d3e45e7afcf4e6ea1b3dbcc5cfaf505c8e7fb9 (patch) | |
tree | 4705bfe07d6b8ac246dafbb8c13652e79bfea39c /libgomp | |
parent | 353f8ac5c1815925a2a699876b4b57b98dcc97cb (diff) | |
download | gcc-02d3e45e7afcf4e6ea1b3dbcc5cfaf505c8e7fb9.zip gcc-02d3e45e7afcf4e6ea1b3dbcc5cfaf505c8e7fb9.tar.gz gcc-02d3e45e7afcf4e6ea1b3dbcc5cfaf505c8e7fb9.tar.bz2 |
re PR libgomp/64635 (darwin produces libgomp-plugin-host_nonshm.1.dylib but tries to load libgomp-plugin-host_nonshm.so.1)
PR libgomp/64635
* configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h.
Link with -lpthread.
* config/aix/plugin-suffix.h: Delete.
From-SVN: r220341
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog | 7 | ||||
-rw-r--r-- | libgomp/config/aix/plugin-suffix.h | 26 | ||||
-rw-r--r-- | libgomp/configure.tgt | 4 |
3 files changed, 10 insertions, 27 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 7e7c36b..104d42c 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2015-02-01 David Edelsohn <dje.gcc@gmail.com> + + PR libgomp/64635 + * configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h. + Link with -lpthread. + * config/aix/plugin-suffix.h: Delete. + 2015-01-28 Jack Howarth <howarth.at.gcc@gmail.com> PR libgomp/64635 diff --git a/libgomp/config/aix/plugin-suffix.h b/libgomp/config/aix/plugin-suffix.h deleted file mode 100644 index 37c192b..0000000 --- a/libgomp/config/aix/plugin-suffix.h +++ /dev/null @@ -1,26 +0,0 @@ -/* Copyright (C) 2015 Free Software Foundation, Inc. - Contributed by Jack Howarth <howarth.at.gcc@gmail.com> - - This file is part of the GNU Offloading and Multi Processing Library - (libgomp). - - Libgomp is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3, or (at your option) - any later version. - - Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. - - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. - - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - <http://www.gnu.org/licenses/>. */ - -#define SONAME_SUFFIX(n) (".a") diff --git a/libgomp/configure.tgt b/libgomp/configure.tgt index 7c06450..ad98de1 100644 --- a/libgomp/configure.tgt +++ b/libgomp/configure.tgt @@ -142,7 +142,9 @@ case "${target}" in ;; *-*-aix*) - config_path="aix posix" + config_path="posix" + # Need to link with -lpthread so libgomp.so is self-contained. + XLDFLAGS="${XLDFLAGS} -lpthread" ;; *) |