+ [[ -z '' ]] ++ echo 3 ++ tr -d '[:digit:]' + [[ -z '' ]] + i=1 + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/config-i686-pc-linux-gnu ]] + [[ /etc/env.d/gcc-i686-pc-linux-gnu != /etc/env.d/gcc/config-i686-pc-linux-gnu ]] + continue + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/config-i686-pc-linux-gnu-4.1.2 ]] + [[ /etc/env.d/gcc-i686-pc-linux-gnu-4.1.2 != /etc/env.d/gcc/config-i686-pc-linux-gnu-4.1.2 ]] + continue + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.0 ]] + [[ /etc/env.d/gcc-i686-pc-linux-gnu-4.2.0 != /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.0 ]] + continue + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.1 ]] + [[ /etc/env.d/gcc-i686-pc-linux-gnu-4.2.1 != /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.1 ]] + continue + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 ]] + [[ /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 != /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 ]] + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 ]] + [[ 3 == 1 ]] + (( ++i )) + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 ]] + [[ /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 != /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 ]] + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 ]] + [[ 3 == 2 ]] + (( ++i )) + for y in '"${GCC_ENV_D}"/*' + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] + [[ /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 != /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] + [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] + [[ 3 == 3 ]] + CC_COMP=i686-pc-linux-gnu-4.2.1 + break + true + set -x + get_real_chost + [[ -n '' ]] + [[ -n '' ]] + python -V ++ env -i portageq envvar CHOST + export REAL_CHOST=i686-pc-linux-gnu + REAL_CHOST=i686-pc-linux-gnu + [[ -z i686-pc-linux-gnu ]] + CTARGET=i686-pc-linux-gnu-4.2.1 + [[ switch_profile == \s\w\i\t\c\h\_\p\r\o\f\i\l\e ]] + [[ -z i686-pc-linux-gnu-4.2.1 ]] + [[ -z i686-pc-linux-gnu-4.2.1 ]] + [[ switch_profile != \g\e\t\_\c\u\r\r\e\n\t\_\p\r\o\f\i\l\e ]] +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 +++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ awk -F/ '{ print "/"$2"/"$3"/"$4"/" }' + GCC_LIB=/usr/lib/gcc/ ++ chop_gcc_ver_spec i686-pc-linux-gnu-4.2.1 +++ split_gcc_ver i686-pc-linux-gnu-4.2.1 +++ echo i686-pc-linux-gnu-4.2.1 +++ awk -F- ' function pushit(onme, pushee) { return (onme == "" ? pushee : pushee"-"onme); } { state=3 targ="" ver="" spec="" for (i=NF; i > 0; --i) { if (state >= 2) { if ($i ~ /^(alpha|beta|pre|rc|p)?[[:digit:].]+$/) { ver=pushit(ver, $i) state=2 } else if (state == 3) spec=pushit(spec, $i) else state=1 } if (state == 1) targ = pushit(targ, $i) } if (targ == "") { if (ver == "") { ver=spec spec="" } targ=ver ver="" } print targ " " ver (spec != "" ? " " spec : "") }' ++ local 'splitTED=i686-pc-linux-gnu 4.2.1' ++ splitTED=4.2.1 ++ echo 4.2.1 + CC_COMP_VERSION=4.2.1 + CC_COMP_TARGET=i686-pc-linux-gnu + [[ ! -d ///usr/lib/gcc//i686-pc-linux-gnu/4.2.1 ]] + [[ ! -d ///usr/lib/gcc//i686-pc-linux-gnu/4.2.1 ]] + [[ ! -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] + [[ no == \y\e\s ]] + eval switch_profile ++ switch_profile ++ local MY_LDPATH= ++ local GCC_PROFILES= ++ local OLD_CC_COMP= ++ local GCC_PATH= +++ id -u ++ [[ 0 != \0 ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ ebegin 'Switching native-compiler to i686-pc-linux-gnu-4.2.1' ++ local 'msg=Switching native-compiler to i686-pc-linux-gnu-4.2.1' dots spaces= ++ [[ no == \y\e\s ]] ++ [[ -n '' ]] ++ msg='Switching native-compiler to i686-pc-linux-gnu-4.2.1 ...' ++ einfon 'Switching native-compiler to i686-pc-linux-gnu-4.2.1 ...' ++ [[ no == \y\e\s ]] ++ [[ yes != \y\e\s ]] ++ echo -ne ' * Switching native-compiler to i686-pc-linux-gnu-4.2.1 ...' * Switching native-compiler to i686-pc-linux-gnu-4.2.1 ...++ LAST_E_CMD=einfon ++ return 0 ++ [[ yes == \y\e\s ]] ++ echo ++ LAST_E_LEN=59 ++ LAST_E_CMD=ebegin ++ return 0 ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 +++ LC_ALL=C +++ ls -r /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++ GCC_PROFILES='/etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2' ++ GCC_PROFILES='/etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2' ++ MY_LDPATH= ++ for x in '${GCC_PROFILES}' ++ [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 +++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ local 'old_IFS= ' ++ export IFS=: ++ IFS=: ++ local sub_ldpath= ++ for sub_ldpath in '${LDPATH}' ++ [[ -d /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ]] ++ [[ '' == '' ]] ++ MY_LDPATH=:/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ export 'IFS= ' ++ IFS=' ' ++ for x in '${GCC_PROFILES}' ++ [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 +++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++ local 'old_IFS= ' ++ export IFS=: ++ IFS=: ++ local sub_ldpath= ++ for sub_ldpath in '${LDPATH}' ++ [[ -d /usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ]] ++ [[ '' == :/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ]] ++ export 'IFS= ' ++ IFS=' ' ++ for x in '${GCC_PROFILES}' ++ [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 ]] +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.0 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.0/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.0 +++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ++ local 'old_IFS= ' ++ export IFS=: ++ IFS=: ++ local sub_ldpath= ++ for sub_ldpath in '${LDPATH}' ++ [[ -d /usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ]] ++ [[ :/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 == :/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ]] ++ MY_LDPATH=:/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ++ export 'IFS= ' ++ IFS=' ' ++ for x in '${GCC_PROFILES}' ++ [[ -f /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 ]] +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.1.2 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2 +++ echo /usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ++ local 'old_IFS= ' ++ export IFS=: ++ IFS=: ++ local sub_ldpath= ++ for sub_ldpath in '${LDPATH}' ++ [[ -d /usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ]] ++ [[ :/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0 == :/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0 ]] ++ MY_LDPATH=:/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ++ export 'IFS= ' ++ IFS=' ' ++ MY_LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2 ++ cp -p /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1.gcc-config-ref +++ unset GCC_PATH PATH ROOTPATH +++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 ++++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man ++++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info ++++ STDCXX_INCDIR=g++-v4 ++++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 +++ echo /usr/i686-pc-linux-gnu/gcc-bin/4.2.1 ++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 ++ /bin/sed -i -e '/^PATH=/d' -e '/^ROOTPATH=/d' -e '/^GCC_PATH=/d' /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++ echo 'GCC_PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.2.1"' ++ touch -r /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1.gcc-config-ref /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++ rm -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1.gcc-config-ref ++ unset GCC_SPECS LDPATH ++ source /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 +++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 +++ MANPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/man +++ INFOPATH=/usr/share/gcc-data/i686-pc-linux-gnu/4.2.1/info +++ STDCXX_INCDIR=g++-v4 +++ GCC_PATH=/usr/i686-pc-linux-gnu/gcc-bin/4.2.1 +++ get_current_profile +++ local conf=/etc/env.d/gcc/config +++ [[ ! -f /etc/env.d/gcc/config ]] +++ conf=/etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.1 +++ [[ ! -f /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.1 ]] ++++ source /etc/env.d/gcc/config-i686-pc-linux-gnu-4.2.1 +++++ CURRENT=i686-pc-linux-gnu-4.2.1 ++++ echo i686-pc-linux-gnu-4.2.1 +++ CURRENT=i686-pc-linux-gnu-4.2.1 +++ [[ -z i686-pc-linux-gnu-4.2.1 ]] +++ [[ ! -f /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ]] +++ echo i686-pc-linux-gnu-4.2.1 +++ return 0 ++ OLD_CC_COMP=i686-pc-linux-gnu-4.2.1 ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ awk '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS|GCC_PATH)=/ {print $0}' /etc/env.d/gcc/i686-pc-linux-gnu-4.2.1 ++ echo 'LDPATH="/usr/lib/gcc/i686-pc-linux-gnu/4.2.1:/usr/lib/gcc/i686-pc-linux-gnu/4.2.0:/usr/lib/gcc/i686-pc-linux-gnu/4.1.2"' ++ echo 'PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.2.1"' ++ echo 'ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/4.2.1"' ++ [[ -n '' ]] ++ [[ / != \/ ]] ++ GCC_SPECS= ++ /usr/bin/gcc -v ++ echo 'GCC_SPECS=""' ++ echo CURRENT=i686-pc-linux-gnu-4.2.1 ++ rm -f /etc/env.d/gcc/NATIVE /etc/env.d/gcc/.NATIVE ++ ln -sf i686-pc-linux-gnu-4.2.1 /etc/env.d/gcc/.NATIVE ++ rm -f /etc/env.d/05gcc ++ rm -f /etc/env.d/gcc/config ++ local wrapper ++ for wrapper in lib lib lib64 lib32 lib ++ wrapper=/usr/lib/misc/gcc-config ++ [[ -e /usr/lib/misc/gcc-config ]] ++ break ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ cpp != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/cpp ++ [[ cpp == \g\c\c ]] ++ [[ cpp == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/cpp ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/cpp ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/cpp ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/cpp //usr/bin/cpp ++ [[ cpp == \g\c\c ]] ++ [[ cpp == \g\+\+ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ cc != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/cc ++ [[ c == \g\c\c ]] ++ [[ c == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/cc ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc //usr/bin/cc ++ [[ c == \g\c\c ]] ++ [[ c == \g\+\+ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gcc != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gcc ++ [[ gcc == \g\c\c ]] ++ rm -f //usr/bin/gcc32 //usr/bin/gcc64 ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/gcc ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc //usr/bin/gcc ++ [[ gcc == \g\c\c ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ c++ != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/c++ ++ [[ c++ == \g\c\c ]] ++ [[ c++ == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/c++ ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/c++ ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/c++ ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/c++ //usr/bin/c++ ++ [[ c++ == \g\c\c ]] ++ [[ c++ == \g\+\+ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ g++ != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/g++ ++ [[ g++ == \g\c\c ]] ++ [[ g++ == \g\+\+ ]] ++ rm -f //usr/bin/g++32 //usr/bin/g++64 ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g++ ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g++ ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/g++ ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g++ //usr/bin/g++ ++ [[ g++ == \g\c\c ]] ++ [[ g++ == \g\+\+ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ f77 != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/f77 ++ [[ f77 == \g\c\c ]] ++ [[ f77 == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g77 ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g77 ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ g77 != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/g77 ++ [[ g77 == \g\c\c ]] ++ [[ g77 == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g77 ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/g77 ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gcj != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gcj ++ [[ gcj == \g\c\c ]] ++ [[ gcj == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcj ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcj ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gcjh != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gcjh ++ [[ cjh == \g\c\c ]] ++ [[ cjh == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcjh ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcjh ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gcov != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gcov ++ [[ cov == \g\c\c ]] ++ [[ cov == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcov ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcov ]] ++ cp -f /usr/lib/misc/gcc-config //usr/bin/gcov ++ touch -r ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcov //usr/bin/gcov ++ [[ cov == \g\c\c ]] ++ [[ cov == \g\+\+ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gdc != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gdc ++ [[ gdc == \g\c\c ]] ++ [[ gdc == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gdc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gdc ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gdmd != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gdmd ++ [[ dmd == \g\c\c ]] ++ [[ dmd == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gdmd ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gdmd ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ gfortran != i686-pc-linux-gnu-4.2.1-* ]] ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ rm -f //usr/bin/gfortran ++ [[ ran == \g\c\c ]] ++ [[ ran == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gfortran ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gfortran ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-cpp != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-cpp ++ [[ cpp == \g\c\c ]] ++ [[ cpp == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-cpp ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-cpp ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-cc != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-cc ++ [[ -cc == \g\c\c ]] ++ [[ -cc == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-cc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-cc ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gcc != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gcc ++ [[ gcc == \g\c\c ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gcc32 //usr/bin/i686-pc-linux-gnu-4.2.1-gcc64 ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcc ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-c++ != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-c++ ++ [[ c++ == \g\c\c ]] ++ [[ c++ == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-c++ ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-c++ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-g++ != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-g++ ++ [[ g++ == \g\c\c ]] ++ [[ g++ == \g\+\+ ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-g++32 //usr/bin/i686-pc-linux-gnu-4.2.1-g++64 ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-g++ ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-g++ ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-f77 != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-f77 ++ [[ f77 == \g\c\c ]] ++ [[ f77 == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-f77 ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-f77 ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-g77 != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-g77 ++ [[ g77 == \g\c\c ]] ++ [[ g77 == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-g77 ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-g77 ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gcj != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gcj ++ [[ gcj == \g\c\c ]] ++ [[ gcj == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcj ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcj ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gcjh != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gcjh ++ [[ cjh == \g\c\c ]] ++ [[ cjh == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcjh ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcjh ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gcov != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gcov ++ [[ cov == \g\c\c ]] ++ [[ cov == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcov ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gcov ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gdc != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gdc ++ [[ gdc == \g\c\c ]] ++ [[ gdc == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gdc ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gdc ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gdmd != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gdmd ++ [[ dmd == \g\c\c ]] ++ [[ dmd == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gdmd ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gdmd ]] ++ for x in '{,${CTARGET}-}{cpp,cc,gcc,c++,g++,f77,g77,gcj,gcjh,gcov,gdc,gdmd,gfortran}' ++ [[ i686-pc-linux-gnu-4.2.1-gfortran != i686-pc-linux-gnu-4.2.1-* ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-gfortran ++ [[ ran == \g\c\c ]] ++ [[ ran == \g\+\+ ]] ++ local ref ++ case ${x} in ++ ref=///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gfortran ++ [[ -x ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/i686-pc-linux-gnu-4.2.1-gfortran ]] ++ rm -f //usr/bin/i686-pc-linux-gnu-4.2.1-cc ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ [[ i686-pc-linux-gnu-4.2.1 != *-solaris* ]] ++ rm -f //lib/cpp ++ cp -f /usr/lib/misc/gcc-config //lib/cpp ++ is_cross_compiler ++ get_real_chost ++ [[ -n i686-pc-linux-gnu ]] ++ return 0 ++ [[ -4.2.1 == i686-pc-linux-gnu-4.2.1 ]] ++ LDPATH=/usr/lib/gcc/i686-pc-linux-gnu/4.2.1 +++ ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc -print-multi-lib ++ for multilib in '$("${ROOT}/${GCC_PATH}"/gcc -print-multi-lib)' ++ multiarg= ++ multiarg= ++ multilibdir=. +++ ///usr/i686-pc-linux-gnu/gcc-bin/4.2.1/gcc -print-multi-os-directory ++ libdir=lib/. ++ mkdir -p //lib/./.gcc.config.new ++ for gcclib in gcc_s unwind +++ ls ///usr/lib/gcc/i686-pc-linux-gnu/4.2.1/./libgcc_s.so.1 ++ [[ -n ///usr/lib/gcc/i686-pc-linux-gnu/4.2.1/./libgcc_s.so.1 ]] ++ cp -pP ///usr/lib/gcc/i686-pc-linux-gnu/4.2.1/./libgcc_s.so.1 //lib/./.gcc.config.new/ ++ mv -f //lib/./.gcc.config.new/libgcc_s.so.1 //lib/./ ++ for gcclib in gcc_s unwind +++ ls '///usr/lib/gcc/i686-pc-linux-gnu/4.2.1/./libunwind.so.*' ++ [[ -n '' ]] ++ rmdir //lib/./.gcc.config.new ++ unset multilib ++ unset multilibdir ++ unset multiarg ++ unset libdir ++ [[ / == \/ ]] ++ [[ i686-pc-linux-gnu-4.2.1 != i686-pc-linux-gnu-4.2.1 ]] ++ [[ no == \y\e\s ]] ++ eend 0 ++ local retval=0 ++ shift ++ _eend 0 eerror '' ++ local retval=0 efunc=eerror msg ++ shift 2 ++ [[ 0 == \0 ]] ++ [[ no == \y\e\s ]] ++ msg='[ ok ]' ++ [[ yes == \y\e\s ]] ++ echo -e ' [ ok ]'  [ ok ] ++ return 0 ++ LAST_E_CMD=eend ++ return 0 ++ [[ / == \/ ]] ++ [[ i686-pc-linux-gnu-4.2.1 != i686-pc-linux-gnu-4.2.1 ]] ++ return 0