I tried compiling version 1.4 and current svn using clang-2.9 and get errors like<div><br></div><div>mpich2-1.4$ ./configure --prefix=/home/jed/petsc/mpich-clang CC=clang CFLAGS= -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3  --disable-cxx --disable-f77 --disable-fc --enable-shared --enable-sharedlibs=libtool --with-device=ch3:sock --without-mpe --with-pm=hydra --enable-g=meminit --enable-fast</div>
<div><div>[...]</div><div>configure:6876: error: Creating shared libraries using libtool not yet supported</div></div><div><br></div><div>mpich2-svn$ ./configure --prefix=/home/jed/usr/mpich-clang --enable-shared --enable-sharedlibs=gcc --enable-error-checking=runtime --enable-error-messages=all --enable-timer-type=clock_gettime --with-python=python2 --with-pm=hydra CC=clang CXX=clang++ F77=gfortran FC=gfortran</div>
<div>configure:6846: error: Cannot build shared libraries with this compiler</div><div><br></div><div>It&#39;s not clear to me what test is actually failing here since there doesn&#39;t seem to be any relevant output in config.log. This version of clang certainly can create shared libraries.</div>
<div><br></div><div>Any ideas what is special here?</div>