Skip Menu |
 

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

Report information
The Basics
Id: 14494
Status: new
Priority: 0/
Queue: Math-Pari

People
Owner: Nobody in particular
Requestors: MTHURN [...] cpan.org
Cc:
AdminCc:

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



Subject: can not compile: "no inlining without -O"
Download (untitled) / with headers
text/plain 2.2k
# perl Makefile.PL Setting up Math::Pari with Perl 5.009002 on solaris version 2.8; cc=cc, gccversion=3.3.6, ccflags='-fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING', ld=cc, ldflags=' -L/usr/local/lib -L/opt/local/lib ', optimize='-g'. Found GP/PARI build directory in ./pari-2.1.6 (integer-formatted version 2001006). ...Generating libPARI/paricfg.h ... Scanning header files... ...ulong ...getrusage Creating libPARI/paricfg.h... ...Processor of family `sparcv7' detected Problems with numeric interface codes noted: May be harmless: non-unique string interfaces for numeric interfaces: 29 meaning "GGp GG GGD0,L,p" (appears for agm, besseljh, bnrconductorofchar, ellheightmatrix, ellordinate, ellpointtoz, ellztopoint, idealprimedec, ideleprincipal, incgamc, qfbprimeform, rnfconductor, rnfinit, rnfpolred, theta) Possible problems with Math::Pari interface to GP/PARI: unexpected value of string interfaces for numeric interfaces: 29 meaning "GGp GG GGD0,L,p" (was meaning "GGp" in 2.1.3) (may affect functions idealprimedec, rnfconductor) ...Processor of family `sparcv7' detected ...I will use assembler build of type 'sparcv7'. ...Assembler is GNU assembler Writing Makefile for Math::PARI::libPARI Writing Makefile for Math::Pari # make cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE="-g" PREFIX="/usr/local" PASTHRU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/libPARI' cc -c -I.././pari-2.1.6/src/headers -I.././pari-2.1.6/src/graph -I. -fno-strict-aliasing -pipe -I/usr/local/include -I/opt/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DDEBUGGING -g -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC -Derr=pari_err -DSOLARIS -DASMINLINE -DGCC_INLINE -DDYNAMIC_PLOTTING -o es.o .././pari-2.1.6/src/language/es.c In file included from ../pari-2.1.6/src/headers/pari.h:69, from ../pari-2.1.6/src/language/es.c:21: ../pari-2.1.6/src/headers/parisys.h:52:10: #error "no inlining without -O. Put back -O or remove -DGCC_INLINE" make[1]: *** [es.o] Error 1 make[1]: Leaving directory `/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/libPARI' make: *** [libPARI/libPARI.a] Error 2
From: MTHURN [...] cpan.org
Download (untitled) / with headers
text/plain 777b
I added -O manually to the gcc args in Makefile, it compiles cleanly. BUT for make test ALL the tests fail like this: t/zz_leak.....Can't load '/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/blib/arch/auto/Math/Pari/Pari.so' for module Math::Pari: ld.so.1: /opt/local/bin/perl5.9.2: fatal: relocation error: file /disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/blib/arch/auto/Math/Pari/Pari.so: symbol overflow: referenced symbol not found at /usr/local/lib/perl5/5.9.2/sun4-solaris/DynaLoader.pm line 201. at t/zz_leak.t line 17 Compilation failed in require at t/zz_leak.t line 17. BEGIN failed--compilation aborted at t/zz_leak.t line 17. t/zz_leak.....dubious Test returned status 255 (wstat 65280, 0xff00) -- - - Martin 'Kingpin' Thurn
Date: Wed, 7 Sep 2005 12:29:35 -0700
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
To: Martin Thurn via RT <bug-Math-Pari [...] rt.cpan.org>
Subject: Re: [cpan #14494] can not compile: "no inlining without -O"
RT-Send-Cc:
Download (untitled) / with headers
text/plain 579b
On Wed, Sep 07, 2005 at 09:30:05AM -0400, Martin Thurn via RT wrote: Show quoted text
> t/zz_leak.....Can't load '/disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/blib/arch/auto/Math/Pari/Pari.so' for module Math::Pari: ld.so.1: /opt/local/bin/perl5.9.2: fatal: relocation error: file /disk1/src/PERL/.cpanplus/5.9.2/build/Math-Pari-2.010603/blib/arch/auto/Math/Pari/Pari.so: symbol overflow: referenced symbol not found at /usr/local/lib/perl5/5.9.2/sun4-solaris/DynaLoader.pm line 201. > at t/zz_leak.t line 17
Did you read README? Is this applicable to you? Hope this helps, Ilya


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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