If you're still having trouble, try building for a fermi or kepler target using nouveau_compiler, i.e. src/gallium/drivers/nouveau/nouveau_compiler -a c0 - <paste the tgsi shader, ^D> and enjoy. [It also can take it from a file.]