/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file collect2: error: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file collect2: error: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: error: ../../../../src/gallium/targets/pipe-loader/pipe.link:1:9: invalid use of VERSION in input file collect2: error: ld returned 1 exit status
there are tc-ld-is-gold/tc-ld-disable-gold helpers now in toolchain-funcs.eclass
Does it still happen with current mesa?
The linker script in question (that used "VERSION") that ld.gold couldn't handle was removed in upstream commit commit ce6c17c0833032e91a2d1b34f9eb80c738a854a2 Author: Emil Velikov <emil.l.velikov@gmail.com> Date: Sat Apr 5 18:04:18 2014 +0100 targets/pipe-loader: cleanup version-script which was first in the mesa-10.2 release. If there are further problems... new bugs.