GNU bug report logs - #10236
Enhancement: support 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 Tue, 6 Dec 2011 17:27:03 UTC; Maintainer for libtool is bug-libtool@HIDDEN.

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


Received: (at 10236) by debbugs.gnu.org; 23 Dec 2011 17:06:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 23 12:06:27 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Re8Ze-0005p0-At
	for submit <at> debbugs.gnu.org; Fri, 23 Dec 2011 12:06:27 -0500
Received: from pogma.xen.prgmr.com ([68.68.97.8])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <peter@HIDDEN>) id 1Re8Za-0005oo-QV
	for 10236 <at> debbugs.gnu.org; Fri, 23 Dec 2011 12:06:24 -0500
Message-ID: <4EF4B484.6040108@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com AD6A0BF611
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1324659844; bh=9fz04LNjS1WFG/rMguoJmEeptGgHFqmfDjWt8twHwwQ=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=xA9NrAGIee7TCR2zhp9ikmg7Wdnc9QgXxa/X+bpuTS4w9dpa78Q1jIC9nGpW6+M9Y
	MO3T5/IEMt9CkTYAHhdb0kDhIMs1kuyEzBBeTCyP86eDkxptlqgGp0rznJ/1n+nlyh
	NBbGTfkLWnO5kRFSxOmxPZgq/6gx2n8CbKxawndA=
Date: Fri, 23 Dec 2011 11:04:04 -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: bug#10236: Enhancement: support for the nagfor compiler in Libtool
References: <201112061520.09497.juergen.reuter@HIDDEN>
	<4EE04BE7.8020709@HIDDEN>
	<201112131933.10478.juergen.reuter@HIDDEN>
	<201112231230.34469.juergen.reuter@HIDDEN>
In-Reply-To: <201112231230.34469.juergen.reuter@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -3.1 (---)
X-Debbugs-Envelope-To: 10236
Cc: 10236 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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.1 (---)

On 12/23/2011 05:30 AM, Juergen Reuter wrote:
> Dear Peter,
> was the patch file I sent you usable? Will you push it some time soon?
> In any case, merry Christmas and a Happy New Year for you!
> Cheers,
> 	JRR

Sorry, it looked fine. I didn't push it because last time I tried to do 
anything I got some ridiculous error about the gnulib git submodule and 
went back to paid work rather than fixing the problem.

I'll try to catch up on all the libtool bugs in the next couple of weeks.

Peter




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

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


Received: (at 10236) by debbugs.gnu.org; 23 Dec 2011 11:33:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 23 06:33:07 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Re3N0-0005uW-TO
	for submit <at> debbugs.gnu.org; Fri, 23 Dec 2011 06:33:05 -0500
Received: from smtp-out-2.desy.de ([131.169.56.85])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <juergen.reuter@HIDDEN>) id 1Re3Mp-0005tn-Ei
	for 10236 <at> debbugs.gnu.org; Fri, 23 Dec 2011 06:32:57 -0500
Received: from smtp-map-2.desy.de (smtp-map-2.desy.de [131.169.56.67])
	by smtp-out-2.desy.de (DESY_OUT_1) with ESMTP id 02F0D11C1
	for <10236 <at> debbugs.gnu.org>; Fri, 23 Dec 2011 12:30:34 +0100 (MET)
Received: from ZITSWEEP3.win.desy.de (zitsweep3.win.desy.de [131.169.97.97])
	by smtp-map-2.desy.de (DESY_MAP_2) with ESMTP id E8CD411AD
	for <10236 <at> debbugs.gnu.org>; Fri, 23 Dec 2011 12:30:34 +0100 (MET)
Received: from smtp-intra-2.desy.de (lb-40-26.desy.de) by ZITSWEEP3.win.desy.de
	(Clearswift SMTPRS 5.4.1) with ESMTP id
	<Ta1774f856683a96161378@HIDDEN>; 
	Fri, 23 Dec 2011 12:30:34 +0100
