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
Message body is not shown because it is too large.