qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] segmentation fault in object.c:type_initialize_interfac


From: Peter Maydell
Subject: Re: [Qemu-devel] segmentation fault in object.c:type_initialize_interface() if interface not defined
Date: Sun, 3 Apr 2016 17:43:11 +0100

On 3 April 2016 at 16:40, Liviu Ionescu <address@hidden> wrote:
>
>> On 03 Apr 2016, at 15:28, Peter Maydell <address@hidden> 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.

boot.o is in obj-y; it is (I think) impossible to
build a v7M supporting QEMU without boot.o unless you've modified
the makefiles for some reason. That would not be a configuration
issue or a bug in QEMU, but a problem with your local modifications.

> 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.

Yes, I agree.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]