[mpich-discuss] Error in compiling MPICH on Mac desktop

Ghosh, Debojyoti ghosh5 at llnl.gov
Wed Oct 28 12:46:20 CDT 2015


Hi,

I am getting a compilation error while trying to compile MPICH on my Mac desktop. I installed the latest GNU compilers using Homebrew.

> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/5.2.0/libexec/gcc/x86_64-apple-darwin14.5.0/5.2.0/lto-wrapper
Target: x86_64-apple-darwin14.5.0
Configured with: ../configure --build=x86_64-apple-darwin14.5.0 --prefix=/usr/local/Cellar/gcc/5.2.0 --libdir=/usr/local/Cellar/gcc/5.2.0/lib/gcc/5 --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-5 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --enable-libstdcxx-time=yes --enable-stage1-checking --enable-checking=release --enable-lto --with-build-config=bootstrap-debug --disable-werror --with-pkgversion='Homebrew gcc 5.2.0' --with-bugurl=https://github.com/Homebrew/homebrew/issues --enable-plugin --disable-nls --enable-multilib
Thread model: posix
gcc version 5.2.0 (Homebrew gcc 5.2.0)

I am getting the following error while compiling MPICH:
  CC       src/mpltrmem.lo
/var/folders/qf/q3tp7kgn0gz6qj5_c2nr4qqm001qq3/T//ccyirdXM.s:491:suffix or operands invalid for `movq'
/var/folders/qf/q3tp7kgn0gz6qj5_c2nr4qqm001qq3/T//ccyirdXM.s:495:suffix or operands invalid for `movq'
make[2]: *** [src/mpltrmem.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I have attached the configure log c.txt and the make log m.txt.

Thanks,
Debo

--
Debojyoti Ghosh
ghosh5 at llnl.gov<mailto:ghosh5 at llnl.gov>
http://debog.github.io/


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151028/fc498aa0/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: c.txt
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151028/fc498aa0/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m.txt
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20151028/fc498aa0/attachment-0001.txt>
-------------- 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