Trying to build app-emulation/qemu-user-1.4.0 ends up in: /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libglib-2.0.a(gslice.o):(.note.stapsdt+0x24): undefined reference to `glib_slice__alloc_semaphore' [13 others functions...] /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/../../../../lib64/libglib-2.0.a(gdataset.o):(.note.stapsdt+0x108): undefined reference to `glib_quark__new_semaphore' Seems closely related to upstream glib: https://bugzilla.gnome.org/show_bug.cgi?id=654078 Reproducible: Always
Created attachment 343260 [details] app-emulation/qemu-user-1.4.0 compilation error undefined reference to `glib_mem__alloc_semaphore' failures when compiling app-emulation/qemu-user-1.4.0
Give app-emulation/qemu with USE=static-user a whirl and see if you get better results.
Same problem here. qemu is compiled with static-user
Ok, I think my problem was another one. https://bugs.gentoo.org/show_bug.cgi?id=465064 This solved the compiling issues.
qemu-user has been removed from the tree as its functionality has been superseded by the combined app-emulation/qemu package. if you find the qemu package does not support something that the qemu-user package did, please file a new bug explicitly detailing things so we can get it added.