System: Gentoo amd64 unstable, using the x11 overlay. Since commit a913175a3eb22d64ba5d222039f2c846a1747cab of x11 overlay (dated Apr 25), mesa-9999 now uses LLVM when building gallium (which I do, since I use the nouveau driver). Unfortunately, dev-libs/udis86 is currently broken: in the ebuild log, ld complains that "relocations are not possible, please recompile with -fPIC" (approximate message - I don't have the ebuild log handy). As a result, swrastg_dri.so is not generated and the build fails. I have emerged just this morning (20100428, 8:00am GMT) and see that an update to LLVM occurred, and that it does not require udis86 anymore (new udis86 flag, set to false by default). I remerged llvm, removed udis... But mesa-9999 still explicitly requires udis86 and the ebuild fails the same way. The solution (while udis86 remains broken) is to remove udis86 as a dependency from mesa-9999 (patch attached), which makes mesa compile again.
Created attachment 229479 [details] Patch to x11 overlay: don't require udis86 for mesa when gallium USE flag is set
I am using it on amd64 without any problems. Please attach logs which detail your build issue.
Created attachment 229481 [details] The build log showing the failure
Created attachment 229483 [details] emerge --info output
Does the situation change if you set EXTRA_ECONF="--with-pic" when building udis86?
> Does the situation change if you set EXTRA_ECONF="--with-pic" when building > udis86? Yes it does: now mesa builds OK. This is with a portage tree and x11 overlay synchronized 20 minutes ago.
Resolving as WORKSFORME, as the bug was not reproducible here and a workaround exists.