This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi List, I am trying to build a cross compiler for ia64 system on i386 system. I am following the same order for building the cross compiler as mentioned in the FAQ at :http://www.objsw.com/CrossGCC/. First I built the binutils without any problems. Then I started building gcc. I get the following error : /linux_build/tarballs/build-gcc-3.0.2/gcc/xgcc -B/linux_build/tarballs/build-gcc-3.0.2/gcc/ -B/usr/local/ia64-linux/ia64-linux/bin/ -B/usr/local/ia64-linux/ia64-linux/lib/ -isystem /usr/local/ia64-linux/ia64-linux/include -O2 -DCROSS_COMPILE -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc-3.0.2/gcc -I../../gcc-3.0.2/gcc/. -I../../gcc-3.0.2/gcc/config -I../../gcc-3.0.2/gcc/../include -fexceptions -c ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c -o libgcc/./fde-glibc.o ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:42:3: #error You need GLIBC 2.2.4 or later on IA-64 Linux ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:54: warning: `struct dl_phdr_info' declared inside parameter list ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:54: warning: its scope is only this definition or declaration, which is probably not what you want. ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c: In function `_Unwind_IteratePhdrCallback': ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:64: dereferencing pointer to incomplete type ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:65: dereferencing pointer to incomplete type ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:69: dereferencing pointer to incomplete type ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:70: dereferencing pointer to incomplete type ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:77: dereferencing pointer to incomplete type ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c: In function `_Unwind_FindTableEntry': ../../gcc-3.0.2/gcc/config/ia64/fde-glibc.c:158: warning: implicit declaration of function `dl_iterate_phdr' make[2]: *** [libgcc/./fde-glibc.o] Error 1 make[2]: Leaving directory `/linux_build/tarballs/build-gcc-3.0.2/gcc' make[1]: *** [libgcc.a] Error 2 make[1]: Leaving directory `/linux_build/tarballs/build-gcc-3.0.2/gcc' make: *** [all-gcc] Error 2 I tried doing cross-compilation of glibc but that needs to the cross compiler which I am trying to build. How do I fix this problem ? Any help is greatly appreciated. Hiren Mehta Software Design Engineer Agilent Technologies ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |