PARI/GP Bug report logs - #1237
undefined behaviour in pari_init_parser

Package: pari; Maintainer for pari is Aurel Page <aurel.page@normalesup.org>; Source for pari is src:pari.

Reported by: Julian Taylor <jtaylor.debian@googlemail.com>

Date: Wed, 31 Aug 2011 15:33:08 UTC

Severity: normal

Done: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 1237@pari.math.u-bordeaux.fr (full text, mbox, reply):

Received: (at 1237) by pari.math.u-bordeaux.fr; 18 Sep 2011 21:48:00 +0000
From Bill.Allombert@math.u-bordeaux1.fr Sun Sep 18 23:48:00 2011
Received: from smtp5-g21.free.fr ([212.27.42.5])
	by pari.math.u-bordeaux1.fr with esmtp (Exim 4.69)
	(envelope-from <Bill.Allombert@math.u-bordeaux1.fr>)
	id 1R5PDU-0006gg-Bw
	for 1237@pari.math.u-bordeaux.fr; Sun, 18 Sep 2011 23:48:00 +0200
Received: from yellowpig (unknown [83.158.144.41])
	by smtp5-g21.free.fr (Postfix) with ESMTP id A91A8D48035;
	Sun, 18 Sep 2011 23:47:55 +0200 (CEST)
Received: from bill by yellowpig with local (Exim 4.72)
	(envelope-from <Bill.Allombert@math.u-bordeaux1.fr>)
	id 1R5PDO-0000UQ-8R; Sun, 18 Sep 2011 23:47:54 +0200
Date: Sun, 18 Sep 2011 23:47:54 +0200
From: Bill Allombert <Bill.Allombert@math.u-bordeaux1.fr>
To: Julian Taylor <jtaylor.debian@googlemail.com>
Cc: 1237@pari.math.u-bordeaux.fr
Subject: Re: Bug#1237: undefined behaviour in pari_init_parser
Message-ID: <20110918214754.GM18359@yellowpig>
References: <4E5E52C5.4050702@googlemail.com>
 <20110901202245.GH17070@yellowpig>
 <4E5FF27B.5080600@googlemail.com>
 <20110902165738.GM17070@yellowpig>
 <20110913144151.GE6199@yellowpig>
 <4E76503A.9070006@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <4E76503A.9070006@googlemail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
On Sun, Sep 18, 2011 at 10:10:34PM +0200, Julian Taylor wrote:
> On 09/13/2011 04:41 PM, Bill Allombert wrote:
> > On Fri, Sep 02, 2011 at 06:57:38PM +0200, Bill Allombert wrote:
> >> On Thu, Sep 01, 2011 at 11:00:43PM +0200, Julian Taylor wrote:
> >>
> >> Well, you can try the attached patch which work around the compiler issue without
> >> breaking the ABI (tested on sparc).
> > 
> > Hello Julian, 
> > I have uploaded a new Debian package that includes this patch and it was built correctly
> > on all platform, as you can see 
> > <https://buildd.debian.org/status/package.php?p=pari>
> > this includes armel and sparc. 
> > Do you still have issues on armel ?
> > 
> > A technical note: it is possible that stack_init is not standard compliant, but it
> > should be possible to rewrite it in a standard compliant according to
> > <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49330#c8>
> > However gcc-4.6 bug PR49330 is still open so PARI would still be miscompiled.
> > 
> > Cheers,
> > Bill.
> 
> unfortunately it still fails with the same issue in my qemu armel chroot
> on ubuntu oneiric which has pretty much the same gcc version as debian
> (4.6-9ubuntu3).
> I don't understand why.

Can you check with the debugger whether it is not a different instance of the same
issue ? The function pari_init_parser has a similar issue.

Cheers,
Bill.



Send a report that this bug log contains spam.


Bill Allombert <allomber@math.u-bordeaux.fr>. Last modified: Sat Aug 26 17:15:18 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.