GNU bug report logs -
#27509
PGI compiler detection in libtool.m4
Previous Next
To reply to this bug, email your comments to 27509 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#27509
; Package
libtool
.
(Tue, 27 Jun 2017 20:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
"Dong, Min" <mdong <at> odu.edu>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Tue, 27 Jun 2017 20:36: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,
PGI compiler since 2017 has changed their default version output.
Before 2017:
$ pgcc -V
pgcc 16.9-0 64-bit target on x86-64 Linux -tp sandybridge
The Portland Group - PGI Compilers and Tools
Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
After 2017:
$ pgcc -V
pgcc 17.5-0 64-bit target on x86-64 Linux -tp sandybridge
PGI Compilers and Tools
Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
This caused configure script unable to detect compiler correctly, when it is in a wrapper such as mpicc.
Patch:
--- m4/libtool.m4.orig 2017-06-27 13:40:45.538501739 -0400
+++ m4/libtool.m4 2017-06-27 13:41:03.109205222 -0400
@@ -4759,7 +4759,7 @@
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
- *Portland\ Group*)
+ *Portland\ Group* | *PGI\ Compilers*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
Best,
Min Dong
[Message part 2 (text/html, inline)]
This bug report was last modified 8 years and 54 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.