PARI/GP Bug report logs -
#49
Problem with installing PARI with Suse Linux 9.1.: invalid operands for a div operation
Reported by: Chrit van Ewijk <cvanewijk@xs4all.nl>
Date: Thu, 22 Jul 2004 20:18:01 UTC
Severity: normal
Done: Bill Allombert <allomber@math.u-bordeaux.fr>
Bug is archived. No further changes may be made.
Full log
🔗
View this message in rfc822 format
Your message dated Sun, 20 Feb 2005 17:03:28 +0100
with message-id <20050220160328.GA12859@geo.math.u-psud.fr>
and subject line Problem with installing PARI with Suse Linux 9.1.: invalid operands for a div operation
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Bill Allombert
(administrator, PARI/GP bugs database)
--------------------------------------
Received: (at submit) by pari.math.u-bordeaux.fr; 22 Jul 2004 20:11:50 +0000
From cvanewijk@xs4all.nl Thu Jul 22 22:11:50 2004
Received: from smtp-vbr5.xs4all.nl ([194.109.24.25])
by pari with esmtp (Exim 3.35 #1 (Debian))
id 1Bnjuw-0006qf-00
for <submit@pari.math.u-bordeaux.fr>; Thu, 22 Jul 2004 22:11:50 +0200
Received: from a80-127-233-174.dial.xs4all.nl (a80-127-233-174.dial.xs4all.nl [80.127.233.174])
(authenticated bits=0)
by smtp-vbr5.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6MKBlvR007837
for <submit@pari.math.u-bordeaux.fr>; Thu, 22 Jul 2004 22:11:48 +0200 (CEST)
(envelope-from cvanewijk@xs4all.nl)
From: Chrit van Ewijk <cvanewijk@xs4all.nl>
To: submit@pari.math.u-bordeaux.fr
Subject: Problem with installing PARI with Suse Linux 9.1.: invalid operands for a div operation
Date: Thu, 22 Jul 2004 22:11:55 +0200
User-Agent: KMail/1.6.2
MIME-Version: 1.0
Content-Disposition: inline
Content-Type: text/plain;
charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200407222211.56514.cvanewijk@xs4all.nl>
X-Virus-Scanned: by XS4ALL Virus Scanner
Package: pari-stable
Version: 2.1.5
I have a problem with installing PARI with Suse Linux 9.1.=20
Configure complains about operands being invalid for a =E2=80=9C div=E2=80=
=9D operation.=20
I cannot figure out what the problem is, And I cannot find the Oxxx/par.cfg=
=20
file either.
Can you help me?
Greetings,
Chrit van Ewijk
The Hague=20
The Netherlands=20
I have Siemens Fujitsu computer with a Pentium 4 CPU 2.00 Ghz.
The operating system is Suse Linux 9.1 (dual boot with Windows XP)
PARI is working correctly under Windows XP.
I tried to install
Stable version: pari-2.1.5.tgz, 1505 KBy, Jul 17 16:04:31 2003=20
md5sum: 194e9d1cc11926e457028c6a7cba15f0=20
I logged the following session for you.=20
cewijk@linux:~> rpm -q ncurses-devel
ncurses-devel-5.4-59
cewijk@linux:~> rpm -q readline-devel
readline-devel-4.3-306
cewijk@linux:~> cd Documents/pari-2.1.5
cewijk@linux:~/Documents/pari-2.1.5> ls
Announce.2.1 Configure examples Makefile.Olinux-i686 README
AUTHORS COPYING INSTALL.tex misc README.DOS
CHANGES CVS.txt INSTALL.txt NEW README.WIN
COMPAT doc MACHINES Odos src
config emacs Makefile Olinux-i686 TODO
cewijk@linux:~/Documents/pari-2.1.5> ./Configure --prefix=3D/usr
Configuring pari-2.1.5 (STABLE)
Checking echo to see how to suppress newlines...
=2E..using -n.
Looking for some tools first ...
=2E..ld is /usr/bin/ld
=2E..zcat is /usr/bin/zcat
=2E..gzip is /usr/bin/gzip
=2E..ranlib is /usr/bin/ranlib
=2E..perl is /usr/bin/perl
=2E..emacs is /usr/bin/emacs
Building for architecture: i686 running linux (ix86 kernel)
Checking for optional libraries and headers...
=2E..Found libreadline in /lib
=2E..Found libncurses in /lib
=2E..Found GNU readline header in /usr/include/readline
=2E..Library ncurses needed by readline
Looking for the compilers ...
=2E..cc is /usr/local/bin/cc
=2E..gcc is /usr/local/bin/gcc
GNU compiler version 3.3.3 (SuSE Linux)
C compiler is /usr/local/bin/gcc -O3 -DGCC_INLINE -Wall=20
=2DWno-implicit -fomit-frame-pointer
Looking for an assembler ...
=2E..as is /usr/bin/as
=2E..Hum, this looks like GNU as
Assembler is /usr/bin/as
C PreProcessor is /usr/local/bin/gcc -E -I.
Executable linker is /usr/local/bin/gcc -O3 -DGCC_INLINE -Wall=20
=2DWno-implicit -fomit-frame-pointer -Xlinker -export-dynamic
=2E..Hum, this looks like GNU ld
Dynamic Lib linker is /usr/bin/ld -shared -soname $(LIBPARI_SONAME) -lc -=
lm
endian.c:2: warning: return type defaults to `int'
endian.c: In function `main':
endian.c:16: warning: left shift count >=3D width of type
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[1], l[0].
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Checking some common types...
=2E..Found ulong.
Looking in C lib for some symbols...
=2E..I did not find exp2.
=2E..Found strftime.
=2E..Found getrusage.
=2E..Found sigrelse.
=2E..I did not find TIOCGWINSZ.
=2E..Found getrlimit.
=2E..Found opendir.
=2E..I did not find vsnprintf.
=2E..I did not find dlopen.
Try again, with -ldl this time...
=2E..Found dlopen.
Installation prefix ? [/usr]
=2E..for architecture-independant files (share-prefix) ? []
=2E.."gp" executable ? [/usr/bin]
=2E.."pari" library ? [/usr/lib]
=2E..include files ? [/usr/include/pari]
=2E..manual pages ? [/usr/man/man1]
=2E..documentation, examples, and emacs macros ? [/usr/lib/pari]
=2E..miscellaneous data (galois resolvents) ? [/usr/lib/pari/galdata]
Default is dynamic executable and shared library, graphic=3Dnone
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Extracting examples/Makefile.linux-i686
Extracting Olinux-i686/Makefile
Extracting Olinux-i686/../Odos/paricfg.h
Extracting Olinux-i686/paricfg.h
Extracting Makefile
Extracting scripts and macros
=2E..in doc
=2E..in emacs
=2E..in misc
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Shall we try to build pari 2.1.5 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !
cewijk@linux:~/Documents/pari-2.1.5> make install
cd Olinux-i686; make install
make[1]: Entering directory `/home/cewijk/Documents/pari-2.1.5/Olinux-i686'
/usr/local/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit=20
=2Dfomit-frame-pointer -I. -I../src/headers -o mp.o ../src/kernel/none/mp=
=2Ec
/tmp/ccQc806P.s: Assembler messages:
/tmp/ccQc806P.s:17332: Error: suffix or operands invalid for `div'
make[1]: *** [mp.o] Error 1
make[1]: Leaving directory `/home/cewijk/Documents/pari-2.1.5/Olinux-i686'
make: *** [install] Error 2
cewijk@linux:~/Documents/pari-2.1.5>
{End of session}
---------------------------------------
Received: (at 49-close) by pari.math.u-bordeaux.fr; 20 Feb 2005 16:03:29 +0000
From Karim.Belabas@math.u-psud.fr Sun Feb 20 17:03:29 2005
Received: from mathups.math.u-psud.fr ([129.175.52.4] helo=matups.math.u-psud.fr)
by pari with esmtp (Exim 3.35 #1 (Debian))
id 1D2tYP-0006pj-00
for <49-close@pari.math.u-bordeaux.fr>; Sun, 20 Feb 2005 17:03:29 +0100
Received: from geo.math.u-psud.fr (geo.math.u-psud.fr [129.175.50.56])
by matups.math.u-psud.fr (8.12.10/jtpda-5.4) with ESMTP id j1KG3SpS013445
; Sun, 20 Feb 2005 17:03:28 +0100 (MET)
Received: by geo.math.u-psud.fr (Postfix, from userid 20603)
id C510C3CF9D; Sun, 20 Feb 2005 17:03:28 +0100 (MET)
Date: Sun, 20 Feb 2005 17:03:28 +0100
From: Karim Belabas <Karim.Belabas@math.u-psud.fr>
To: Igor Schein <igor@txc.com>, 49-close@pari.math.u-bordeaux.fr
Subject: Re: Problem with installing PARI with Suse Linux 9.1.: invalid operands for a div operation
Message-ID: <20050220160328.GA12859@geo.math.u-psud.fr>
References: <20050204205932.GU17755@txc.com> <20050218161731.GD19147@txc.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050218161731.GD19147@txc.com>
User-Agent: Mutt/1.4.1i
* Igor Schein [2005-02-18 17:18]:
> I did some invertigation on it. Adding -fno-inline-functions flag makes
> the problem dissapear with the stock compiler, gcc-3.3.3. I built my
> own gcc-3.3.3 and that one works without a hitch. It's weird, because
> I used pretty much the same configuration options:
>
> % ~/local/gcc-3.3.3/bin/gcc -v
> Reading specs from
> /home/igor/local/gcc-3.3.3/lib/gcc-lib/i586-suse-linux/3.3.3/specs
> Configured with: ../gcc-3.3.3/configure
> --prefix=/home/igor/local/gcc-3.3.3 --quiet --enable-threads=posix
> --enable-languages=c --with-system-zlib --enable-shared
> --enable-__cxa_atexit i586-suse-linux
> Thread model: posix
> gcc version 3.3.3
> % gcc -v
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
> Configured with: ../configure --enable-threads=posix --prefix=/usr
> --with-local-prefix=/usr/local --infodir=/usr/share/info
> --mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
> --disable-checking --libdir=/usr/lib --enable-libgcj
> --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
> --with-system-zlib --enable-shared --enable-__cxa_atexit
> i586-suse-linux
> Thread model: posix
> gcc version 3.3.3 (SuSE Linux)
>
> I might do some more testing, but it currently looks like a compiler
> issue. CVS branch is clean though.
We have not heard about this for quite some time, and I agree with your
assessment above. So I'm closing the report.
Thanks!
Karim.
--
Karim Belabas Tel: (+33) (0)1 69 15 57 48
Dep. de Mathematiques, Bat. 425 Fax: (+33) (0)1 69 15 60 19
Universite Paris-Sud http://www.math.u-psud.fr/~belabas/
F-91405 Orsay (France) http://pari.math.u-bordeaux.fr/ [PARI/GP]
Send a report that this bug log contains spam.
Bill Allombert <allomber@math.u-bordeaux.fr>.
Last modified:
Sat Aug 26 17:29:40 2023;
Machine Name:
pari
PARI/GP Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.