[mpich-discuss] Building with Clang

Jed Brown jedbrown at mcs.anl.gov
Sat Aug 20 22:00:37 CDT 2011


On Mon, Aug 15, 2011 at 15:46, Dave Goodell <goodell at mcs.anl.gov> wrote:

> Can you send us the c.txt and config.log files indicated in the README?
>  Perhaps there's something that you missed that one of us will spot.  Also,
> be sure to let us know exactly which version of the code that those logs are
> coming from.


Just updated to r8940, c.txt and config.log attached.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110820/0678c9fb/attachment.htm>
-------------- next part --------------
Configuring MPICH2 version 1.5a1 with  '--prefix=/home/jed/usr/mpich-clang' '--enable-shared' '--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'
Running on system: Linux batura 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:18:35 CEST 2011 x86_64 Intel(R) Core(TM) i5-2410M CPU @ 2.30GHz GenuineIntel GNU/Linux
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /bin/grep
checking for fgrep... /bin/grep -F
Creating shared libraries using GNU
checking whether C compiler accepts option -fPIC... yes
checking whether C compiler option -fPIC works with an invalid prototype program... no
checking whether C compiler accepts option -fpic... yes
checking whether C compiler option -fpic works with an invalid prototype program... no
checking whether C compiler accepts option -KPIC... no
configure: error: Cannot build shared libraries with this compiler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 16583 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20110820/0678c9fb/attachment.bin>


More information about the mpich-discuss mailing list