FAIL gmp-4.2 on Solaris 8 with gcc 3.6.6

Torbjorn Granlund tege at
Mon Mar 27 18:09:04 CEST 2006

"Thurn, Martin" <martin.thurn at> writes:

  gcc -O2 -m64 -mptr64 -mcpu=ultrasparc3 -o .libs/t-sub t-sub.o
  ./.libs/libtests.a /disk1/src/GNU/gmp-4.2/.libs/
  ../.libs/ -Wl,--rpath -Wl,/usr/local/lib
  creating t-sub
  make[4]: Leaving directory `/disk1/src/GNU/gmp-4.2/tests'
  /usr/local/bin/make  check-TESTS
  make[4]: Entering directory `/disk1/src/GNU/gmp-4.2/tests' t-bswap: fatal: /usr/local/lib/ wrong ELF class:
  FAIL: t-bswap

This is a problem with gcc or your gcc installation.  You will see the
very same problem if you try to compiler a hello.c program in 64-bit

You might get some joy by setting LD_LIBRARY_PATH to the right file; you'd need to figure out the details.


More information about the gmp-bugs mailing list