From patchwork Mon Feb 2 03:29:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Edelsohn X-Patchwork-Id: 435343 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3F1061401AC for ; Mon, 2 Feb 2015 14:29:42 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=EvcvXELPgs7Ge0GXmjbP0hqKYviLWuNExFNg+TiVcMKM4O 9B5WLoh700NtGiiKlkAo22KSiiPcgZHPPCCKFiMqvDKss45ssbJYgPSFNz6q1RBN UCF39f4sz55sHzHoc00JFi1DpJgTUdoHnX04HgFv8IIDs6Yyhmi1q6Cmv6Ll0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=wQiPtoNQFU7FEz5/BHQjHfmz+YY=; b=V4glkCHCI3h26sra/PHY 9bmP8onxA3z/Gla/p/ejvXBFZLtBf7aEJppKAgSnW3ZQpOc5kZFLavjLXBO3FXI9 c1F0jIcOU94BTEn05jEwTsbOq52+ZapRooQ3y4VEmM5nrqe8vxebHjXTom61wl3Q CtIPwXF3kSDadzMopV5JOUc= Received: (qmail 12547 invoked by alias); 2 Feb 2015 03:29:14 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 12527 invoked by uid 89); 2 Feb 2015 03:29:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f179.google.com Received: from mail-ie0-f179.google.com (HELO mail-ie0-f179.google.com) (209.85.223.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 02 Feb 2015 03:29:13 +0000 Received: by mail-ie0-f179.google.com with SMTP id x19so14914049ier.10 for ; Sun, 01 Feb 2015 19:29:10 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.107.162.142 with SMTP id l136mr20622492ioe.40.1422847750862; Sun, 01 Feb 2015 19:29:10 -0800 (PST) Received: by 10.36.75.75 with HTTP; Sun, 1 Feb 2015 19:29:10 -0800 (PST) Date: Sun, 1 Feb 2015 22:29:10 -0500 Message-ID: Subject: Re: [PATCH] PR64635 - load libgomp-plugin-host_nonshm shared library with correct suffix From: David Edelsohn To: GCC Patches , Jack Howarth 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" ;; *)