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)



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
Subject: can not compile: "no inlining without -O"
X-RT-Original-Encoding: iso-8859-1
Content-Length: 2323
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
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.415 (Entity 5.415)
From: MTHURN [...] cpan.org
X-RT-Original-Encoding: iso-8859-1
Content-Length: 777
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
Return-Path: <ilya [...] Math.Berkeley.EDU>
X-Original-To: bug-Math-Pari [...] rt.cpan.org
Delivered-To: cpan-bug+math-pari [...] diesel.bestpractical.com
Received: from la.mx.develooper.com (ss1.fabel.dk [63.251.223.179]) by diesel.bestpractical.com (Postfix) with SMTP id 595944D8104 for <bug-Math-Pari [...] rt.cpan.org>; Wed, 7 Sep 2005 15:30:02 -0400 (EDT)
Received: (qmail 28333 invoked by alias); 7 Sep 2005 19:29:52 -0000
X-Spam-Check-BY: la.mx.develooper.com
Received-SPF: pass (x1.develooper.com: local policy)
Received: from mail.Math.Berkeley.EDU (HELO mail.math.berkeley.edu) (169.229.58.57) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 07 Sep 2005 12:29:40 -0700
Received: from powdermilk.math.berkeley.edu (IDENT:5930 [...] powdermilk.Math.Berkeley.EDU [169.229.140.13]) by mail.math.berkeley.edu (8.13.4/8.13.1) with ESMTP id j87JTb3E006507 for <bug-Math-Pari [...] rt.cpan.org>; Wed, 7 Sep 2005 12:29:37 -0700 (PDT) (envelope-from ilya [...] math.berkeley.edu)
Received: (from ilya [...] localhost) by powdermilk.math.berkeley.edu (8.12.10+Sun/8.12.10/Submit) id j87JTa9U003969 for bug-Math-Pari [...] rt.cpan.org; Wed, 7 Sep 2005 12:29:36 -0700 (PDT)
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"
Message-ID: <20050907192935.GA3958 [...] math.berkeley.edu>
References: <rt-14494 [...] cpan> <rt-14494-43375.14.8111409339813 [...] cpan.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <rt-14494-43375.14.8111409339813 [...] cpan.org>
User-Agent: Mutt/1.4i
X-Scanned-BY: MIMEDefang 2.52 on 169.229.58.57
RT-Send-Cc:
X-RT-Original-Encoding: us-ascii
Content-Length: 579
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.