From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33130) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTJGi-0001ac-6W for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:18:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RTJGf-0002yw-Pf for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:18:08 -0500 Received: from mail-fx0-f45.google.com ([209.85.161.45]:62735) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RTJGf-0002yo-L3 for qemu-devel@nongnu.org; Wed, 23 Nov 2011 15:18:05 -0500 Received: by faas14 with SMTP id s14so2328667faa.4 for ; Wed, 23 Nov 2011 12:18:04 -0800 (PST) From: Max Filippov Date: Thu, 24 Nov 2011 00:18:00 +0400 References: <4ECCEDFF.1000303@googlemail.com> <201111240008.15872.jcmvbkbc@gmail.com> In-Reply-To: <201111240008.15872.jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <201111240018.00852.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: Peter Maydell Cc: Paolo Bonzini , Mr Dash Four , qemu-devel@nongnu.org > It fails some other way ): >=20 > $ make V=3D1 > gcc -m64 -D_FORTIFY_SOURCE=3D2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=3D64 -D_= LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrit= e-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all = =2DWendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wfor= mat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-decl= aration -Wold-style-definition -Wtype-limits -I../linux-headers -I.. -I/ho= me/jcmvbkbc/ws/m/awt/emu/xtensa/qemu/target-i386 -DNEED_CPU_H -pthread -I/u= sr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/home/jcmvbkbc/ws/m/a= wt/emu/xtensa/qemu/linux-user/x86_64 -I/home/jcmvbkbc/ws/m/awt/emu/xtensa/q= emu/linux-user -O2 -g -Wl,--warn-common -m64 -static -g -Wl,-T../config-h= ost.ld -Wl,-T,/home/jcmvbkbc/ws/m/awt/emu/xtensa/qemu/x86_64.ld -o qemu-x8= 6_64 ../libdis-user/i386-dis.o ../libuser/cache-utils.o ../libuser/cutils.o= ../libuser/envlist.o ../libuser/host-utils.o ../libuser/path.o ../libuser/= tcg-runtime.o ../libuser/trace.o ../libuser/trace/control.o ../libuser/trac= e/default.o cpu-exec.o cpu-uname.o cpuid.o disas.o elfload.o exec.o fpu/sof= tfloat.o gdbstub.o helper.o ioport-user.o linuxload.o main.o mmap.o op_help= er.o osdep.o oslib-posix.o qemu-thread-posix.o signal.o strace.o syscall.o = tcg/optimize.o tcg/tcg.o thunk.o translate-all.o translate.o uaccess.o user= =2Dexec.o -lrt -pthread -pthread -lgthread-2.0 -lrt -lglib-2.0 -lm >=20 > /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gm= em.o):(.note.stapsdt+0x24): undefined reference to `glib_mem__alloc_semapho= re' > /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gm= em.o):(.note.stapsdt+0x7c): undefined reference to `glib_mem__alloc_semapho= re' > /usr/lib/gcc/x86_64-redhat-linux/4.6.1/../../../../lib64/libglib-2.0.a(gm= em.o):(.note.stapsdt+0xd0): undefined reference to `glib_mem__alloc_semapho= re' =2E.. It appears to be glib2 issue: https://bugzilla.gnome.org/show_bug.cgi?id=3D= 654078 In the latest F15 it's not fixed. Mr-4, probably you will not escape re-com= piling, if not even patching glib2. Thanks. =2D- Max