From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amk8l-0003WU-0k for qemu-devel@nongnu.org; Sun, 03 Apr 2016 11:40:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amk8h-0001j1-Jm for qemu-devel@nongnu.org; Sun, 03 Apr 2016 11:40:38 -0400 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:36207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amk8h-0001iq-Ae for qemu-devel@nongnu.org; Sun, 03 Apr 2016 11:40:35 -0400 Received: by mail-lf0-x230.google.com with SMTP id g184so61553694lfb.3 for ; Sun, 03 Apr 2016 08:40:34 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Liviu Ionescu In-Reply-To: Date: Sun, 3 Apr 2016 18:40:31 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: Subject: Re: [Qemu-devel] segmentation fault in object.c:type_initialize_interface() if interface not defined List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers > On 03 Apr 2016, at 15:28, Peter Maydell = wrote: > since hw/arm/boot.o is in obj-y it should always be built, not necessarily, in my build configuration I have if's that exclude most = of the files non related to Cortex-M.=20 in previous versions boot.o was not needed. in 2.5.1 you introduced a = non-obvious dependency to it and the build passed, but the program = crashed. > but we could assert on it rather than just crashing. my suggestion is to assert, it is easier to debug a failed assertion. regards, Liviu