Summary: | sys-devel/gcc: include versioned compiler symlinks for cross-compilers | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | cJ <cJ-gentoo> |
Component: | Eclasses | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Fix cross toolchains: Do not create unprefixed compiler links |
Description
cJ
2008-05-03 19:53:35 UTC
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. |