Skip Menu |

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 20908
Status: open
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: gwolosh [...] njit.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Make fails
Date: Wed, 9 Aug 2006 10:16:12 -0400 (EDT)
To: bug-Math-Pari [...] rt.cpan.org
From: Gedaliah Wolosh <gwolosh [...] njit.edu>
Make fails for Math-Pari-2.010706 perl 5.8.8 solaris 9 I used cpan to try and install this module Output from make -- Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', ld=gcc, ldflags=' -L/usr/local/lib ', optimize='-O'. Found GP/PARI build directory in pari-2.1.7 (integer-formatted version 2001007). ...Generating libPARI/paricfg.h ... Scanning header files... ...ulong ...getrusage Creating libPARI/paricfg.h... ...Processor of family `sparcv9' detected Checking if your kit is complete... Looks good ...Processor of family `sparcv9' detected ...I will use assembler build of type 'sparcv8_micro'. ...Assembler is not GNU assembler Writing Makefile for Math::PARI::libPARI Writing Makefile for Math::Pari CPAN: YAML loaded ok cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod cp PariInit.pm blib/lib/Math/PariInit.pm cp Pari.pm blib/lib/Math/Pari.pm cp libPARI.pod blib/lib/Math/libPARI.pod cd libPARI && /usr/local/bin/make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPT IMIZE="-O" PREFIX="/usr/local/perl5.8.8" PASTHRU_DEFINE="" PASTHRU_INC="" /usr/bin/perl -wle0 > pariinl.h /usr/bin/perl -pe1 ../pari-2.1.7/src/kernel/sparcv8/level0.h ../pari-2.1.7/src/kernel/none/level1.h >> pariinl.h gcc -c -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers -I../pari-2.1.7/src/graph -I. -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari-2.1.7/src/language/es.c pariinl.h: In function `mulssmod': pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list pariinl.h:887: confused by earlier errors, bailing out *** Error code 1 make: Fatal error: Command failed for target `es.o' Current working directory /afs/cad.njit.edu/u/g/w/gwolosh/.cpan/build/Math-Par i-2.010706/libPARI *** Error code 1 make: Fatal error: Command failed for target `libPARI/libPARI.a' Thanks Gedaliah Wolosh University Computing Systems NJIT
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 08:36:58 -0700
To: Gedaliah Wolosh via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Wed, Aug 09, 2006 at 10:17:16AM -0400, Gedaliah Wolosh via RT wrote: Show quoted text
> Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; > cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe
I suspect your current gcc being v4.0? Such a configuration is known to lead to problems (but I do not know why...). Hope this helps, Ilya
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 11:43:34 -0400 (EDT)
To: Ilya Zakharevich via RT <bug-Math-Pari [...] rt.cpan.org>
From: Gedaliah Wolosh <gwolosh [...] njit.edu>
On Wed, the 15th of Av, 5766 (08/9/2006) Ilya Zakharevich via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > > > On Wed, Aug 09, 2006 at 10:17:16AM -0400, Gedaliah Wolosh via RT wrote:
>> Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; >> cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe
> > I suspect your current gcc being v4.0? Such a configuration is known > to lead to problems (but I do not know why...).
gcc is definitely 3.3 [1]> gcc -v Reading specs from /afs/cad/solaris/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs Configured with: ../configure --prefix=/afs/cad/solaris/gcc-3.3 --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.3 Gedaliah Wolosh University Computing Systems NJIT Show quoted text
> > Hope this helps, > Ilya >
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 09:09:43 -0700
To: Gedaliah Wolosh via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Wed, Aug 09, 2006 at 11:43:54AM -0400, Gedaliah Wolosh via RT wrote: Show quoted text
> > Queue: Math-Pari > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > > > > > On Wed, the 15th of Av, 5766 (08/9/2006) Ilya Zakharevich via RT wrote: >
> > > > <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > > > > > On Wed, Aug 09, 2006 at 10:17:16AM -0400, Gedaliah Wolosh via RT wrote:
> >> Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; > >> cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe
> > > > I suspect your current gcc being v4.0? Such a configuration is known > > to lead to problems (but I do not know why...).
> > gcc is definitely 3.3 > > [1]> gcc -v > Reading specs from /afs/cad/solaris/gcc-3.3/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs > Configured with: ../configure --prefix=/afs/cad/solaris/gcc-3.3 > --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls > Thread model: posix > gcc version 3.3
Interesting... Still, it looks like a gcc problem: one can check that there is no clobbering involved, and others gcc-3.3 accept this fine. Maybe one needs to start assembler build flags from failing machines? [What is strange is that usually gcc version names contain 3 parts, not 2...] Yours, Ilya
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 12:28:21 -0700
To: Gedaliah Wolosh via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Wed, Aug 09, 2006 at 11:43:54AM -0400, Gedaliah Wolosh via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > > > > > On Wed, Aug 09, 2006 at 10:17:16AM -0400, Gedaliah Wolosh via RT wrote:
> >> Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; > >> cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe
> > > > I suspect your current gcc being v4.0? Such a configuration is known > > to lead to problems (but I do not know why...).
> > gcc is definitely 3.3
Could you please retest with GP/PARI v2.3.0? Manually download tgz file, and give Makefile.PL the following option: pari_tgz=PATH_TO_TAR_GZ To extract a local pari*.tar.gz and patch (if needed) the resulting directory tree. Thanks, Ilya
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 15:47:20 -0400 (EDT)
To: Ilya Zakharevich via RT <bug-Math-Pari [...] rt.cpan.org>
From: Gedaliah Wolosh <gwolosh [...] njit.edu>
On Wed, the 15th of Av, 5766 (08/9/2006) Ilya Zakharevich via RT wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > > > On Wed, Aug 09, 2006 at 11:43:54AM -0400, Gedaliah Wolosh via RT wrote:
>>> <URL: http://rt.cpan.org/Ticket/Display.html?id=20908 > >>> >>> On Wed, Aug 09, 2006 at 10:17:16AM -0400, Gedaliah Wolosh via RT wrote:
>>>> Setting up Math::Pari with Perl 5.008008 on solaris version 2.9; >>>> cc=gcc, gccversion=3.3, ccflags='-fno-strict-aliasing -pipe
>>> >>> I suspect your current gcc being v4.0? Such a configuration is known >>> to lead to problems (but I do not know why...).
>> >> gcc is definitely 3.3
> > Could you please retest with GP/PARI v2.3.0? Manually download tgz file, > and give Makefile.PL the following option: > > pari_tgz=PATH_TO_TAR_GZ To extract a local pari*.tar.gz and patch > (if needed) the resulting directory tree. >
Note that I had to edit utils/Math/PariBuild.pm to let me use 2.3.0 Still fails [30]> make cp libPARI.dumb.pod blib/lib/Math/libPARI.dumb.pod cp PariInit.pm blib/lib/Math/PariInit.pm cp Pari.pm blib/lib/Math/Pari.pm cp libPARI.pod blib/lib/Math/libPARI.pod cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-O" PREFIX="/usr/local/perl5.8.8" PASTHRU_DEFINE="" PASTHRU_INC="" /usr/bin/perl -wle "print q(#ifndef ASMINLINE)" > pariinl.h /usr/bin/perl -pe1 ../pari-2.3.0/src/kernel/none/divll.h Show quoted text
>> pariinl.h
/usr/bin/perl -wle "print q(#endif)" >> pariinl.h /usr/bin/perl -pe1 ../pari-2.3.0/src/kernel/sparcv8_micro/asm0.h ../pari-2.3.0/src/kernel/none/tune.h ../pari-2.3.0/src/kernel/none/int.h ../p level1.h >> pariinl.h gcc -c -I ../pari-2.3.0/src -I../pari-2.3.0/src/headers -I../pari-2.3.0/src/graph -I. -fno-strict-aliasing -pipe -I/usr/local/include -D_LAR ET_BITS=64 -O -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari- In file included from ../pari-2.3.0/src/headers/pari.h:76, from ../pari-2.3.0/src/language/es.c:21: ../src/kernel/none/level1.h: In function `sdivss_rem': ../src/kernel/none/level1.h:730: error: `LOCAL_HIREMAINDER' undeclared (first use in this function) ../src/kernel/none/level1.h:730: error: (Each undeclared identifier is reported only once ../src/kernel/none/level1.h:730: error: for each function it appears in.) ../src/kernel/none/level1.h:732: error: `hiremainder' undeclared (first use in this function) ../src/kernel/none/level1.h: In function `sdivsi_rem': ../src/kernel/none/level1.h:753: error: `LOCAL_HIREMAINDER' undeclared (first use in this function) ../src/kernel/none/level1.h:757: error: `hiremainder' undeclared (first use in this function) ../src/kernel/none/level1.h: In function `umodui': ../src/kernel/none/level1.h:844: error: `LOCAL_HIREMAINDER' undeclared (first use in this function) ../src/kernel/none/level1.h:847: error: `hiremainder' undeclared (first use in this function) ../src/kernel/none/level1.h: In function `Fl_mul': ../src/kernel/none/level1.h:1085: error: `LOCAL_HIREMAINDER' undeclared (first use in this function) ../src/kernel/none/level1.h:1088: error: `hiremainder' undeclared (first use in this function) ../src/kernel/none/level1.h: In function `Fl_sqr': ../src/kernel/none/level1.h:1095: error: `LOCAL_HIREMAINDER' undeclared (first use in this function) ../src/kernel/none/level1.h:1098: error: `hiremainder' undeclared (first use in this function) ../src/kernel/none/level1.h: At top level: ../src/kernel/none/level1.h:1145: error: `hiremainder' used prior to declaration *** Error code 1 make: Fatal error: Command failed for target `es.o' Current working directory /afs/cad.njit.edu/u/g/w/gwolosh/.cpan/build/Math-Pari-2.010706/libPARI *** Error code 1 make: Fatal error: Command failed for target `libPARI/libPARI.a' Gedaliah Wolosh University Computing Systems NJIT Show quoted text
> Thanks, > Ilya >
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20908] Make fails
Date: Wed, 9 Aug 2006 13:39:45 -0700
To: Gedaliah Wolosh via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Wed, Aug 09, 2006 at 03:47:47PM -0400, Gedaliah Wolosh via RT wrote: Show quoted text
> Note that I had to edit utils/Math/PariBuild.pm to let me use 2.3.0
Show quoted text
> ET_BITS=64 -O -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err > -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o ../pari- > In file included from ../pari-2.3.0/src/headers/pari.h:76, > from ../pari-2.3.0/src/language/es.c:21: > ../src/kernel/none/level1.h: In function `sdivss_rem': > ../src/kernel/none/level1.h:730: error: `LOCAL_HIREMAINDER' undeclared > (first use in this function)
Thanks, >>TODO Ilya