GNU bug report logs - #10685
fixing -shared flags for the nagfor compiler in libtool

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: libtool; Reported by: Juergen Reuter <juergen.reuter@HIDDEN>; dated Wed, 1 Feb 2012 00:43:01 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Feb 2012 22:26:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 19 17:26:17 2012
Received: from localhost ([127.0.0.1]:46265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RzFCz-0000hO-DQ
	for submit <at> debbugs.gnu.org; Sun, 19 Feb 2012 17:26:17 -0500
Received: from eggs.gnu.org ([140.186.70.92]:52061)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <peter@HIDDEN>) id 1RzFCt-0000h9-Jx
	for submit <at> debbugs.gnu.org; Sun, 19 Feb 2012 17:26:16 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1RzFAj-0004zI-QT
	for submit <at> debbugs.gnu.org; Sun, 19 Feb 2012 17:23:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:51649)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1RzFAj-0004zE-Ox
	for submit <at> debbugs.gnu.org; Sun, 19 Feb 2012 17:23:57 -0500
Received: from eggs.gnu.org ([140.186.70.92]:39096)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1RzFAi-0000qf-Hr
	for bug-libtool@HIDDEN; Sun, 19 Feb 2012 17:23:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1RzFAe-0004pJ-F1
	for bug-libtool@HIDDEN; Sun, 19 Feb 2012 17:23:56 -0500
Received: from pogma.xen.prgmr.com ([68.68.97.8]:44273)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <peter@HIDDEN>) id 1RzFAe-0004on-9K
	for bug-libtool@HIDDEN; Sun, 19 Feb 2012 17:23:52 -0500
Message-ID: <4F417676.2010206@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com C82CCBF5B7
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1329690231; bh=OgMbS5pvxFTJTh9ywxxwnoEbYOh2pk9oP0LlPM6IryA=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=sWA2xpu1gK7ugFz8cm+7PSOyesjP6sQbNS5cgLrYwD6rmbPAScWJEq/jU+Io9gDa6
	QS0sr4grbU6NVQLnLbdSMgJ77pmuJ+347Kl61nqGlik4y0tjAUOZ1StQnqr2Paz0I1
	Ky9ASF6msXuXBJTTHyUljLh29jKHW8a+B407KkBg=
Date: Sun, 19 Feb 2012 16:23:50 -0600
From: Peter O'Gorman <peter@HIDDEN>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US;
	rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14
MIME-Version: 1.0
To: Juergen Reuter <juergen.reuter@HIDDEN>
Subject: Re: fixing -shared flags for the nagfor compiler in libtool
References: <4F288A33.9010902@HIDDEN>
In-Reply-To: <4F288A33.9010902@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
Cc: bug-libtool@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

I pushed these, sorry for the long delay.

Thanks,
Peter

On 01/31/2012 06:41 PM, Juergen Reuter wrote:
> Hi,
> this is a fix for the -shared flag in the nagfor compiler, which always
> has triggered
> a warning, but is now an error in nagfor v5.3. I changed this from
> -shared to
> -Wl,-shared.
> I attached the corresponding patch w.r.t. to the current git repository.
> Would be cool if you could include that!
> Thanks a lot in advance
> Cheers,
> JRR
>
> @Peter Gorman:
> Will you push the patches for the nagfor compiler on MAC OS X I sent you
> on Dec. 13?
>
> ---
> m4/libtool.m4 | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/m4/libtool.m4 b/m4/libtool.m4
> index 3639851..97beb48 100644
> --- a/m4/libtool.m4
> +++ b/m4/libtool.m4
> @@ -4821,6 +4821,8 @@ _LT_EOF
> lf95*) # Lahey Fortran 8.1
> _LT_TAGVAR(whole_archive_flag_spec, $1)=
> tmp_sharedflag='--shared' ;;
> + nagfor*) # NAGFOR 5.3
> + tmp_sharedflag='-Wl,-shared' ;;
> xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with
> xlf below)
> tmp_sharedflag='-qmkshrobj'
> tmp_addflag= ;;