Received: from t00pcx17094.localnet (t00pcx17094.desy.de [131.169.210.43])
	by smtp-intra-2.desy.de (DESY-INTRA-2) with ESMTP id 9E2CC11AD;
	Fri, 23 Dec 2011 12:30:34 +0100 (MET)
From: Juergen Reuter <juergen.reuter@HIDDEN>
Organization: DESY
To: "Peter O'Gorman" <peter@HIDDEN>
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Fri, 23 Dec 2011 12:30:34 +0100
User-Agent: KMail/1.12.4 (Linux/2.6.32-131.21.1.el6.x86_64; KDE/4.3.4; x86_64; ;
	)
References: <201112061520.09497.juergen.reuter@HIDDEN>
	<4EE04BE7.8020709@HIDDEN>
	<201112131933.10478.juergen.reuter@HIDDEN>
In-Reply-To: <201112131933.10478.juergen.reuter@HIDDEN>
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Message-Id: <201112231230.34469.juergen.reuter@HIDDEN>
X-Spam-Score: -3.6 (---)
X-Debbugs-Envelope-To: 10236
Cc: 10236 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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 (---)

Dear Peter,
was the patch file I sent you usable? Will you push it some time soon?
In any case, merry Christmas and a Happy New Year for you!
Cheers,
	JRR
-- 
-------------------------------------
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
-------------------------------------
 




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

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


Received: (at 10236) by debbugs.gnu.org; 13 Dec 2011 18:34:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 13 13:34:34 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RaXBR-000281-Mp
	for submit <at> debbugs.gnu.org; Tue, 13 Dec 2011 13:34:34 -0500
Received: from smtp-out-2.desy.de ([131.169.56.85])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RaXBQ-00027u-2u
	for 10236 <at> debbugs.gnu.org; Tue, 13 Dec 2011 13:34:33 -0500
Received: from smtp-map-2.desy.de (smtp-map-2.desy.de [131.169.56.67])
	by smtp-out-2.desy.de (DESY_OUT_1) with ESMTP id EC409F56
	for <10236 <at> debbugs.gnu.org>; Tue, 13 Dec 2011 19:33:11 +0100 (MET)
Received: from ZITSWEEP3.win.desy.de (zitsweep3.win.desy.de [131.169.97.97])
	by smtp-map-2.desy.de (DESY_MAP_2) with ESMTP id CB4C0F55
	for <10236 <at> debbugs.gnu.org>; Tue, 13 Dec 2011 19:33:11 +0100 (MET)
Received: from smtp-intra-2.desy.de (lb-40-26.desy.de) by ZITSWEEP3.win.desy.de
	(Clearswift SMTPRS 5.4.1) with ESMTP id
	<Ta14552d6b383a96161fa0@HIDDEN>; 
	Tue, 13 Dec 2011 19:33:11 +0100
Received: from t00pcx17094.localnet (t00pcx17094.desy.de [131.169.210.43])
	by smtp-intra-2.desy.de (DESY-INTRA-2) with ESMTP id 9C5BAF55;
	Tue, 13 Dec 2011 19:33:10 +0100 (MET)
From: Juergen Reuter <juergen.reuter@HIDDEN>
Organization: DESY
To: "Peter O'Gorman" <peter@HIDDEN>
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Tue, 13 Dec 2011 19:33:10 +0100
User-Agent: KMail/1.12.4 (Linux/2.6.32-131.21.1.el6.x86_64; KDE/4.3.4; x86_64; ;
	)
References: <201112061520.09497.juergen.reuter@HIDDEN>
	<4EE04BE7.8020709@HIDDEN>
In-Reply-To: <4EE04BE7.8020709@HIDDEN>
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_mp55OCaILfxLsXW"
Message-Id: <201112131933.10478.juergen.reuter@HIDDEN>
X-Spam-Score: -4.6 (----)
X-Debbugs-Envelope-To: 10236
Cc: juergen.reuter@HIDDEN, 10236 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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.9 (---)

--Boundary-00=_mp55OCaILfxLsXW
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

