Bugs from "make check"
marc.glisse at normalesup.org
Sun Mar 11 11:18:08 CET 2007
On Sat, 10 Mar 2007, Pradeep Fernando wrote:
> Below is a list of error messages I received while installing gmp-4.2.1
> on a Sun Sparc machine. One thing to be noted is that I am trying to
> install GMP in a different build directory and I used "gmake" to compile.
> The error messages were obtained during "gmake check":
> ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
> FAIL: t-bswap
this is caused by a not-so-good installation of gcc (what most people
have). If you add -R/usr/local/lib/sparcv9 to the LDFLAGS you should be
fine. If you use ABI=32 you should be fine as well. I don't really know
why /usr/local/lib ends up in the rpath, it could be either gcc, or
someone used crle in a wrong way, or gmp added it (which probably means
you are trying to install the 64 bit libgmp in /usr/local/lib which is
very wrong), or something else.
More information about the gmp-bugs