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

Rob Latham robl at mcs.anl.gov
Wed Sep 2 16:57:57 CDT 2015



On 09/02/2015 02:29 AM, Torbjörn Klatt wrote:
> 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?

It's been a long-standing annoyance on our end as well:

We sort of fixed this two+ years ago:
http://trac.mpich.org/projects/mpich/ticket/1815

then something happened about 6-ish months ago:
http://trac.mpich.org/projects/mpich/ticket/2236

My ubuntu bug report appears to have garnered exactly zero attention:
https://bugs.launchpad.net/ubuntu/+source/llvm-toolchain-snapshot/+bug/1439865

As it's a clang compiler error, it's hard to know what the workaround 
would be.  Thanks for trying 3.6.1 and 3.7.    At least we can rule out 
"fixed in newer versions"

You will find this same segfault in mpich-master: we haven't done 
anything on our end to work around it, unfortunately.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
_______________________________________________
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