On Thursday 08 December 2011 06:32:23 you wrote:
> On 12/06/2011 08:20 AM, Juergen Reuter wrote:
> 
> Hi,
> 
> > Dear all,
> > this is a bug report, but a feature request. In order to have support for
> > the nagfor Fortran compiler which is used in the quality assignment of
> > our software project it would be great to have included the following two
> > minor changes in the libtool setup w.r.t. to  the stable version 2.4.2:
> >
> > in ltmain.sh (for linking on Darwin systems only)
> 
> If you send a git format-patch type patch for current git libtool, I'd
> be happy to push it for you.
> 
> Peter
> 

Hi Peter,
here is the the git-type patch file for you w.r.t. to the recent git repo.
Hope I did it correctly.
Would be great to have this in libtool in the future, thanks a lot in advance!
Cheers,
	JRR

-- 
-------------------------------------
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
-------------------------------------
 

--Boundary-00=_mp55OCaILfxLsXW
Content-Type: text/x-patch;
  charset="UTF-8";
  name="enable_nagfor.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="enable_nagfor.patch"

=46rom 12fd3fca8a1f09a2b3816a07fb2044fbf5358a43 Mon Sep 17 00:00:00 2001
=46rom: Juergen Reuter <reuter@HIDDEN>
Date: Tue, 13 Dec 2011 19:18:08 +0100
Subject: [PATCH] Enable nagfor fortran compiler support

=2D--
 build-aux/ltmain.m4sh |    9 +++++++++
 m4/libtool.m4         |   16 +++++++++++++++-
 2 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index 922e957..5916423 100644
=2D-- a/build-aux/ltmain.m4sh
+++ b/build-aux/ltmain.m4sh
@@ -6645,6 +6645,15 @@ func_mode_link ()
 	  minor_current=3D$func_arith_result
 	  xlcverstring=3D"$wl-compatibility_version $wl$minor_current $wl-current=
_version $wl$minor_current.$revision"
 	  verstring=3D"-compatibility_version $minor_current -current_version $mi=
nor_current.$revision"
+          # On Darwin other compilers
+          case $CC in
+              nagfor*)
+                  verstring=3D"${wl}-compatibility_version ${wl}$minor_cur=
rent ${wl}-current_version ${wl}$minor_current.$revision"
+                  ;;
+              *)
+                  verstring=3D"-compatibility_version $minor_current -curr=
ent_version $minor_current.$revision"
+                  ;;
+          esac
 	  ;;
=20
 	freebsd-aout)
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 9c2574f..24c03ad 100644
=2D-- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1094,7 +1094,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
   _LT_TAGVAR(link_all_deplibs, $1)=3Dyes
   _LT_TAGVAR(allow_undefined_flag, $1)=3D$_lt_dar_allow_undefined
   case $cc_basename in
=2D     ifort*) _lt_dar_can_shared=3Dyes ;;
+     ifort*|nagfor*) _lt_dar_can_shared=3Dyes ;;
      *) _lt_dar_can_shared=3D$GCC ;;
   esac
   if test yes =3D "$_lt_dar_can_shared"; then
@@ -4304,6 +4304,20 @@ m4_if([$1], [CXX], [
       fi
       ;;
=20
+    darwin* | rhapsody*)
+      # PIC is the default on this platform
+      # Common symbols not allowed in MH_DYLIB files
+      _LT_TAGVAR(lt_prog_compiler_pic, $1)=3D'-fno-common'
+      case $cc_basename in
+      nagfor*)
+        # NAG Fortran compiler
+        _LT_TAGVAR(lt_prog_compiler_wl, $1)=3D'-Wl,-Wl,,'
+        _LT_TAGVAR(lt_prog_compiler_pic, $1)=3D'-PIC'
+        _LT_TAGVAR(lt_prog_compiler_static, $1)=3D'-Bstatic'
+        ;;
+      esac
+      ;;
+
     mingw* | cygwin* | pw32* | os2* | cegcc*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for exampl=
e).
=2D-=20
1.7.1


--Boundary-00=_mp55OCaILfxLsXW--




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

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


