This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shipping gmp and mpfr with gcc-4.0?



On Feb 16, 2005, at 2:13 AM, Eric Botcazou wrote:


I tried this evening to install gmp-4.1.4 and mpfr-2.1.0 on my Solaris
machines and I failed on the first try.  (I think the default install
for gmp on my machines is a 64-bit version, but the default for mpfr
and gcc is 32-bit, so I'm going to have to figure out how to configure
everything to match.)

./configure sparc-sun-solaris2.9 --prefix=xxx --enable-mpfr

After explicitly specifying --build=sparc-sun-solaris2.9 with gmp-4.1.4, downloading a more recent mpfr and building it with --build=sparc-sun-solaris2.9, specifying


../configure --host=sparc-sun-solaris2.9 --build=sparc-sun-solaris2.9 --target=sparc-sun-solaris2.9 --prefix=/export/users/lucier/local/gcc-mainline --with-gmp=/pkgs/gmp-4.1.4 --with-mpfr=/pkgs/gmp-4.1.4 ; make -j 1 bootstrap >& build.log

the build failed the first time gfortran tried to compile something with the error

/homes/lucier/programs/gcc/mainline/objdir/gcc/gfortran -B/homes/lucier/programs/gcc/mainline/objdir/gcc/ -B/export/users/lucier/local/gcc-mainline/sparc-sun-solaris2.9/bin/ -B/export/users/lucier/local/gcc-mainline/sparc-sun-solaris2.9/lib/ -isystem /export/users/lucier/local/gcc-mainline/sparc-sun-solaris2.9/include -isystem /export/users/lucier/local/gcc-mainline/sparc-sun-solaris2.9/sys- include -Wall -fno-repack-arrays -fno-underscoring -c ../../../libgfortran/intrinsics/selected_int_kind.f90 -fPIC -DPIC -o .libs/selected_int_kind.o
ld.so.1: /homes/lucier/programs/gcc/mainline/objdir/gcc/f951: fatal: libgmp.so.3: open failed: No such file or directory
gfortran: Internal error: Killed (program f951)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [selected_int_kind.lo] Error 1
make[3]: Leaving directory `/export/users/lucier/programs/gcc/mainline/objdir/sparc-sun- solaris2.9/libgfortran'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/users/lucier/programs/gcc/mainline/objdir/sparc-sun- solaris2.9/libgfortran'
make[1]: *** [all-target-libgfortran] Error 2
make[1]: Leaving directory `/export/users/lucier/programs/gcc/mainline/objdir'
make: *** [bootstrap] Error 2


So now what? Not build shared libraries for gmp? Add /pkgs/gmp-4.1.4 to my LD_LIBRARY_PATH? Find another configure option for GCC that I overlooked?

This is supposed to be straightforward?

Brad


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]