﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2997	GCC 4.6.1 pass 1 gives error while loading shared libraries: libiconv.so.2	Manmohan	lfs-book@…	"'''I am applying gcc-4.6.1-cross_compile-1.patch as follows'''

lfs:/mnt/lfs/sources/gcc-build$ cd ../gcc-4.6.1
lfs:/mnt/lfs/sources/gcc-4.6.1$ patch -Np1 -i ../gcc-4.6.1-cross_compile-1.patch
patching file configure
patching file configure.ac
lfs:/mnt/lfs/sources/gcc-4.6.1$

I am using configure flags as mentioned in book LFS 7.0

../gcc-4.6.1/configure --target=$LFS_TGT --prefix=/tools --disable-nls --disable-shared --disable-multilib --disable-decimal-float --disable-threads --disable-libmudflap --disable-libssp --disable-libgomp --disable-libquadmath --disable-target-libiberty --disable-target-zlib --enable-languages=c --without-ppl --without-cloog --with-mpfr-include=$(pwd)/../gcc-4.6.1/mpfr/src --with-mpfr-lib=$(pwd)/mpfr/src/.libs 

'''but i am getting this error''' 

r/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/vec.c -o vec.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
        -DBASEVER=""\""4.6.1\"""" -DDATESTAMP=""\""\"""" \
        -DREVISION=""\""\"""" \
        -DDEVPHASE=""\""\"""" -DPKGVERSION=""\""(GCC) \"""" \
        -DBUGURL=""\""<http://gcc.gnu.org/bugs.html>\"""" -c ../../gcc-4.6.1/gcc/version.c -o version.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/vmsdbgout.c -o vmsdbgout.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/web.c -o web.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/xcoffout.c -o xcoffout.o
gawk -f ../../gcc-4.6.1/gcc/config/i386/i386-builtin-types.awk ../../gcc-4.6.1/gcc/config/i386/i386-builtin-types.def > tmp-bt.inc
/bin/sh ../../gcc-4.6.1/gcc/../move-if-change tmp-bt.inc i386-builtin-types.inc
echo timestamp > s-i386-bt
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
                ../../gcc-4.6.1/gcc/config/i386/i386.c -o i386.o
../../gcc-4.6.1/gcc/config/i386/i386.c: In function 'ix86_vectorize_builtin_vec_perm':
../../gcc-4.6.1/gcc/config/i386/i386.c:32721: warning: 'fcode' may be used uninitialized in this function
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber   \
                ../../gcc-4.6.1/gcc/config/host-linux.c
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/cgraph.c -o cgraph.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/cgraphbuild.c -o cgraphbuild.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/cgraphunit.c -o cgraphunit.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
          -DGCC_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include\"" -DFIXED_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed\"" -DGPLUSPLUS_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1\"" -DGPLUSPLUS_TOOL_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1/x86_64-lfs-linux-gnu\"" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1/backward\"" -DLOCAL_INCLUDE_DIR=\""/usr/local/include\"" -DCROSS_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/sys-include\"" -DTOOL_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include\"" -DPREFIX=\""/tools/\"" -DSTANDARD_EXEC_PREFIX=\""/tools/lib/gcc/\""  -DBASEVER=""\""4.6.1\"""" \
          -c ../../gcc-4.6.1/gcc/cppbuiltin.c -o cppbuiltin.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
          -DGCC_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include\"" -DFIXED_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/include-fixed\"" -DGPLUSPLUS_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1\"" -DGPLUSPLUS_TOOL_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1/x86_64-lfs-linux-gnu\"" -DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include/c++/4.6.1/backward\"" -DLOCAL_INCLUDE_DIR=\""/usr/local/include\"" -DCROSS_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/sys-include\"" -DTOOL_INCLUDE_DIR=\""/tools/lib/gcc/x86_64-lfs-linux-gnu/4.6.1/../../../../x86_64-lfs-linux-gnu/include\"" -DPREFIX=\""/tools/\"" -DSTANDARD_EXEC_PREFIX=\""/tools/lib/gcc/\""  \
          -c ../../gcc-4.6.1/gcc/cppdefault.c -o cppdefault.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/incpath.c -o incpath.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-cp.c -o ipa-cp.o
../../gcc-4.6.1/gcc/ipa-cp.c: In function 'ipcp_insert_stage':
../../gcc-4.6.1/gcc/ipa-cp.c:1227: warning: 'delta' may be used uninitialized in this function
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-split.c -o ipa-split.o
../../gcc-4.6.1/gcc/ipa-split.c: In function 'find_split_points':
../../gcc-4.6.1/gcc/ipa-split.c:770: warning: 'first.can_split' is used uninitialized in this function
../../gcc-4.6.1/gcc/ipa-split.c:770: warning: 'first.non_ssa_vars' is used uninitialized in this function
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-inline.c -o ipa-inline.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-prop.c -o ipa-prop.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-pure-const.c -o ipa-pure-const.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-reference.c -o ipa-reference.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-ref.c -o ipa-ref.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-struct-reorg.c -o ipa-struct-reorg.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-type-escape.c -o ipa-type-escape.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa-utils.c -o ipa-utils.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ipa.c -o ipa.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/matrix-reorg.c -o matrix-reorg.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
        -DPREFIX=\""/tools\"" -DBASEVER=""\""4.6.1\"""" \
          -c ../../gcc-4.6.1/gcc/prefix.c -o prefix.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/tree-inline.c -o tree-inline.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/tree-nomudflap.c -o tree-nomudflap.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/varpool.c -o varpool.o
