Jiri, with pgcc/pgCC/pgf* version 13.8 you changed the output of 'pgcc -V' from
pgcc 13.4-0 64-bit target on Linux -tp penryn Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright 2000-2013, STMicroelectronics, Inc. All Rights Reserved. to pgcc 13.8-0 64-bit target on x86-64 Linux -tp penryn Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. Unfortunately, if pgcc/pgCC/pgf* is used via a wrapper, for example as a MPI compiler wrapper, your change breaks autotools-based shared builds. This is due to the following case statement in libtool's 'libltdl/m4/libtool.m4': case `$CC -V 2>&1 | sed 5q` in ... *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ... Providing a libtool patch to handle 'NVIDIA CORPORATION' in this case statement is easy (attached but untested). What isn't easy is to get a patch into a libtool release and to get this release to the users. This basically means that pgcc/pgCC/pgf* version >= 13.8 can not be used for autotools-based shared MPI builds any longer. This affects e.g., Score-P and Scalasca. I don't know about your copyright notice policy at NVIDIA, but you would help users if you would mention the previous copyright holders in 'pgcc -V' as well, e.g., $ pgcc -V pgcc 13.8-0 64-bit target on Linux -tp penryn Copyright (c) 1989-2000, The Portland Group, Inc. All Rights Reserved. Copyright (c) 2000-2013, STMicroelectronics, Inc. All Rights Reserved. Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved. Best, Christian -- Dipl-Phys. Christian Rössel Forschungszentrum Jülich GmbH Jülich Supercomputing Centre Telefon: +49 2461 61-1773 E-Mail: c.roes...@fz-juelich.de Internet: http://www.fz-juelich.de/jsc ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Das Forschungszentrum oeffnet seine Tueren am Sonntag, 29. September, von 10:00 bis 17:00 Uhr: http://www.tagderneugier.de
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 4418a1c..87f2160 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -4500,6 +4500,11 @@ m4_if([$1], [CXX], [ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; + *NVIDIA\ CORPORATION*) + _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' + _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' + _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' + ;; esac ;; esac
_______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool