GNU bug report logs -
#10685
fixing -shared flags for the nagfor compiler in libtool
Previous Next
To reply to this bug, email your comments to 10685 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#10685
; Package
libtool
.
(Wed, 01 Feb 2012 00:43:01 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
.
(Wed, 01 Feb 2012 00:43:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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
-------------------------------------
[fix_nagfor_53.patch (text/plain, attachment)]
Information forwarded
to
bug-libtool <at> gnu.org
:
bug#10685
; Package
libtool
.
(Sun, 19 Feb 2012 22:27:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
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= ;;
This bug report was last modified 13 years and 174 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.