rm -rf libbackend.a
ar rc libbackend.a insn-attrtab.o insn-automata.o insn-emit.o insn-extract.o insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o insn-enums.o ggc-page.o alias.o alloc-pool.o auto-inc-dec.o bb-reorder.o bitmap.o bt-load.o builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o cfgexpand.o cfghooks.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o cfgrtl.o combine.o combine-stack-adj.o compare-elim.o convert.o coverage.o cse.o cselib.o dbxout.o dbgcnt.o dce.o ddg.o debug.o df-core.o df-problems.o df-scan.o dfp.o diagnostic.o dojump.o dominance.o domwalk.o double-int.o dse.o dwarf2asm.o dwarf2out.o ebitmap.o emit-rtl.o et-forest.o except.o explow.o expmed.o expr.o final.o fixed-value.o fold-const.o function.o fwprop.o gcse.o ggc-common.o gimple.o gimple-iterator.o gimple-fold.o gimple-low.o gimple-pretty-print.o gimplify.o godump.o graph.o graphds.o graphite.o graphite-blocking.o graphite-clast-to-gimple.o graphite-cloog-util.o graphite-dependences.o graphite-flattening.o graphite-interchange.o graphite-poly.o graphite-ppl.o graphite-scop-detection.o graphite-sese-to-poly.o gtype-desc.o haifa-sched.o hooks.o hwint.o ifcvt.o implicit-zee.o init-regs.o input.o integrate.o intl.o ira.o ira-build.o ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o langhooks.o lcm.o lists.o loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o loop-unswitch.o lower-subreg.o lto-cgraph.o lto-streamer-in.o lto-streamer-out.o lto-section-in.o lto-section-out.o lto-symtab.o lto-opts.o lto-streamer.o lto-compress.o mcf.o mode-switching.o modulo-sched.o omega.o omp-low.o optabs.o options.o opts-common.o opts-global.o opts.o params.o passes.o plugin.o pointer-set.o postreload-gcse.o postreload.o predict.o pretty-print.o print-rtl.o print-tree.o profile.o real.o realmpfr.o recog.o reg-stack.o regcprop.o reginfo.o regmove.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o rtl-error.o rtl.o rtlanal.o rtlhooks.o sbitmap.o sched-deps.o sched-ebb.o sched-rgn.o sched-vis.o sdbout.o sel-sched-ir.o sel-sched-dump.o sel-sched.o sese.o simplify-rtx.o sparseset.o sreal.o stack-ptr-mod.o statistics.o stmt.o stor-layout.o store-motion.o stringpool.o target-globals.o targhooks.o timevar.o toplev.o tracer.o tree-affine.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o tree-chrec.o tree-complex.o tree-data-ref.o tree-dfa.o tree-diagnostic.o tree-dump.o tree-eh.o tree-emutls.o tree-if-conv.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o tree-nested.o tree-nrv.o tree-object-size.o tree-optimize.o tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-copyrename.o tree-ssa-dce.o tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o tree-ssa-loop-prefetch.o tree-ssa-loop-unswitch.o tree-ssa-loop.o tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-phiprop.o tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o tree-ssa-sink.o tree-ssa-structalias.o tree-ssa-ter.o tree-ssa-threadedge.o tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa-uninit.o tree-ssa.o tree-ssanames.o tree-stdarg.o tree-tailcall.o tree-vect-generic.o tree-vect-patterns.o tree-vect-data-refs.o tree-vect-stmts.o tree-vect-loop.o tree-vect-loop-manip.o tree-vect-slp.o tree-vectorizer.o tree-vrp.o tree.o value-prof.o var-tracking.o varasm.o vec.o version.o vmsdbgout.o web.o xcoffout.o i386.o  host-linux.o cgraph.o cgraphbuild.o cgraphunit.o cppbuiltin.o cppdefault.o incpath.o ipa-cp.o ipa-split.o ipa-inline.o ipa-prop.o ipa-pure-const.o ipa-reference.o ipa-ref.o ipa-struct-reorg.o ipa-type-escape.o ipa-utils.o ipa.o matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o varpool.o
ranlib  libbackend.a
build/genchecksum c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a   ../libdecnumber/libdecnumber.a \
                     checksum-options > cc1-checksum.c.tmp &&            \
        ../../gcc-4.6.1/gcc/../move-if-change cc1-checksum.c.tmp cc1-checksum.c
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    cc1-checksum.c -o cc1-checksum.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o cc1 c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o \
          cc1-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a    -L/mnt/lfs/sources/gcc-build/./gmp/.libs -L/mnt/lfs/sources/gcc-build/mpfr/src/.libs -L/mnt/lfs/sources/gcc-build/./mpc/src/.libs -lmpc -lmpfr -lgmp -rdynamic -ldl  -L../zlib -lz
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/gcov.c -o gcov.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/errors.c -o errors.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  gcov.o intl.o version.o errors.o ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -o gcov
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/gcov-dump.c -o gcov-dump.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  gcov-dump.o version.o errors.o \
                ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -o gcov-dump
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber     \
        -DTARGET_MACHINE=\""x86_64-lfs-linux-gnu\"" \
        -c ../../gcc-4.6.1/gcc/collect2.c -o collect2.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/collect2-aix.c -o collect2-aix.o
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/tlink.c -o tlink.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o Tcollect2 \
                collect2.o collect2-aix.o tlink.o intl.o version.o ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
