Created attachment 303189 [details] build log See summary and attached log. zlib is installed as sys-libs/zlib-1.2.6[minizip] Will investigate too...
From config.log: x86_64-pc-linux-gnu-gcc -m64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -o /var/tmp/portage/app-emulation/qemu-1.0-r3/temp/qemu-conf-24663-17623-2540.exe /var/tmp/portage/app-emulation/qemu-1.0-r3/temp/qemu-conf-22491-17623-30929.c -m64 -static -g -Wl,-z,execheap -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -lz /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lz heh... seems it checks for a static library!
... which may be related to the fact that I try to build a static qemu ...
I've made a tweak to qemu and qemu-kvm that should resolve this issue for you.