[mpich-discuss] MPICH 3.1.4 segfaults Clang 3.6.1 and 3.7

Torbjörn Klatt opensource at torbjoern-klatt.de
Wed Sep 2 02:29:11 CDT 2015


Hello,

I'm trying to use MPICH 3.1.4 with Clang and tried Clang 3.6.1 and 3.7. With 
both versions Clang segfaults at the same point:

pt2pt/greq_start.c:239:62: error: alias must point to a defined variable or 
function
        MPIX_Grequest_class *greq_class) 
__attribute__((weak,alias("MPIX_Grequest_class_create")));

I've filed a LLVM bug [1] with more details, however without response yet.


MPICH was configured with:

CC=clang CXX=clang++ /opt/toolchains/src/mpi/mpich/3.1.4/configure --
srcdir=/opt/toolchains/src/mpi/mpich/3.1.4 --
prefix=/opt/toolchains/clang/3.7/libraries/mpi/mpich/3.1.4 --enable-g=most --
enable-fast=all --enable-fortran=all --enable-cxx


Is this a known MPICH problem or am I doing something wrong?


Kind regards,
Torbjörn



[1]: https://llvm.org/bugs/show_bug.cgi?id=24455
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150902/8eb69548/attachment.sig>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list