Karim Belabas on Wed, 31 Mar 2004 16:25:59 +0200


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

Re: problems compiling 2.1.5 on solaris 9


* Carlos Villegas [2004-03-15 22:57]:
> 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
> out
> 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?

Try out the unstable version, e.g 2.2.7 or a CVS snapshot from

  http://pari.math.u-bordeaux.fr/CVS.html

The bug is probably gone there. (At least, I tried to fix it some time ago,
and it worked for me.) Since the fix involves wrecking the Sparc inline
assembler kernel in a non-trivial way, it won't be backported to the stable
branch.

Hope this helps,

    Karim.
-- 
Karim Belabas                     Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425   Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud              http://www.math.u-psud.fr/~belabas/ 
F-91405 Orsay (France)            http://pari.math.u-bordeaux.fr/  [PARI/GP]