Trying to build a static arm userspace emulator, qemu fails to linking, missing -lssh2, -lssl -lgmp and -lcrypto. While openssh and gmp have a static-libs USE-flag (which I guess would be necessary as dependency), openssl does not. Don't know which package provides -lcrypto Reproducible: Always
Created attachment 360818 [details] emerge --info
Created attachment 360820 [details] build.log
As expected, when openssl and gmp are built with +static-libs, the only error line appearing is: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lssh2 So -lcrypto is supplied by openssl
i also got the same error with sys-libs/zlib, had to enable static-libs on that package
static-user doesn't need static zlib/etc..., but static-softmmu does. the deps are correct, but the configure logic might need tweaking.
*** Bug 493488 has been marked as a duplicate of this bug. ***
*** Bug 508466 has been marked as a duplicate of this bug. ***
should be all set now in the tree. if you still see issues with qemu-2.0.0+, please file a new bug with specific logs/etc... Commit message: Fix static lib requirements for USE=static-user http://sources.gentoo.org/app-emulation/qemu/qemu-2.0.0.ebuild?r1=1.4&r2=1.5 http://sources.gentoo.org/app-emulation/qemu/qemu-9999.ebuild?r1=1.68&r2=1.69