[mpich-discuss] couldn't build mpich-master-v3.1.1-56-g9d5ce23c on Solaris 10 x86_64 with gcc-4.9.0

Rob Latham robl at mcs.anl.gov
Mon Jul 7 10:26:08 CDT 2014



On 07/06/2014 04:52 AM, Siegmar Gross wrote:

>
>
> Next I checked my file "log.make.SunOS.x86_64.64_gcc" and got the
> following error.
>
> ...
>    CC       adio/common/ad_prealloc.lo
>    CC       adio/common/ad_read.lo
> In file included from /usr/include/unistd.h:18:0,
>                   from
> ../../../../mpich-master-v3.1.1-56-g9d5ce23c/src/mpi/romio/adio/common/ad_read.c
> :10:
> /export2/prog/SunOS_x86_64/gcc-4.9.0/lib/gcc/i386-pc-solaris2.10/4.9.0/include-f
> ixed/sys/feature_tests.h:350:2:
>    error: #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001
>    applications       require the use of c99"
>   #error "Compiler or options invalid; UNIX 03 and POSIX.1-2001 applications \
>    ^
> make[3]: *** [adio/common/ad_read.lo] Error 1

As for this one problem, Ken and I have been working on a patch set to 
fix this issue.


> I solved this problem setting CFLAGS to "-m64 -std=c11". Starting
> once more with an empty directory, I got the same error as with
> mpich-3.1.1.
>
> ...
>    CXX      src/binding/cxx/initcxx.lo
>    CXXLD    lib/libmpicxx.la
> ld: fatal: file libmpicxx.so.12: open failed: No such file or directory
> ld: fatal: file processing errors. No output written to
> lib/.libs/libmpicxx.so.12.0.1
> collect2: error: ld returned 1 exit status
> make[2]: *** [lib/libmpicxx.la] Error 1
> ...
>

Sounds like we'll run into this one next.  Thanks for the heads-up. Not 
sure (yet!) how to fix it. We relatively recently added solaris to our 
buildbot, so after these rounds of porting issues we should stop regressing.

==rob

-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA



More information about the discuss mailing list