[mpich-discuss] Error building mpich-3.1.2 on Solaris 10 withgcc-4.9.0

Kenneth Raffenetti raffenet at mcs.anl.gov
Wed Sep 10 02:40:50 CDT 2014


Siegmar,

I was able to reproduce the issue on my machine. Libtool seems to not be 
able to handle the rpath value specified in LDFLAGS in combination with 
its own rpath setting. Modifying your configure time LDFLAGS like this 
should allow you to complete the build:

LDFLAGS=-m64 -L/usr/lib/amd64 -Wl,-rpath -Wl,/usr/lib/amd64

I'm going to keep investigating, though, why this only appears in this 
specific configuration.

Ken

On 09/07/2014 03:58 PM, Siegmar Gross wrote:
> Hi,
>
>>>> Thanks, Siegmar.  Are you seeing some errors with â?omake t
>>>> testing� or are all tests failing?  On some platforms, s
>>>> some tests take longer and hence show up as â?otimeoutsâ?, but
>>>> they are not really hanging.  But the number of such tests
>>>> should be small.
>>>
>>> I see some bus errors on Solaris 10 Sparc. I attached the log
>>> files for both Solaris 10 Sparc and x86_64, so that you can
>>> see yourself the results.
>>>
>>> Kind regards
>>>
>>> Siegmar
>>>
>>
>> Can you send the output of:
>>
>> gcc -v
>> g++ -v
>> gfortran -v
>>
>> Just want to double check the build configuration so I can match it on
>> my test setup.
>
>
> Solaris 10 x86_64:
> ==================
>
> sunpc1 root 2 gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_x86_64/gcc-4.9.0/bin/../libexec/gcc/i386-pc-solaris2.10/4.9.0/lto-wrapper
> Target: i386-pc-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gmp=/usr/local --with-mpfr=/usr/local
> --with-mpc=/usr/local --with-isl=/usr/local --with-cloog=/usr/local --without-gnu-ld --with-ld=/usr/ccs/bin/ld ABI=32
> --enable-languages=c,c++,objc,obj-c++,fortran --disable-nls --enable-threads=posix --disable-libgcj --with-system-zlib
> --enable-shared --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
>
> sunpc1 root 3 g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_x86_64/gcc-4.9.0/bin/../libexec/gcc/i386-pc-solaris2.10/4.9.0/lto-wrapper
> Target: i386-pc-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gmp=/usr/local --with-mpfr=/usr/local
> --with-mpc=/usr/local --with-isl=/usr/local --with-cloog=/usr/local --without-gnu-ld --with-ld=/usr/ccs/bin/ld ABI=32
> --enable-languages=c,c++,objc,obj-c++,fortran --disable-nls --enable-threads=posix --disable-libgcj --with-system-zlib
> --enable-shared --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
>
> sunpc1 root 4 gfortran -v
> Using built-in specs.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_x86_64/gcc-4.9.0/bin/../libexec/gcc/i386-pc-solaris2.10/4.9.0/lto-wrapper
> Target: i386-pc-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gmp=/usr/local --with-mpfr=/usr/local
> --with-mpc=/usr/local --with-isl=/usr/local --with-cloog=/usr/local --without-gnu-ld --with-ld=/usr/ccs/bin/ld ABI=32
> --enable-languages=c,c++,objc,obj-c++,fortran --disable-nls --enable-threads=posix --disable-libgcj --with-system-zlib
> --enable-shared --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
> sunpc1 root 5
>
>
> Solaris 10 Sparc:
> =================
>
> tyr root 2 gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_sparc/gcc-4.9.0/bin/../libexec/gcc/sparc-sun-solaris2.10/4.9.0/lto-wrapper
> Target: sparc-sun-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gnu-as --with-as=/usr/local/bin/as
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-system-zlib --enable-languages=c,c++,objc,fortran,java
> --enable-java-gc=boehm --enable-multilib --disable-libgcj --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
>
> tyr root 3 g++ -v
> Using built-in specs.
> COLLECT_GCC=g++
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_sparc/gcc-4.9.0/bin/../libexec/gcc/sparc-sun-solaris2.10/4.9.0/lto-wrapper
> Target: sparc-sun-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gnu-as --with-as=/usr/local/bin/as
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-system-zlib --enable-languages=c,c++,objc,fortran,java
> --enable-java-gc=boehm --enable-multilib --disable-libgcj --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
>
> tyr root 4 gfortran -v
> Using built-in specs.
> COLLECT_GCC=gfortran
> COLLECT_LTO_WRAPPER=/export2/prog/SunOS_sparc/gcc-4.9.0/bin/../libexec/gcc/sparc-sun-solaris2.10/4.9.0/lto-wrapper
> Target: sparc-sun-solaris2.10
> Configured with: ../gcc-4.9.0/configure --prefix=/usr/local/gcc-4.9.0 --with-gnu-as --with-as=/usr/local/bin/as
> --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-nls --with-system-zlib --enable-languages=c,c++,objc,fortran,java
> --enable-java-gc=boehm --enable-multilib --disable-libgcj --enable-bootstrap
> Thread model: posix
> gcc version 4.9.0 (GCC)
> tyr root 5
>
>
> Kind regards
>
> Siegmar
>



More information about the discuss mailing list