Bill Allombert on Tue, 08 Sep 2009 16:27:28 +0200


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

Re: pari svn fails on solaris , missing -fPIC


On Tue, Sep 08, 2009 at 01:51:44AM +0100, Jason Moxham wrote:
> On Friday 04 September 2009 21:58:34 Bill Allombert wrote:
> > On Fri, Sep 04, 2009 at 08:05:36PM +0100, Jason Moxham wrote:
> > > On Friday 04 September 2009 19:24:48 Bill Allombert wrote:
> > > > On Fri, Sep 04, 2009 at 05:25:43PM +0100, Jason Moxham wrote:
> > >
> > > plotnull.o
> > > -Wl,-R,"/home/jasonmoxham/pari"/Osolaris-sparcv9:"/usr/local/lib":/usr/li
> > >b     -lm * Testing objets        for gp-sta..TIME=9      for
> > > gp-dyn..Killed BUG [0]
> > > * Testing analyz        for gp-sta..TIME=178    for gp-dyn..Killed
> > > BUG [0]
> > > * Testing number        for gp-sta..TIME=166    for gp-dyn..Killed
> > > BUG [0]
> > > * Testing polyser       for gp-sta..TIME=44     for gp-dyn..Killed
> > > BUG [0]
> > > * Testing linear        for gp-sta..TIME=54     for gp-dyn..Killed
> > > BUG [0]
> > > * Testing elliptic      for gp-sta..TIME=94     for gp-dyn..Killed
> > > BUG [0]
> > > * Testing sumiter       for gp-sta..TIME=232    for gp-dyn..Killed
> > > BUG [0]
> > > * Testing graph         for gp-sta..TIME=56     for gp-dyn..Killed
> > > BUG [0]
> > > * Testing program       for gp-sta..TIME=105    for gp-dyn..Killed
> > > BUG [0]
> > > * Testing trans         for gp-sta..TIME=242    for gp-dyn..Killed
> > > BUG [0]
> > > * Testing nfields       for gp-sta..TIME=686    for gp-dyn..Killed
> > > BUG [0]
> > > +++ Total bench for gp-sta is 1317
> > > +++ [BUG] Total bench for gp-dyn is 0
> >
> > At least gp-sta is working properly.
> >
> > > All the *-dyn.dif end like
> > >
> > > ! ld.so.1: gp-dyn: fatal:
> > > /usr/local/gcc-4.2.4-sun-linker/lib/libgcc_s.so.1: wrong ELF class:
> > > ELFCLASS32
> >
> > A 64bit version of libgcc_s.so.1 is required. It is possible this system
> > does not carry it.
> > Look in /usr/local/gcc-4.2.4-sun-linker/lib/ for something like
> > libgcc_s_64.so
> >
> > Cheers,
> > Bill.
> 
> 
> I tried setting
> export 
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/sparc-solaris-toolchain/lib/sparcv9
> export LD=/usr/ccs/bin/sparcv9/ld
> 
> because this works with MPIR  to get a shared and/or static 64bit  build ,
> but for some reason pari cant find it.

The variable to change is not LD, but DLLD.
You probably want tot try to edit the Makefile manually.

Cheers,
Bill.