Information forwarded to bug-libtool@HIDDEN:
bug#10685; Package libtool. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 Feb 2012 00:42:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 31 19:42:12 2012
Received: from localhost ([127.0.0.1]:47838 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RsOH4-0003Ku-6o
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2012 19:42:12 -0500
Received: from eggs.gnu.org ([140.186.70.92]:57403)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGy-0003KO-42
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2012 19:42:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGX-0001X2-GM
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2012 19:41:41 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD,
	UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([140.186.70.17]:59572)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGX-0001Wy-Ay
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2012 19:41:37 -0500
Received: from eggs.gnu.org ([140.186.70.92]:47982)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGT-0001w6-Lj
	for bug-libtool@HIDDEN; Tue, 31 Jan 2012 19:41:37 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGP-0001Wh-W9
	for bug-libtool@HIDDEN; Tue, 31 Jan 2012 19:41:33 -0500
Received: from smtp-out-3.desy.de ([131.169.56.86]:57907)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RsOGP-0001Wc-Nf
	for bug-libtool@HIDDEN; Tue, 31 Jan 2012 19:41:29 -0500
Received: from smtp-map-3.desy.de (smtp-map-3.desy.de [131.169.56.68])
	by smtp-out-3.desy.de (DESY_OUT_3) with ESMTP id 7243210C4
	for <bug-libtool@HIDDEN>; Wed,  1 Feb 2012 01:41:26 +0100 (MET)
Received: from ZITSWEEP2.win.desy.de (zitsweep2.win.desy.de [131.169.97.96])
	by smtp-map-3.desy.de (DESY_MAP_3) with ESMTP id 5307810D2
	for <bug-libtool@HIDDEN>; Wed,  1 Feb 2012 01:41:26 +0100 (MET)
Received: from smtp-intra-3.desy.de (lb-40-26.desy.de) by ZITSWEEP2.win.desy.de
	(Clearswift SMTPRS 5.4.1) with ESMTP id
	<Ta242fb95c583a9616014cc@HIDDEN>; 
	Wed, 1 Feb 2012 01:41:26 +0100
Received: from adxf4.win.desy.de (adxf4.win.desy.de [131.169.69.187])
	by smtp-intra-3.desy.de (DESY-INTRA-3) with ESMTP id DF91110C4;
	Wed,  1 Feb 2012 01:41:25 +0100 (MET)
Received: from [192.168.1.5] ([131.169.40.26]) by adxf4.win.desy.de over TLS
	secured channel with Microsoft SMTPSVC(6.0.3790.4675); 
	Wed, 1 Feb 2012 01:41:24 +0100
Message-ID: <4F288A33.9010902@HIDDEN>
Date: Wed, 01 Feb 2012 01:41:23 +0100
From: Juergen Reuter <juergen.reuter@HIDDEN>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7;
	rv:9.0) Gecko/20111222 Thunderbird/9.0.1
MIME-Version: 1.0
To: bug-libtool@HIDDEN
Subject: fixing -shared flags for the nagfor compiler in libtool
Content-Type: multipart/mixed; boundary="------------040100070102070109070607"
X-OriginalArrivalTime: 01 Feb 2012 00:41:24.0543 (UTC)
	FILETIME=[39B0ECF0:01CCE07A]
X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta)
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
Cc: Thorsten Ohl <ohl@HIDDEN>,
	Peter O'Gorman <peter@HIDDEN>,
	"christian.speckner@HIDDEN"
	<christian.speckner@HIDDEN>,
	Wolfgang Kilian <kilian@HIDDEN>, "Boschmann,
	Hans-Werner" <boschmann@HIDDEN>,
	=?ISO-8859-15?Q?J=FCrgen_Reuter?= <juergen.reuter@HIDDEN>,
	Sebastian Schmidt <sebastian.t.schmidt@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

This is a multi-part message in MIME format.
--------------040100070102070109070607
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
this is a fix for the -shared flag in the nagfor compiler, which always 
has triggered
a warning, but is now an error in nagfor v5.3. I changed this from 
-shared to
-Wl,-shared.
I attached the corresponding patch w.r.t. to the current git repository.
Would be cool if you could include that!
Thanks a lot in advance
Cheers,
     JRR

@Peter Gorman:
Will you push the patches for the nagfor compiler on MAC OS X I sent you
on Dec. 13?

---
  m4/libtool.m4 |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 3639851..97beb48 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4821,6 +4821,8 @@ _LT_EOF
         lf95*)                          # Lahey Fortran 8.1
           _LT_TAGVAR(whole_archive_flag_spec, $1)=
           tmp_sharedflag='--shared' ;;
+        nagfor*)                        # NAGFOR 5.3
+          tmp_sharedflag='-Wl,-shared' ;;
         xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC 
(deal with xlf below)
           tmp_sharedflag='-qmkshrobj'
           tmp_addflag= ;;
-- 
1.7.1


-- 
-------------------------------------
Juergen Reuter	
*****
DESY Theory Group
Notkestrasse 85
D-22603 Hamburg
Phone: +49 (0)40 8998-3895
Fax  : +49 (0)40 8998-2777

*****
Skype: jr_reuter
-------------------------------------


--------------040100070102070109070607
Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0";
 name="fix_nagfor_53.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="fix_nagfor_53.patch"

From a74f99d9148d2d660e1ea42a85a92be5ff5edca2 Mon Sep 17 00:00:00 2001
From: Juergen Reuter <reuter@HIDDEN>
Date: Wed, 1 Feb 2012 01:31:11 +0100
Subject: [PATCH] Fixing -shared error message for nagfor compiler.

---
 m4/libtool.m4 |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 3639851..97beb48 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -4821,6 +4821,8 @@ _LT_EOF
 	lf95*)				# Lahey Fortran 8.1
 	  _LT_TAGVAR(whole_archive_flag_spec, $1)=
 	  tmp_sharedflag='--shared' ;;
+        nagfor*)                        # NAGFOR 5.3
+          tmp_sharedflag='-Wl,-shared' ;;
 	xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 	  tmp_sharedflag='-qmkshrobj'
 	  tmp_addflag= ;;
-- 
1.7.1


--------------040100070102070109070607--




Acknowledgement sent to Juergen Reuter <juergen.reuter@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-libtool@HIDDEN. Full text available.
Report forwarded to bug-libtool@HIDDEN:
bug#10685; Package libtool. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.