Bill Allombert on Mon, 18 Mar 2013 11:34:32 +0100


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

Re: Building PARI/GP on Debian sparc


On Thu, Mar 14, 2013 at 06:23:52PM +0100, Bill Allombert wrote:
> On Thu, Mar 14, 2013 at 05:43:42PM +0100, Jean-Pierre Flori wrote:
> > Dear all,
> > 
> > I tried to build PARI 2.5.3 on a ultrasparc computer running Debian
> > (64 bit kernel, trying to build everything 32 bits, not sure it would
> > have any influence on the following) and had to find workarounds for
> > the following problems:
> > * got a bunch of "Error: Hardware capability "mul32" not enabled for
> > "umul"." and similar errors, apprently you have to give more clues to
> > the assembler, for instance setting CFLAGS="-mcpu=v9" solves this,
> 
> Yes, Debian default ABI is 'supersparc' but your system advertises itself
> as a ultrasparc so PARI try to use the microsparc ABI.
> 
> > * option "-mimpure-text" is passed if the arch is sparc* but that's
> > only supported by a GCC targetting Solaris, so I modified the right
> > file in the config dir.

As you can see in the log, gcc 4.6.3 support -mimpure-text on sparc.
<https://buildd.debian.org/status/fetch.php?pkg=pari&arch=sparc&ver=2.5.1-2&stamp=1338810814>

Which version of gcc did you use ?

Cheers,
Bill.