[Top][All Lists]

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

[Qemu-devel] Build Broken?

From: Tom Musta
Subject: [Qemu-devel] Build Broken?
Date: Tue, 13 May 2014 09:17:18 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

The current origin/master is not building for me:

  LINK  qemu-img
qemu-img.o: In function `add_format_to_seq':
/bghome/tmusta/powerisa/qemu/qemu/qemu-img.c:73: undefined reference to 
collect2: ld returned 1 exit status
make: *** [qemu-img] Error 1

Bisection points me to this:

> git bisect good
1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3 is the first bad commit
commit 1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3
Author: Mike Day <address@hidden>
Date:   Mon May 5 12:53:34 2014 -0400

    qemu-img: sort block formats in help message

    The help message for qemu-img lists the supported block formats, of
    which there are 27 as of version 2.0.50. The formats are printed in
    the order of their driver's position in a linked list, which appears
    random. This patch prints the formats in sorted order, making it
    easier to read and to find a specific format in the list.

    [Added suggestions from Fam Zheng <address@hidden> to declare variables
    at the top of the scope in help() and to omit explicit cast for void*

    Signed-off-by: Mike Day <address@hidden>
    Signed-off-by: Stefan Hajnoczi <address@hidden>

It appears that this code is dependent on glib.h function that is newer than 
one of my build systems
(RHEL 6 update 5, gcc version 4.4.7 20120313 (Red Hat 4.4.7-4))

Is this a known limitation?  i.e. is QEMU 2.1 going to prereq a newer version 
of glib2?

reply via email to

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