From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:44851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ugctb-0003tc-ER for qemu-devel@nongnu.org; Sun, 26 May 2013 11:30:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UgctZ-0007sx-HN for qemu-devel@nongnu.org; Sun, 26 May 2013 11:30:07 -0400 Received: from mail-ie0-x230.google.com ([2607:f8b0:4001:c03::230]:48447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UgctZ-0007sP-Ct for qemu-devel@nongnu.org; Sun, 26 May 2013 11:30:05 -0400 Received: by mail-ie0-f176.google.com with SMTP id at1so16366883iec.21 for ; Sun, 26 May 2013 08:30:04 -0700 (PDT) Sender: fluxion Date: Sun, 26 May 2013 10:26:48 -0500 From: mdroth Message-ID: <20130526152648.GA4599@vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] make check breakage on 32 bit hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel On Sun, May 26, 2013 at 12:00:57PM +0000, Blue Swirl wrote: > I get this on i386 chroot for make check: > > GTESTER tests/test-qmp-output-visitor > ** > ERROR:/src/qemu/tests/test-qmp-output-visitor.c:595:check_native_list: > assertion failed: (tmp) > GTester: last random seed: R02S559792e7c8d0762d9a2ee153fba8896c > ** Tests case looks correct, problem seems to be that we cast list node to GenericList, which expects the 'value' field to be a pointer type. With native lists types these are in some cases non-pointer types, like intList, where 'value' is an int64_t. On 32-bit archs this cast leads to use uses incorrect offset when trying to traverse the list. Don't see a way to fix this outside of making the code generators do a bit of massaging for these cases rather than a cast. Looking at it now, but might not be able to send a patch till later.