Hi, I tried to build GCC again from the svn repository but make gave me an error in the end that said, ../../trunk/gcc/lto/lto-elf.c: In function 'validate_file' : ../../trunk/gcc/lto/lto-elf.c:539:3:error: implicit declaration of function 'elf_getshdrstrndx' [-Werror=implicit-function-declaration] cc1:all warnings being treated as errors make[3]:*** [lto/lto-elf.o] Error 1 Leaving directory '/home/sandy/Development/build/gcc' make[3]:*** [all-stage2-gcc] Error 2 Leaving directory '/home/sandy/Development/build' make[1]:*** [stage2-bubble] Error 2 Leaving directory '/home/sandy/Development/build' make:*** [all] Error 2 I did the following procedure in installation. mkdir Development && cd Development svn co svn://gcc.gnu.org/svn/gcc/trunk mkdir bld && cd bld ../trunk/configure make Before this I installed the necessary prerequisites namely the libraries mpfr, gmp, mpc and libelf (I need LTO enabled) and configured the path in /etc/ld.so.conf.d/local.conf to point to /usr/local/lib and then did ldconfig. Are there any more libraries needed for the build? Can now someone help me to diagnose the problem? -- Cheers Sandy