[mpich-discuss] Error building mpich-master-v3.2a2 on Solaris with Sun C 5.12

Kenneth Raffenetti raffenet at mcs.anl.gov
Mon Nov 17 22:11:26 CST 2014


Hi Siegmar,

The attached patch (already in master) should fix this issue. Thanks for 
reporting.

Ken

On 11/17/2014 02:26 AM, Siegmar Gross wrote:
> Hi,
>
> today I tried to build mpich-master-v3.2a2 on Solaris 10 Sparc
> and Solaris 10 x86_64 with Sun C 5.12. The process broke with
> the following errors on both machines.
>
> tyr mpich-master-v3.2a2-SunOS.x86_64.64_cc 611 tail -20 log.make.SunOS.x86_64.64_cc
> "/export2/src/mpich-3.2/mpich-master-v3.2a2/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 151: warning: parameter in inline asm statement unused: %1
> "/export2/src/mpich-3.2/mpich-master-v3.2a2/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 159: warning: parameter in inline asm statement unused: %3
> "/export2/src/mpich-3.2/mpich-master-v3.2a2/src/openpa/src/primitives/opa_gcc_intel_32_64_ops.h", line 167: warning: parameter in inline asm statement unused: %3
> "../mpich-master-v3.2a2/src/mpid/ch3/channels/nemesis/include/mpid_nem_datatypes.h", line 156: warning: syntax error:  empty member declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/channels/nemesis/include/mpid_nem_datatypes.h", line 161: warning: syntax error:  empty member declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/include/mpidi_recvq_statistics.h", line 13: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 95: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 96: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 97: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 98: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 99: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 100: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 103: warning: syntax error:  empty declaration
> "../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c", line 598: undefined symbol: false
> cc: acomp failed for ../mpich-master-v3.2a2/src/mpid/ch3/src/ch3u_recvq.c
> make[2]: *** [src/mpid/ch3/src/lib_libmpi_la-ch3u_recvq.lo] Error 1
> make[2]: Leaving directory `/export2/src/mpich-3.2/mpich-master-v3.2a2-SunOS.x86_64.64_cc'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/export2/src/mpich-3.2/mpich-master-v3.2a2-SunOS.x86_64.64_cc'
> make: *** [all] Error 2
> tyr mpich-master-v3.2a2-SunOS.x86_64.64_cc 612
>
> I used the following configure command.
>
> tyr mpich-master-v3.2a2-SunOS.x86_64.64_cc 619 head config.log | grep mpich
>    $ ../mpich-master-v3.2a2/configure --prefix=/usr/local/mpich-3.2_64_cc --libdir=/usr/local/mpich-3.2_64_cc/lib64 --includedir=/usr/local/mpich-3.2_64_cc/include64 CC=cc CXX=CC
> F77=f77 FC=f95 CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 LDFLAGS=-m64 -L/usr/lib/amd64 -R/usr/lib/amd64 --enable-f77 --enable-fc --enable-cxx --enable-romio
> --enable-debuginfo --enable-smpcoll --enable-threads=runtime --with-thread-package=posix --enable-shared
> tyr mpich-master-v3.2a2-SunOS.x86_64.64_cc 620
>
>
>
> I was able to build the package with gcc-4.9.2. Can somebody
> fix the errors for Sun C 5.12? Thank you very much for any
> help in advance.
>
>
> Kind regards
>
> Siegmar
>
> _______________________________________________
> 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