gmp-4.3.1 bombs 9/9 on Solaris 10 with gcc-4.3.3

Edwards, Mark C. MARK.C.EDWARDS at
Mon Jun 29 08:30:11 CEST 2009

   I had to summarize the error messages as the build occurs on a
classified system. One of my colleagues recommended setting the
host= and target= parameters to configure as a potential solution.
I will try that tomorrow when I return to work.

Mark Edwards

-----Original Message-----
From: Marc Glisse [mailto:marc.glisse at]
Sent: Sat 6/27/2009 2:27 AM
To: Edwards, Mark C.
Cc: gmp-bugs at; Pate, Matthew A.; Stanfill, Debra Condrey
Subject: Re: gmp-4.3.1 bombs 9/9 on Solaris 10 with gcc-4.3.3
On Fri, 26 Jun 2009, Edwards, Mark C. wrote:

> I just pulled the current gmp-4.3.1 code, ran "configure
> -prefix=/opt/gnu", then make.
> The compiler is the Code Sourcery build of gcc-4.3.3 for Solaris2.8. The
> OS is Solaris 10.
> It appears the configure script is picking up 64-bit routines.  I would
> prefer 32-bit.  After
> running configure and compiling, I ran the "make check" as suggested.
> All of the messages
> complained about wrong ELF class ELFCLASS32.  Any suggestions?  This
> build is a prerequisite
> for the gfortran compiler.


You can copy-paste your error message in google (will point to old 
messages on this list) to find out how your gcc installation is broken and 
some ways to work around it if you want 64 bits.

You can also link the directory with the gmp sources in the gcc source 
directory (as described in the gcc installation instructions) so that it 
gets built automatically at the same time as gcc and hopefully with 
acceptable default options (I haven't checked).

Next time, please copy-paste error messages in your emails, it is much 
easier to determine what is going on than with a paraphrase.

Marc Glisse

More information about the gmp-bugs mailing list