I failed to emerge lxc-0.7.2-r1 on amd64 when LDFLAGS="-Wl,--as-needed". Reproducibility: Every time Steps to Reproduce: 1. emerge lxc Actual Results: failed emerge lxc. When without LDFLAGS="-Wl,--as-needed", emerge is successfull.
Created attachment 254167 [details] Log file that failed emerge lxc-0.7.2-r1 Log file that failed to emerge lxc-0.7.2-r1 on amd64 when LDFLAGS="-Wl,-O1 -Wl,--as-needed".
As in most of other ''--as-needed' bugs, correct solution is that liblxc should link to libcap.
Can you still please post your emerge --info? Because there is something strange as this doesn't fail with forced as-needed…
Created attachment 254289 [details] "emerge --info" file
(In reply to comment #3) > Can you still please post your emerge --info? Because there is something > strange as this doesn't fail with forced as-needed… > Uploaded my emerge --info to http://bugs.gentoo.org/attachment.cgi?id=254289.
Fixed in 0.7.3 already (and upstream didn't upload it to sf.net's FRS…).