FAIL gmp-4.2 on Solaris 8 with gcc 3.6.6

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


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

  gcc -O2 -m64 -mptr64 -mcpu=ultrasparc3 -o .libs/t-sub t-sub.o
  ./.libs/libtests.a /disk1/src/GNU/gmp-4.2/.libs/libgmp.so
  ../.libs/libgmp.so -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'
  ld.so.1: t-bswap: fatal: /usr/local/lib/libgcc_s.so.1: wrong ELF class:
  ELFCLASS32
  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
mode.

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

-- 
Torbjörn


More information about the gmp-bugs mailing list