GNU bug report logs - #10236
Enhancement: support for the nagfor compiler in Libtool

Previous Next

Package: libtool;

Reported by: Juergen Reuter <juergen.reuter <at> desy.de>

Date: Tue, 6 Dec 2011 17:27:03 UTC

Severity: normal

To reply to this bug, email your comments to 10236 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-libtool <at> gnu.org:
bug#10236; Package libtool. (Tue, 06 Dec 2011 17:27:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juergen Reuter <juergen.reuter <at> desy.de>:
New bug report received and forwarded. Copy sent to bug-libtool <at> gnu.org. (Tue, 06 Dec 2011 17:27:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juergen Reuter <juergen.reuter <at> desy.de>
To: bug-libtool <at> gnu.org
Cc: juergen.reuter <at> desy.de
Subject: Enhancement: support for the nagfor compiler in Libtool
Date: Tue, 6 Dec 2011 15:20:09 +0100
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
-------------------------------------
 




Information forwarded to bug-libtool <at> gnu.org:
bug#10236; Package libtool. (Thu, 08 Dec 2011 05:34:02 GMT) Full text and rfc822 format available.

Message #8 received at 10236 <at> debbugs.gnu.org (full text, mbox):

From: Peter O'Gorman <peter <at> pogma.com>
To: Juergen Reuter <juergen.reuter <at> desy.de>
Cc: 10236 <at> debbugs.gnu.org
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Wed, 07 Dec 2011 23:32:23 -0600
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 <at> gnu.org:
bug#10236; Package libtool. (Tue, 13 Dec 2011 18:35:01 GMT) Full text and rfc822 format available.

Message #11 received at 10236 <at> debbugs.gnu.org (full text, mbox):

From: Juergen Reuter <juergen.reuter <at> desy.de>
To: "Peter O'Gorman" <peter <at> pogma.com>
Cc: juergen.reuter <at> desy.de, 10236 <at> debbugs.gnu.org
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Tue, 13 Dec 2011 19:33:10 +0100
[Message part 1 (text/plain, inline)]
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
-------------------------------------
 
[enable_nagfor.patch (text/x-patch, attachment)]

Information forwarded to bug-libtool <at> gnu.org:
bug#10236; Package libtool. (Fri, 23 Dec 2011 11:34:02 GMT) Full text and rfc822 format available.

Message #14 received at 10236 <at> debbugs.gnu.org (full text, mbox):

From: Juergen Reuter <juergen.reuter <at> desy.de>
To: "Peter O'Gorman" <peter <at> pogma.com>
Cc: 10236 <at> debbugs.gnu.org
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Fri, 23 Dec 2011 12:30:34 +0100
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 <at> gnu.org:
bug#10236; Package libtool. (Fri, 23 Dec 2011 17:07:01 GMT) Full text and rfc822 format available.

Message #17 received at 10236 <at> debbugs.gnu.org (full text, mbox):

From: Peter O'Gorman <peter <at> pogma.com>
To: Juergen Reuter <juergen.reuter <at> desy.de>
Cc: 10236 <at> debbugs.gnu.org
Subject: Re: bug#10236: Enhancement: support for the nagfor compiler in Libtool
Date: Fri, 23 Dec 2011 11:04:04 -0600
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




This bug report was last modified 13 years and 232 days ago.

Previous Next


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