Hi all, I am building the tool chain for the first time. I have build the binutils 2.15.91 as provided from arm devzone site, for arm-linux target by giving the option for configuration as ../binutils-2004-qa1/configure --target=arm-linux --prefix=/usr/arm_tools Then I build the GCC. I am bulding the GCC taking it from the snapshot version 4.0.0. I am building GCC by providing the follwing command for configuration. ../gcc-4.0-20040926/configure --target=arm-linux --prefix=/usr/arm_tools --disable-threads --with-cpu=arm1020e --enable-languages=c --without-headers I am able to build the arm-linux-gcc cross compiler. Now the problem comes during the building of glibc. I am using the following option to configure the glibc. And before configure I have set CC=arm-linux-gcc and set the path variable approrpiatly so that CC picks up arm-linux-gcc properly. ../glibc-20040927/configure arm-linux --build=i686-pc-linux-gnu --prefix=/usr/arm_tools/arm-linux --enable-add-ons=linuxthreads --host=arm-linux --with-headers=/usr/arm_tools/arm-linux/include but i am getting the following compilation error -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- arm-linux-gcc dl-reloc.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../include -I. -I/usr/src/build/build-glibc-20040927/elf -I.. -I../libio -I/usr/src/build/build-glibc-20040927 -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../sysdeps/unix/sysv/linux/arm -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/arm/fpu -I../sysdeps/arm -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/arm_tools1/lib/gcc/arm-linux/4.0.0/include -isystem /usr/arm_tools1/arm-linux/include -D_LIBC_REENTRANT -include ../inclu../include/libc-symbols.h -o /usr/src/build/build-glibc-20040927/elf/dl-reloc.o -MD -MP -MF /usr/src/build/build-glibc-20040927/elf/dl-reloc.o.dt -MT /usr/src/build/build-glibc-20040927/elf/dl-reloc.o In file included from dynamic-link.h:59, from dl-reloc.c:267: ../sysdeps/arm/dl-machine.h: In function '_dl_relocate_object': ../sysdeps/arm/dl-machine.h:364: error: invalid storage class for function 'fix_bad_pc24' ../sysdeps/arm/dl-machine.h:399: error: invalid storage class for function 'elf_machine_rel' ../sysdeps/arm/dl-machine.h:524: error: invalid storage class for function 'elf_machine_rela' ../sysdeps/arm/dl-machine.h:603: error: invalid storage class for function 'elf_machine_rel_relative' ../sysdeps/arm/dl-machine.h:612: error: invalid storage class for function 'elf_machine_rela_relative' ../sysdeps/arm/dl-machine.h:621: error: invalid storage class for function 'elf_machine_lazy_rel' make[2]: *** [/usr/src/build/build-glibc-20040927/elf/dl-reloc.o] Error 1 make[2]: Leaving directory `/usr/src/build/glibc-20040927/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/usr/src/build/glibc-20040927' make: *** [all] Error 2 ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Any help will be appreciated. Thanks and regards, Pradip