Created attachment 304089 [details] media-libs/mesa-8.0.1-r1 build.log with default USE flags This was pulled into the dependency graph when trying to compile firefox at Anarchy's request. Users will encounter this when building www-client/firefox on sparc64-solaris. mesa initially refused to build for me no matter what its USE flags were until I rebuilt my prefix by specifying >= in its package.accept_keywords file. Then a suggestion by chithead to build with `env USE="-classic -egl -gallium" emerge -1v media-libs/mesa` worked around this issue.
Same problem for ARM platforms (at least armv6j and armv7l, both hardfloat).
(not prefix in my case)
Created attachment 320902 [details] build.log (armv6j-hardfloat-linux-gnueabi)
(In reply to comment #3) > /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.7.1/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: cannot find -l-O2 That is a different issue, bug 429288.