Franck MICHEL on Mon, 13 Oct 2003 16:53:48 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

64 bit installation on sparcv9


Hi developpers,

I've tried to install Pari/GP 64-bit version on sparcv9/solaris, but
without success. I've tried different configuration options (in particular
options suggested by Gerhard Niklasch and Igor Schein found in the archives
of this list), but I always failed. 

If you have an idea of options I could try, I'm very interested.

Below details about the machine, and the results of different trials.

Thanks in advance

  Franck

System: sparcv9 1050Mhz with Sun OS 5.9 and 64-bit capabilities enabled
uname -m
sun4u

isainfo -v
64-bit sparcv9 applications
32-bit sparc applications

isainfo -b
64

Gcc version: 3.1.1
cc version:  Forte Developer 7 C 5.4

Installation of Pari 2.2.7:

"Configure / make gp / make install" installs Pari/GP 32 bit version

"Configure --with-gmp / make gp / make install" fails with GMP default
installation (ABI=64):
ld: fatal: file /usr/local/lib/libgmp.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to libpari-2.2.so.7.0.0
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libpari-2.2.so.7.0.0'

but works with an ABI=32 installation of GMP. It still installs a 32-bit
version of Pari.

"Configure -a / make gp" with architecture sparcv9, Pari kernel
sparcv8_micro-gmp, gcc -O3 -DGCC_INLINE -Wall -fomit-frame-pointer -m64
fails:
ld: fatal: file kernel.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to libpari-2.2.so.7.0.0
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `libpari-2.2.so.7.0.0'
Current working directory
/dsk2/scratch/fmichel/pari/parigmp/pari/Osolaris-sparcv9
*** Error code 1
make: Fatal error: Command failed for target `gp'

"Configure -a / make gp" with cc fails:
ld: fatal: file mp.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to libpari-2.2.so.7.0.0
*** Error code 1
make: Fatal error: Command failed for target `libpari-2.2.so.7.0.0'

"Configure -a / make gp" with sparcv8_micro-gmp and cc -xarch=v9 fails:
cc  -c -fast -fsimple=1 -xarch=v9 -DBOTH_GNUPLOT_AND_X11 -I.
-I../src/headers  -o mp.o mp.c
"../src/kernel/gmp/mp.c", line 41: cannot find include file: <gmp.h>