Carlos Villegas on Mon, 15 Mar 2004 23:55:01 +0100

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

problems compiling 2.1.5 on solaris 9


I'm having problems compiling pari 2.1.5 for solaris 9 (sparc),
both using gcc 3.3.3 and Sun's compiler. In particular I believe
that the error I get when trying gcc might be a bug:

gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
-I. -I../src/headers -o mp.o ../src/kernel/none/mp.c
../src/kernel/none/mp.c: In function `addsispec':
../src/kernel/none/mp.c:76: error: asm-specifier for variable
`overflow' conflicts with asm clobber list
../src/kernel/none/mp.c:109: confused by earlier errors, bailing
make[1]: *** [mp.o] Error 1

That was a 32 bit attempt, the 64 bit attempts also fail in a
similar fashion.

Has anyone been able to compile it for solaris 9 sparc? Did you
have to use any special options?

I'll try again with sun's compiler, since I think the problem
with sun's compiler was the one described in the faq (finds 32 bit