qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] implement smbios support for mach-virt: triggers usual QEMU makefile bug
@ 2015-10-05  8:34 Claudio Fontana
  2015-10-05 10:11 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Claudio Fontana @ 2015-10-05  8:34 UTC (permalink / raw)
  To: Peter Maydell; +Cc: qemu-devel@nongnu.org

Hi Peter,

The commit "smbios: implement smbios support for mach-virt" seems to cause the usual problem in QEMU's makefiles to trigger:

hw/arm/virt.c:892: undefined reference to `smbios_set_defaults'
hw/arm/virt.c:895: undefined reference to `smbios_get_tables'

This is IIRC the consequence of adding CONFIG_SMBIOS=y to default-configs/rm-softmmu.mak,
which is not picked up by the build system until a clean of the working tree has been done, right?

This is worked around by

$ git clean -d -x -f

followed by reconfigure/rebuild. Just wanted to mention this on the list in case someone is looking to fix this longstanding issue..

Ciao, thanks

Claudio

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] implement smbios support for mach-virt: triggers usual QEMU makefile bug
  2015-10-05  8:34 [Qemu-devel] implement smbios support for mach-virt: triggers usual QEMU makefile bug Claudio Fontana
@ 2015-10-05 10:11 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2015-10-05 10:11 UTC (permalink / raw)
  To: Claudio Fontana; +Cc: Paolo Bonzini, qemu-devel@nongnu.org

On 5 October 2015 at 09:34, Claudio Fontana <claudio.fontana@huawei.com> wrote:
> Hi Peter,
>
> The commit "smbios: implement smbios support for mach-virt" seems to cause the usual problem in QEMU's makefiles to trigger:
>
> hw/arm/virt.c:892: undefined reference to `smbios_set_defaults'
> hw/arm/virt.c:895: undefined reference to `smbios_get_tables'
>
> This is IIRC the consequence of adding CONFIG_SMBIOS=y to default-configs/rm-softmmu.mak,
> which is not picked up by the build system until a clean of the working tree has been done, right?
>
> This is worked around by
>
> $ git clean -d -x -f
>
> followed by reconfigure/rebuild. Just wanted to mention this on the
> list in case someone is looking to fix this longstanding issue..

You can also just remove $BUILDDIR/aarch64-softmmu-config-devices.mak.d
I think, which will cause us to realise we need to regenerate
config-devices.mak.

I haven't ever been able to figure out why this stuff fails. We have
had several bugs in the past here, and if you have a build-tree that
predates those getting fixed you can have stale stuff in the tree
that means that even after the makefile fixes they still don't take
effect. But I suspect there's still a bug in there somewhere.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-05 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05  8:34 [Qemu-devel] implement smbios support for mach-virt: triggers usual QEMU makefile bug Claudio Fontana
2015-10-05 10:11 ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).