Bug#671866: gmp: causes gcc ICEs on amd64 and kfreebsd-amd64
Marc Haber
mh+debian-bugs at zugschlus.de
Tue May 8 09:16:46 CEST 2012
On Mon, May 07, 2012 at 10:09:55PM -0500, Steve M. Robbins wrote:
> On Mon, May 07, 2012 at 11:54:18PM +0200, Julien Cristau wrote:
> > On Mon, May 7, 2012 at 21:35:58 +0200, Laurent Fousse wrote:
> >
> > > Hello,
> > >
> > > * Julien Cristau [Mon, May 07, 2012 at 06:08:40PM +0200]:
> > > > it looks like the update from gmp 2:5.0.4+dfsg-1 to 2:5.0.5+dfsg-1
> > > > causes gcc to ICE on the buildds.
> > > > See e.g.
> > > > https://buildd.debian.org/status/fetch.php?pkg=ufraw&arch=amd64&ver=0.18-1.1%2Bb2&stamp=1336402119
> > >
> > > It would be interesting to see if the bug goes away when mpfr is
> > > rebuilt against the newest gmp package.
> > >
> > > I will look into it this evening, but feel free to beat me to it.
> > >
> > I haven't tried that, won't get to it today. However as a data point
> > the crash seemed to (mostly? only?) affect VM guests, rather than
> > physical hosts.
>
> Matches my experience: I cannot reproduce the crash using reproducer.c
> on my physical amd64.
Yes, my reproducer.c happens to happen on a KVM VM, and the physical
host compiles the code just fine.
Btw, removing -O2 from the cc1 command line makes the compile work
even inside the VM.
> On the other hand, I just looked at the source diff and there is a
> change in configure.guess that changes the behaviour for a 64-bit
> "vmkernel". Could this be affecting your virtual machine?
>
> @@ -1315,6 +1325,9 @@
> i*86:AROS:*:*)
> echo ${UNAME_MACHINE}-pc-aros
> exit ;;
> + x86_64:VMkernel:*:*)
> + echo ${UNAME_MACHINE}-unknown-esx
> + exit ;;
That thing doesn't affect my box:
[1/499]mh at salida:~$ UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
[2/500]mh at salida:~$ UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
[3/501]mh at salida:~$ UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
[4/502]mh at salida:~$ UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
[5/503]mh at salida:~$ echo ${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}
x86_64:Linux:3.3.4-zgsrv20080:#2 SMP PREEMPT Fri Apr 27 20:09:39 UTC 2012
[6/504]mh at salida:~$
It is an KVM VM.
Greetings
Marc
--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 31958061
Nordisch by Nature | How to make an American Quilt | Fax: *49 621 31958062
More information about the gmp-bugs
mailing list