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

Report information
The Basics
Id:
42242
Status:
open
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
douglas.mclaughlin [...] verizonbusiness.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list
Date: Thu, 08 Jan 2009 22:00:48 +0000
To: bug-Math-Pari@rt.cpan.org
From: "McLaughlin, Douglas F (Doug)" <douglas.mclaughlin@verizonbusiness.com>

While trying to build Math::Pari on my Solaris box, I get the following error when trying to install with the default configuration:

 

./pariinl.h: In function `gmul':

./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list

 

If I do a ‘make realclean’ followed by a ‘perl Makefile.pl machine=none’ the compile works and I can test/install successfully.

 

Here is the relevant information requested in the README:

 

 

[root@ivwpdcsda01] ~/.cpan/build/Math-Pari-2.010800> uname -a

SunOS ivwpdcsda01 5.10 Generic_125100-08 sun4u sparc SUNW,Sun-Fire-V490

 

 

[root@ivwpdcsda01] ~/.cpan/build/Math-Pari-2.010800> gcc -v

Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs

Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77

Thread model: posix

gcc version 3.4.6

 

 

[root@ivwpdcsda01] ~/.cpan/build/Math-Pari-2.010800> perl -V

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:

  Platform:

    osname=solaris, osvers=2.10, archname=sun4-solaris

    uname='sunos 5.10 generic_118822-30 sun4u sparc sunw,ultra-5_10 solaris '

    config_args='-Dcc=gcc'

    hint=recommended, useposix=true, d_sigaction=define

    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef

    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef

    use64bitint=undef use64bitall=undef uselongdouble=undef

    usemymalloc=n, bincompat5005=undef

  Compiler:

    cc='gcc', ccflags ='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',

    optimize='-O',

    cppflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include'

    ccversion='', gccversion='3.4.6', gccosandvers='solaris2.10'

    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321

    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16

    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8

    alignbytes=8, prototype=define

  Linker and Libraries:

    ld='gcc', ldflags =' -L/usr/local/lib -L/opt/gnu/lib '

    libpth=/usr/local/lib /opt/gnu/lib /usr/lib /usr/ccs/lib

    libs=-lsocket -lnsl -ldl -lm -lc

    perllibs=-lsocket -lnsl -ldl -lm -lc

    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a

    gnulibc_version=''

  Dynamic Linking:

    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '

    cccdlflags='-fPIC', lddlflags='-G -L/usr/local/lib -L/opt/gnu/lib'

 

 

Characteristics of this binary (from libperl):

  Compile-time options: PERL_MALLOC_WRAP USE_LARGE_FILES USE_PERLIO

  Built under solaris

  Compiled at May  8 2007 03:33:15

  @INC:

    /usr/local/lib/perl5/5.8.8/sun4-solaris

    /usr/local/lib/perl5/5.8.8

    /usr/local/lib/perl5/site_perl/5.8.8/sun4-solaris

    /usr/local/lib/perl5/site_perl/5.8.8

    /usr/local/lib/perl5/site_perl

    .

 

 

 

[root@ivwpdcsda01] ~/.cpan/build/Math-Pari-2.010800> perl Makefile.PL

Setting up Math::Pari with Perl 5.008008 on solaris version 2.10;

   cc=gcc, gccversion=3.4.6, ccflags='-fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',

   ld=gcc, ldflags=' -L/usr/local/lib -L/opt/gnu/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

 

 

 

[root@ivwpdcsda01] ~/.cpan/build/Math-Pari-2.010800> 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" PASTHRU_DEFINE="" PASTHRU_INC=""

make[1]: Entering directory `/export/home/sfprod/.cpan/build/Math-Pari-2.010800/libPARI'

/usr/local/bin/perl -wle0 > pariinl.h

/usr/local/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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/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

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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o base5.o .././pari-2.1.7/src/basemath/base5.c

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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o bibli1.o .././pari-2.1.7/src/basemath/bibli1.c

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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o buch2.o .././pari-2.1.7/src/basemath/buch2.c

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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o init.o .././pari-2.1.7/src/language/init.c

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 -Wdeclaration-after-statement -I/usr/local/include -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o gen1.o .././pari-2.1.7/src/basemath/gen1.c

