From unknown Fri Aug 15 16:19:52 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10691 <10691@debbugs.gnu.org> To: bug#10691 <10691@debbugs.gnu.org> Subject: Status: libtool adding -pthread to portland compilers Reply-To: bug#10691 <10691@debbugs.gnu.org> Date: Fri, 15 Aug 2025 23:19:52 +0000 retitle 10691 libtool adding -pthread to portland compilers reassign 10691 libtool submitter 10691 "Daily, Jeff A" severity 10691 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 01 15:56:40 2012 Received: (at submit) by debbugs.gnu.org; 1 Feb 2012 20:56:40 +0000 Received: from localhost ([127.0.0.1]:49571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RshEN-0002iF-8z for submit@debbugs.gnu.org; Wed, 01 Feb 2012 15:56:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51519) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RshEK-0002i2-6o for submit@debbugs.gnu.org; Wed, 01 Feb 2012 15:56:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RshDq-0002ak-9s for submit@debbugs.gnu.org; Wed, 01 Feb 2012 15:56:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:50939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RshDq-0002ag-8L for submit@debbugs.gnu.org; Wed, 01 Feb 2012 15:56:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RshDo-0000hy-8g for bug-libtool@gnu.org; Wed, 01 Feb 2012 15:56:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RshDm-0002aV-Hb for bug-libtool@gnu.org; Wed, 01 Feb 2012 15:56:04 -0500 Received: from emailgw04.pnl.gov ([192.101.109.35]:61668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RshDl-0002aO-Uk for bug-libtool@gnu.org; Wed, 01 Feb 2012 15:56:02 -0500 Received: from emailhub02.pnl.gov ([130.20.251.62]) by emailgw04.pnl.gov with ESMTP/TLS/AES128-SHA; 01 Feb 2012 12:55:59 -0800 Received: from Email05.pnl.gov ([169.254.1.166]) by emailhub02.pnl.gov ([130.20.251.62]) with mapi; Wed, 1 Feb 2012 12:55:39 -0800 From: "Daily, Jeff A" To: "bug-libtool@gnu.org" Date: Wed, 1 Feb 2012 12:55:58 -0800 Subject: libtool adding -pthread to portland compilers Thread-Topic: libtool adding -pthread to portland compilers Thread-Index: AczhI4dUc0ps5m/SSgC/uRihQ+zTMg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_F0F90F8B4D282340A6D984CE8FA7A0A7012B1B98CB0FEMAIL05pnlg_" MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) --_000_F0F90F8B4D282340A6D984CE8FA7A0A7012B1B98CB0FEMAIL05pnlg_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I see this recent post on the same subject: http://lists.gnu.org/archive/html/libtool/2010-11/msg00035.html PGI offers this work-around: http://www.pgroup.com/userforum/viewtopic.php?p=3D8419&sid=3D2b25bde02111e5= b26f00709197c2a5eb Which means you create a ~/siterc file with the contents: switch -pthread is replace(-lpthread) positional(linker); I've verified that the work-around works, but it would be nice to get this = fixed in libtool. What's the bugfix status on translating -pthread to -lpthread for PGI compi= lers? __________________________________________________ Jeff Daily Scientist DATA INTENSIVE SCIENTIFIC COMPUTING Pacific Northwest National Laboratory 902 Battelle Boulevard P.O. Box 999, MSIN K7-90 Richland, WA 99352 USA Tel: 509-372-6548 Fax: 509-372-4720 jeff.daily@pnnl.gov www.pnnl.gov --_000_F0F90F8B4D282340A6D984CE8FA7A0A7012B1B98CB0FEMAIL05pnlg_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I see this recen= t post on the same subject:

http://list= s.gnu.org/archive/html/libtool/2010-11/msg00035.html

 

PGI offers this = work-around:

http://www.pgroup.com/userforum/viewtopic.php?p=3D8419&sid=3D2b= 25bde02111e5b26f00709197c2a5eb

Which= means you create a ~/siterc file with the contents:

switch -pthread is replace(-lpthread) p= ositional(linker);

 

I’ve verified that the work-around works, but it would be nice = to get this fixed in libtool.

 

What’s the bugfix status on tr= anslating –pthread to –lpthread for PGI compilers?

__________________________________________________
Jeff Daily
Scientist
DATA INTENSIVE SCIENTIFIC COMPUTING

Pacific Northwest National Laboratory
902 Ba= ttelle Boulevard
P.O. Box 999, MSIN K7-90
R= ichland, WA  99352 USA
Tel:  509-372-6548 =
Fax: 509-372-4720
jeff.daily@pnnl.gov
<= span style=3D'font-size:10.0pt;font-family:"Verdana","sans-serif";color:#D4= 7500'>www.pnnl.gov

 

 

= --_000_F0F90F8B4D282340A6D984CE8FA7A0A7012B1B98CB0FEMAIL05pnlg_--