GNU bug report logs -
#32217
Incorrect string check for PGI compilers in libtool.m4
Previous Next
To reply to this bug, email your comments to 32217 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-libtool <at> gnu.org
:
bug#32217
; Package
libtool
.
(Thu, 19 Jul 2018 23:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Anh Huynh <ahuynh <at> nvidia.com>
:
New bug report received and forwarded. Copy sent to
bug-libtool <at> gnu.org
.
(Thu, 19 Jul 2018 23:04: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)]
Hello,
Since 17.1, PGI compilers have changed their -V message to print out
PGI Compilers and Tools
Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
But while determining PIC flag for PGI compilers, m4/libtool.m4 file looks for "*Portland\ Group*" as seen here in line 4784 (http://git.savannah.gnu.org/cgit/libtool.git/tree/m4/libtool.m4#n4784)
*Intel*\ [[CF]]*Compiler*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
;;
*Portland\ Group*)
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
As a result in certain situations the -fpic flag does not get set properly.
Let me know if you need more information.
Thank you.
Anh
[Message part 2 (text/html, inline)]
This bug report was last modified 7 years and 23 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.