./pariinl.h: In function `gmul':

./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list

make[1]: *** [gen1.o] Error 1

make[1]: Leaving directory `/export/home/sfprod/.cpan/build/Math-Pari-2.010800/libPARI'

make: *** [libPARI/libPARI.a] Error 2

 

 

 

Douglas McLaughlin

Verizon Business

Inventory Data Warehouse Developer

 

CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #42242] ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list
Date: Thu, 8 Jan 2009 21:31:26 -0800
To: "McLaughlin, Douglas F (Doug) via RT" <bug-Math-Pari@rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
On Thu, Jan 08, 2009 at 05:02:14PM -0500, McLaughlin, Douglas F (Doug) via RT wrote:
Show quoted text
> ./pariinl.h: In function `gmul': > > ./pariinl.h:887: error: asm-specifier for variable `hiremainder' > conflicts with asm clobber list
According to the docs, Perl must be working (e.g., built on the same machine). IIRC, this indicates a broken vendor-supplied Perl - but better google for it... Hope this helps, Ilya
Subject: RE: [rt.cpan.org #42242] ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list
Date: Fri, 09 Jan 2009 15:58:22 +0000
To: bug-Math-Pari@rt.cpan.org
From: "McLaughlin, Douglas F (Doug)" <douglas.mclaughlin@verizonbusiness.com>
It's not a vendor-supplied Perl. I did search Google, quite a lot. There are no answers to this bug anywhere and quite a lot of people have the problem, even those that compiled Perl themselves. I installed over a hundred Perl Modules yesterday, many of them with modules that had to be compiled. This is the only one that blew up and caused me grief. Can you please explain, in detail, how this can be caused by a "broken Perl"? Doug
Show quoted text
-----Original Message----- From: Ilya Zakharevich via RT [mailto:bug-Math-Pari@rt.cpan.org] Sent: Thursday, January 08, 2009 22:32 To: McLaughlin, Douglas F (Doug) Subject: Re: [rt.cpan.org #42242] ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list <URL: http://rt.cpan.org/Ticket/Display.html?id=42242 > On Thu, Jan 08, 2009 at 05:02:14PM -0500, McLaughlin, Douglas F (Doug) via RT wrote:
> ./pariinl.h: In function `gmul': > > ./pariinl.h:887: error: asm-specifier for variable `hiremainder' > conflicts with asm clobber list
According to the docs, Perl must be working (e.g., built on the same machine). IIRC, this indicates a broken vendor-supplied Perl - but better google for it... Hope this helps, Ilya
Subject: RE: [rt.cpan.org #42242] ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list
Date: Tue, 03 Feb 2009 22:52:58 +0000
To: bug-Math-Pari@rt.cpan.org
From: "McLaughlin, Douglas F (Doug)" <douglas.mclaughlin@verizonbusiness.com>
You are no help at all. If anyone comes to this bug looking for help, just know that the maintainer is hiding behind the "Perl must be working" excuse. The only problem is that Math::Pari is the ONLY MODULE broken on Solaris 10. The maintainer refuses to acknowledge this, I don't know why, too lazy or just can't be bothered to look in to the Solaris build. I will gladly extend any help I can provide in helping the maintainer fix this bug, but since the maintainer wants to stand on excuses and not help fix the problem, there is nothing I can do. The non-optimal solution is to compile with the machine=none option on Solaris 10. That's all the help I can provide to anyone that lands on this bug report. Hope this helps more than the maintainer's "help", Doug
Show quoted text
-----Original Message----- From: Ilya Zakharevich via RT [mailto:bug-Math-Pari@rt.cpan.org] Sent: Thursday, January 08, 2009 10:32 PM To: McLaughlin, Douglas F (Doug) Subject: Re: [rt.cpan.org #42242] ./pariinl.h:887: error: asm-specifier for variable `hiremainder' conflicts with asm clobber list <URL: http://rt.cpan.org/Ticket/Display.html?id=42242 > On Thu, Jan 08, 2009 at 05:02:14PM -0500, McLaughlin, Douglas F (Doug) via RT wrote:
> ./pariinl.h: In function `gmul': > > ./pariinl.h:887: error: asm-specifier for variable `hiremainder' > conflicts with asm clobber list
According to the docs, Perl must be working (e.g., built on the same machine). IIRC, this indicates a broken vendor-supplied Perl - but better google for it... Hope this helps, Ilya


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.