mv -f Tcollect2 collect2
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/lto-wrapper.c -o lto-wrapper.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o Tlto-wrapper lto-wrapper.o intl.o ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
mv -f Tlto-wrapper lto-wrapper
(SHLIB_LINK='/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -shared -nodefaultlibs -Wl,--soname=@shlib_base_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f @multilib_dir@/@shlib_base_name@.so && if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then mv -f @multilib_dir@/@shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so.1.backup; else true; fi && mv @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_dir@/@shlib_base_name@.so.1 && ln -s @shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so'; \
        gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
  -DSTANDARD_STARTFILE_PREFIX=\""../../../\"" -DSTANDARD_EXEC_PREFIX=\""/tools/lib/gcc/\"" -DSTANDARD_LIBEXEC_PREFIX=\""/tools/libexec/gcc/\"" -DDEFAULT_TARGET_VERSION=\""4.6.1\"" -DDEFAULT_TARGET_MACHINE=\""x86_64-lfs-linux-gnu\"" -DSTANDARD_BINDIR_PREFIX=\""/tools/bin/\"" -DTOOLDIR_BASE_PREFIX=\""../../../../\""  `test ""X${SHLIB_LINK}"" = ""X"" || test ""no"" != ""yes"" || echo ""-DENABLE_SHARED_LIBGCC""` -DCONFIGURE_SPECS=""\""\"""" \
  -c ../../gcc-4.6.1/gcc/gcc.c -o gcc.o)
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    -o gcc-options.o \
                -DGCC_DRIVER options.c
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/ggc-none.c -o ggc-none.o
(SHLIB_LINK='/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -Dinhibit_libc -shared -nodefaultlibs -Wl,--soname=@shlib_base_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_flags@ @shlib_objs@ -lc && rm -f @multilib_dir@/@shlib_base_name@.so && if [ -f @multilib_dir@/@shlib_base_name@.so.1 ]; then mv -f @multilib_dir@/@shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so.1.backup; else true; fi && mv @multilib_dir@/@shlib_base_name@.so.1.tmp @multilib_dir@/@shlib_base_name@.so.1 && ln -s @shlib_base_name@.so.1 @multilib_dir@/@shlib_base_name@.so'; \
        gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    \
  -DSTANDARD_STARTFILE_PREFIX=\""../../../\"" -DSTANDARD_EXEC_PREFIX=\""/tools/lib/gcc/\"" -DSTANDARD_LIBEXEC_PREFIX=\""/tools/libexec/gcc/\"" -DDEFAULT_TARGET_VERSION=\""4.6.1\"" -DDEFAULT_TARGET_MACHINE=\""x86_64-lfs-linux-gnu\"" -DSTANDARD_BINDIR_PREFIX=\""/tools/bin/\"" -DTOOLDIR_BASE_PREFIX=\""../../../../\""  `test ""X${SHLIB_LINK}"" = ""X"" || test ""no"" != ""yes"" || echo ""-DENABLE_SHARED_LIBGCC""` -DCONFIGURE_SPECS=""\""\"""" \
  -c ../../gcc-4.6.1/gcc/gccspec.c -o gccspec.o)
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber   ../../gcc-4.6.1/gcc/config/i386/driver-i386.c
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o xgcc gcc.o opts-common.o gcc-options.o diagnostic.o pretty-print.o input.o vec.o ggc-none.o \
          gccspec.o intl.o prefix.o version.o driver-i386.o  ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