Received: (at 10236) by debbugs.gnu.org; 8 Dec 2011 05:33:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 08 00:33:17 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RYWbc-0003A9-Ie
	for submit <at> debbugs.gnu.org; Thu, 08 Dec 2011 00:33:17 -0500
Received: from pogma.xen.prgmr.com ([68.68.97.8])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <peter@HIDDEN>) id 1RYWbZ-0003A0-0q
	for 10236 <at> debbugs.gnu.org; Thu, 08 Dec 2011 00:33:14 -0500
Message-ID: <4EE04BE7.8020709@HIDDEN>
X-DKIM: Sendmail DKIM Filter v2.8.3 pogma.xen.prgmr.com 4B9E4BF5CD
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pogma.com; s=pogmail;
	t=1323322344; bh=QEjDsJTF9T1t40TwM6tCA5ZV1pV2a4KF79YR4JeAaCg=;
	h=Date:From:MIME-Version:To:CC:Subject:References:In-Reply-To:
	Content-Type:Content-Transfer-Encoding;
	b=bCWr03goLDIeO43YjanyUodh9lzlED7kFjigkQKTzL8eJcAwAZb5Jo/9c/OhYtynL
	vJk2pX/KYSU7ACQzWlZpW9PQnfI+17zAsSX06kFMgcIfszdmGBrbcRUQ3cFe1ooLwL
	Oc8ekyr5hax+eB4YjZQoLKmRbh2RxAXX7xSQj+0E=
Date: Wed, 07 Dec 2011 23:32:23 -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: bug#10236: Enhancement: support for the nagfor compiler in Libtool
References: <201112061520.09497.juergen.reuter@HIDDEN>
In-Reply-To: <201112061520.09497.juergen.reuter@HIDDEN>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -3.1 (---)
X-Debbugs-Envelope-To: 10236
Cc: 10236 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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.0 (---)

On 12/06/2011 08:20 AM, Juergen Reuter wrote:

Hi,

> Dear all,
> this is a bug report, but a feature request. In order to have support for the
> nagfor Fortran compiler which is used in the quality assignment of our
> software project it would be great to have included the following two minor
> changes in the libtool setup w.r.t. to  the stable version 2.4.2:
>
> in ltmain.sh (for linking on Darwin systems only)

If you send a git format-patch type patch for current git libtool, I'd 
be happy to push it for you.

Peter




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

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


Received: (at submit) by debbugs.gnu.org; 6 Dec 2011 17:26:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 06 12:26:45 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RXymx-00039R-N4
	for submit <at> debbugs.gnu.org; Tue, 06 Dec 2011 12:26:44 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvtL-0006XG-8I
	for submit <at> debbugs.gnu.org; Tue, 06 Dec 2011 09:21:14 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvse-0003Xi-Rd
	for submit <at> debbugs.gnu.org; Tue, 06 Dec 2011 09:20:29 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,
	UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:54034)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvse-0003Xc-Pt
	for submit <at> debbugs.gnu.org; Tue, 06 Dec 2011 09:20:24 -0500
Received: from eggs.gnu.org ([140.186.70.92]:34133)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvsb-0006e5-2g
	for bug-libtool@HIDDEN; Tue, 06 Dec 2011 09:20:24 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvsT-0003Ue-BD
	for bug-libtool@HIDDEN; Tue, 06 Dec 2011 09:20:21 -0500
Received: from smtp-out-2.desy.de ([131.169.56.85]:52324)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <juergen.reuter@HIDDEN>) id 1RXvsT-0003TL-5O
	for bug-libtool@HIDDEN; Tue, 06 Dec 2011 09:20:13 -0500
Received: from smtp-map-2.desy.de (smtp-map-2.desy.de [131.169.56.67])
	by smtp-out-2.desy.de (DESY_OUT_1) with ESMTP id 59AF2ED9
	for <bug-libtool@HIDDEN>; Tue,  6 Dec 2011 15:20:10 +0100 (MET)
