Received: from eggs.gnu.org ([140.186.70.92]:42124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXyBo-0007yW-MY for qemu-devel@nongnu.org; Sat, 18 Jun 2011 12:16:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QXyBm-0001Mn-VF for qemu-devel@nongnu.org; Sat, 18 Jun 2011 12:16:04 -0400 Received: from fmmailgate02.web.de ([217.72.192.227]:60853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QXyBm-0001Mc-FO for qemu-devel@nongnu.org; Sat, 18 Jun 2011 12:16:02 -0400 Message-Id: From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <1307911585-22106-2-git-send-email-stefanha@linux.vnet.ibm.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Sat, 18 Jun 2011 18:15:59 +0200 References: <1307911585-22106-1-git-send-email-stefanha@linux.vnet.ibm.com> <1307911585-22106-2-git-send-email-stefanha@linux.vnet.ibm.com> Sender: andreas.faerber@web.de Subject: Re: [Qemu-devel] [PATCH v5 1/5] Add hard build dependency on glib List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi , Michael Roth , Anthony Liguori Cc: Kevin Wolf , "qemu-devel@nongnu.org Developers" , Blue Swirl , "Aneesh Kumar K.V" , Paolo Bonzini , Venkateswararao Jujjuri Am 12.06.2011 um 22:46 schrieb Stefan Hajnoczi: > From: Anthony Liguori > > GLib is an extremely common library that has a portable thread > implementation > along with tons of other goodies. > > GLib and GObject have a fantastic amount of infrastructure we can > leverage in > QEMU including an object oriented programming infrastructure. GObject still doesn't build on Darwin/ppc64: CC gboxed.lo ../../glib-2.28.8/gobject/gboxed.c: In function 'g_closure_get_type': ../../glib-2.28.8/gobject/gboxed.c:120: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:120: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:120: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:120: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_value_get_type': ../../glib-2.28.8/gobject/gboxed.c:121: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:121: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:121: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:121: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_value_array_get_type': ../../glib-2.28.8/gobject/gboxed.c:122: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:122: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:122: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:122: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_date_get_type': ../../glib-2.28.8/gobject/gboxed.c:123: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:123: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:123: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:123: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_gstring_get_type': ../../glib-2.28.8/gobject/gboxed.c:125: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:125: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:125: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:125: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_hash_table_get_type': ../../glib-2.28.8/gobject/gboxed.c:126: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:126: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:126: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:126: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_array_get_type': ../../glib-2.28.8/gobject/gboxed.c:127: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:127: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:127: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:127: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_ptr_array_get_type': ../../glib-2.28.8/gobject/gboxed.c:128: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:128: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:128: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:128: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_byte_array_get_type': ../../glib-2.28.8/gobject/gboxed.c:129: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:129: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:129: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:129: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_regex_get_type': ../../glib-2.28.8/gobject/gboxed.c:132: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:132: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:132: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:132: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_variant_type_get_gtype': ../../glib-2.28.8/gobject/gboxed.c:138: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:138: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:138: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:138: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_error_get_type': ../../glib-2.28.8/gobject/gboxed.c:141: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:141: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:141: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:141: error: incompatible type for argument 3 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c: In function 'g_date_time_get_type': ../../glib-2.28.8/gobject/gboxed.c:143: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:143: warning: union cannot be made transparent ../../glib-2.28.8/gobject/gboxed.c:143: error: incompatible type for argument 2 of '_g_register_boxed' ../../glib-2.28.8/gobject/gboxed.c:143: error: incompatible type for argument 3 of '_g_register_boxed' make[4]: *** [gboxed.lo] Error 1 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 With both gcc 4.0.1 and 4.2.1, using CC="gcc -arch ppc64" CPPFLAGS="- arch ppc64" and supplying GNU gettext and GNU libiconv (since it chokes on the system iconv.h). No Google hit. Any thoughts? Andreas