Bugs from "make check"

Michael Abshoff Michael.Abshoff at fsmath.mathematik.uni-dortmund.de
Sun Mar 11 13:26:34 CET 2007

Pradeep Fernando wrote:
> Hi:
>    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":



> gmake[4]: Entering directory `/home/vlsi2/prfernan/work/gmp/build/tests'
> ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:

t-bswap fails to link due to the fact that libgcc_s.so.1 is 32 bits, while
you compiled the library in 64 bit mode. So set your LD_LIBRARY_PATH to
the 64 bit lib directory of the gcc you used. Changes are it is something
like $(PATHTOGCC)/lib/sparcv9/ or $(PATHTOGCC)/lib64/, depending what CPU
you use. The same problem obviously applies to the other tests.



> Please advise.
> Best Regards,
> Pradeep Fernando.
> Research Assistant,
> Department of Computer Science and Engineering,
> Univeristy of South Florida,
> Tampa, FL-33620.
> _______________________________________________
> gmp-bugs mailing list
> gmp-bugs at swox.com
> https://gmplib.org/mailman/listinfo/gmp-bugs

More information about the gmp-bugs mailing list