From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:57878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTM26-0000gs-0N for qemu-devel@nongnu.org; Wed, 23 Nov 2011 18:15:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTM24-00033O-TK for qemu-devel@nongnu.org; Wed, 23 Nov 2011 18:15:13 -0500 Received: from mail-bw0-f45.google.com ([209.85.214.45]:33691) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTM24-00033I-Nz for qemu-devel@nongnu.org; Wed, 23 Nov 2011 18:15:12 -0500 Received: by bkbzu5 with SMTP id zu5so2422152bkb.4 for ; Wed, 23 Nov 2011 15:15:11 -0800 (PST) From: Max Filippov Date: Thu, 24 Nov 2011 03:15:08 +0400 References: <4ECCEDFF.1000303@googlemail.com> <201111240018.00852.jcmvbkbc@gmail.com> <4ECD7B92.8050505@googlemail.com> In-Reply-To: <4ECD7B92.8050505@googlemail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111240315.08880.jcmvbkbc@gmail.com> Subject: Re: [Qemu-devel] cannot build qemu with "--static" configure option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mr Dash Four Cc: Peter Maydell , qemu-devel@nongnu.org, Paolo Bonzini > >> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gmem.o):(.note.stapsdt+0x24): undefined reference to `glib_mem__alloc_semaphore' > >> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gmem.o):(.note.stapsdt+0x7c): undefined reference to `glib_mem__alloc_semaphore' > >> /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gmem.o):(.note.stapsdt+0xd0): undefined reference to `glib_mem__alloc_semaphore' > > ... > > > > It appears to be glib2 issue: https://bugzilla.gnome.org/show_bug.cgi?id=654078 > Spot on, unfortunately! This is what I now have after applying your patch (thank you!): ... > Is there any solution to this? Traditional: it may be fixed in the mainline already, F15 has version 2.28.8, whereas mainline tip is 2.31.2. However nothing in the git log suggests that. > > In the latest F15 it's not fixed. Mr-4, probably you will not escape re-compiling, if not even patching glib2. > I am not afraid of doing that as long as it works and helps me out. Should I see/try whether it has been fixed in rawhide? Well, patching always helps AFAIK (: And rawhide -- give it a try if it's easy. Thanks. -- Max