I noticed that the symlinks /usr/bin/${CTARGET}-{gcc,g++}-version aren't present for gcc in the case of a cross-compilation toolchain (correct me if I'm wrong). Having them would be good (couldn't hurt) !
Mike: any reason why we should or shouldn't do this? You are the one with the most cross-compilation experience :)
can't think of a reason to not do this http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.518&r2=1.519
Apparently, the current fix for this bug breaks crossdev, see bug 406765.
Staring at toolchain.eclass, it seems than the 'lower' versioned symlink (the one without ${CTARGET}) should be created only if ! is_crosscompiling, i.e. (near line 1487: if ! is_crosscompile ; then # only install non-cross compilers without target prefix dosym ${BINPATH}/${CTARGET}-${x} \ /usr/bin/${x}-${GCC_CONFIG_VER} fi This improved fix works correctly for me (sample size 1).
Created attachment 304137 [details, diff] Fix cross toolchains: Do not create unprefixed compiler links
(In reply to comment #5) > Created attachment 304137 [details, diff] [details, diff] > Fix cross toolchains: Do not create unprefixed compiler links I have the same issue. This fix works for me.