------- Comment #13 from ebotcazou at gcc dot gnu dot org 2006-05-31 21:25 ------- > I have configured gcc with: > lebegue:[~/gcc-4.1.1/build] > ../configure --prefix=/opt > --enable-threads=posix > --enable-languages=c,c++,fortran,java --with-gnu-as --with-gnu-ld > --with-mpfr=/opt --disable-multilib && make -j2 bootstrap > > thus I only build gcc for a 32 bits solaris system.
The problem is GMP & MPFR: on Solaris, they are built as 64-bit libraries by default. Since you want to build a 32-bit compiler, this cannot work. So you have to coax them into being 32-bit libraries, with the trick given on the page I mentioned. > I need gfortran and I don't understand where is the mistake and why you > cannot reproduce this bug. Maybe because I don't use the same GMP & MPFR. Everything works fine with GMP 4.1.3 + bundled MPFR on all versions of SPARC/Solaris from 2.5.1 to 10 so I'm not really thrilled with upgrading, there would probably be little benefit for the compiler. I should probably add a blurb about that on the configuration page. Now if you posted the *exact* versions and configure lines and make lines for both the GMP and MPFR you use, I could again give it a whirl. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26893