Received: from ZITSWEEP3.win.desy.de (zitsweep3.win.desy.de [131.169.97.97])
	by smtp-map-2.desy.de (DESY_MAP_2) with ESMTP id 50C28ED8
	for <bug-libtool@HIDDEN>; Tue,  6 Dec 2011 15:20:10 +0100 (MET)
Received: from smtp-intra-1.desy.de (lb-40-26.desy.de) by ZITSWEEP3.win.desy.de
	(Clearswift SMTPRS 5.4.1) with ESMTP id
	<Ta1205eac9383a96161fa0@HIDDEN> for
	<bug-libtool@HIDDEN>; Tue, 6 Dec 2011 15:20:10 +0100
Received: from t00pcx17094.localnet (t00pcx17094.desy.de [131.169.210.43])
	by smtp-intra-1.desy.de (DESY-INTRA-1) with ESMTP id EBC043E901;
	Tue,  6 Dec 2011 15:20:09 +0100 (MET)
From: Juergen Reuter <juergen.reuter@HIDDEN>
Organization: DESY
To: bug-libtool@HIDDEN
Subject: Enhancement: support for the nagfor compiler in Libtool
Date: Tue, 6 Dec 2011 15:20:09 +0100
User-Agent: KMail/1.12.4 (Linux/2.6.32-131.21.1.el6.x86_64; KDE/4.3.4; x86_64; ;
	)
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-Id: <201112061520.09497.juergen.reuter@HIDDEN>
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: -6.6 (------)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 06 Dec 2011 12:26:42 -0500
Cc: juergen.reuter@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
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: -6.6 (------)

Dear all,
this is a bug report, but a feature request. In order to have support for the 
nagfor Fortran compiler which is used in the quality assignment of our 
software project it would be great to have included the following two minor 
changes in the libtool setup w.r.t. to  the stable version 2.4.2:

in ltmain.sh (for linking on Darwin systems only)

--- ltmain.sh	2011-12-06 14:46:16.000000000 +0100
+++ libtool-2.4.2/libltdl/config/ltmain.sh	2011-10-17 12:19:35.000000000 
+0200
@@ -7406,15 +7406,6 @@
 	  minor_current=$func_arith_result
 	  xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-
current_version ${wl}$minor_current.$revision"
 	  verstring="-compatibility_version $minor_current -current_version 
$minor_current.$revision"
-          # On Darwin other compilers
-          case $CC in
-              nagfor*)
-                  verstring="${wl}-compatibility_version ${wl}$minor_current 
${wl}-current_version ${wl}$minor_current.$revision"
-                  ;;
-              *)
-                  verstring="-compatibility_version $minor_current -
current_version $minor_current.$revision"
-                  ;;
-          esac
 	  ;;
 
 	freebsd-aout)



and in libtool.m4



--- libtool.m4  2011-12-06 15:04:19.000000000 +0100
+++ ../libtool-2.4.2/libltdl/m4/libtool.m4      2011-10-17 12:17:05.000000000 
+0200
@@ -1097,7 +1097,7 @@
   _LT_TAGVAR(link_all_deplibs, $1)=yes
   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
   case $cc_basename in
-     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
+     ifort*) _lt_dar_can_shared=yes ;;
      *) _lt_dar_can_shared=$GCC ;;
   esac
   if test "$_lt_dar_can_shared" = "yes"; then
@@ -4307,20 +4307,6 @@
       fi
       ;;
 
-    darwin* | rhapsody*)
-      # PIC is the default on this platform
-      # Common symbols not allowed in MH_DYLIB files
-      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'       
-      case $cc_basename in 
-      nagfor*)
-       # NAG Fortran compiler
-       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
-       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
-       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
-       ;;
-      esac
-      ;;
-
     mingw* | cygwin* | pw32* | os2* | cegcc*)
       # This hack is so that the source file can tell whether it is being
       # built for inclusion in a dll (and should export symbols for example).



Cheers,
	JRR
-- 
-------------------------------------
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
-------------------------------------
 




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#10236; 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: Fri, 31 Oct 2014 17:00:04 UTC

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