This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcc3.0.1 fails to build on RedHat7.1 as cross-compiler for ia64


Hi

I am trying to build gcc3.0.1 as a cross compiler for ia64 on a RedHat 7.1 kernel 2.4.2 with binutils2.11.2
The gcc build fails at

In file included from ../../gcc-3.0.1/gcc/unwind.h:169,
                 from ../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:35:
/opt/ia64/ia64-pc-linux/include/stdlib.h:7:27: stdlib/stdlib.h: No such file or directory
In file included from ../../gcc-3.0.1/gcc/unwind.h:169,
                 from ../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:35:
/opt/ia64/ia64-pc-linux/include/stdlib.h:11: parse error before "__random"
/opt/ia64/ia64-pc-linux/include/stdlib.h:16: parse error before "int32_t"
/opt/ia64/ia64-pc-linux/include/stdlib.h:54: parse error before "__compar_fn_t"
/opt/ia64/ia64-pc-linux/include/stdlib.h:59: parse error before "__attribute_malloc__"
In file included from ../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:35:
../../gcc-3.0.1/gcc/unwind.h: In function `_Unwind_GetTextRelBase':
../../gcc-3.0.1/gcc/unwind.h:181: warning: implicit declaration of function `abort'
../../gcc-3.0.1/gcc/unwind.h:179: warning: unused parameter `_C'
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c: In function `push':
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:234: warning: implicit declaration of function `memcpy'
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c: In function `uw_frame_state_for':
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:1462: warning: implicit declaration of function `memset'
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c: In function `uw_install_context':
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:1777: warning: passing arg 1 of `ia64_rse_skip_regs' makes pointer from integer without a cast
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:1777: warning: assignment makes integer from pointer without a cast
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c: At top level:
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:1264: warning: `ia64_rse_is_rnat_slot' defined but not used
../../gcc-3.0.1/gcc/config/ia64/unwind-ia64.c:1281: warning: `ia64_rse_num_regs' defined but not used
make[2]: *** [libgcc/./unwind-ia64.o] Error 1
make[2]: Leaving directory `/home/padiyarp/ia64/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/home/padiyarp/ia64/build-gcc/gcc'
make: *** [all-gcc] Error 2


Please suggest !.

Thanks in advance.

-Prasad


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]