cp xgcc gcc-cross
gcc -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.6.1/gcc -I../../gcc-4.6.1/gcc/. -I../../gcc-4.6.1/gcc/../include -I../../gcc-4.6.1/gcc/../libcpp/include -I/mnt/lfs/sources/gcc-build/./gmp -I/mnt/lfs/sources/gcc-4.6.1/gmp -I/mnt/lfs/sources/gcc-build/../gcc-4.6.1/mpfr/src -I/mnt/lfs/sources/gcc-4.6.1/mpc/src  -I../../gcc-4.6.1/gcc/../libdecnumber -I../../gcc-4.6.1/gcc/../libdecnumber/dpd -I../libdecnumber    ../../gcc-4.6.1/gcc/cppspec.c -o cppspec.o
gcc   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o cpp gcc.o opts-common.o gcc-options.o diagnostic.o pretty-print.o input.o vec.o ggc-none.o \
          cppspec.o intl.o prefix.o version.o driver-i386.o  ../libcpp/libcpp.a  -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/mnt/lfs/sources/gcc-build/./gcc/xgcc -B/mnt/lfs/sources/gcc-build/./gcc/ -dumpspecs > tmp-specs
/mnt/lfs/sources/gcc-build/./gcc/xgcc: error while loading shared libraries: libiconv.so.2: cannot open shared object file: No such file or directory
make[2]: *** [specs] Error 127
make[2]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
make: *** [all] Error 2
lfs:/mnt/lfs/sources/gcc-build$


'''my directory structure is''' 

/mnt/lfs/sources
		/gcc-4.6.1
			/gmp
			/mpfr
			/mpc

		/gcc-build

also when I run iconv --version command I get following output

[root@localhost ~]# iconv --version
iconv (GNU libiconv 1.14)
Copyright (C) 2000-2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Bruno Haible.
[root@localhost ~]#

'''where am I wrong ?'''
"	defect	closed	high	7.1	Book	SVN	normal	invalid	GCC pass 1 error libiconv.so.2	
