Building IA-64 gcc breaks
navin
navin@students.iiit.net
Thu May 8 09:54:00 GMT 2003
For a compilers project i require ia64 gcc build .So i grabbed gcc 3.2 and
other sources.
The bootstrap gcc after binutils build fails. Anyone there to help me .
Someone pointed that i should copy the ia64 headers from another system
which is the nue/include.
1)
CFLAGS="-O2 -Dinhibit_libc" ../gcc-3.2/configure
--target=ia64-unknown-linux --prefix=/FPS/Bunny/work/ia64.bak/
--enable-languages=c --disable-shared --disable-multilib
--enable-threads=single --with-headers=/FPS/Bunny/work/nue/include
I have copied /nue/usr/include and given that headers.make reports the
following error.
In file included from config.h:2,
from ../../gcc-3.2/gcc/config/ia64/fde-glibc.c:34:
auto-host.h:344:1: warning: "_GNU_SOURCE" redefined
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:32:1: warning: this is the
location of the previous definition
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:42:3: #error You need GLIBC
2.2.4 or later on IA-64 Linux
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:54: warning: `struct
dl_phdr_info' declared inside parameter list
../../gcc-3.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.2/gcc/config/ia64/fde-glibc.c: In function
`_Unwind_IteratePhdrCallback':
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:64: dereferencing pointer to
incomplete type
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:65: dereferencing pointer to
incomplete type
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:69: dereferencing pointer to
incomplete type
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:70: dereferencing pointer to
incomplete type
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:77: dereferencing pointer to
incomplete type
../../gcc-3.2/gcc/config/ia64/fde-glibc.c: In function
`_Unwind_FindTableEntry':
../../gcc-3.2/gcc/config/ia64/fde-glibc.c:160: warning: implicit
declaration of function `dl_iterate_phdr'
make[2]: *** [libgcc/./fde-glibc.o] Error 1
make[2]: Leaving directory `/FPS/Bunny/work/gcc-build2/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/FPS/Bunny/work/gcc-build2/gcc'
make: *** [all-gcc] Error 2
glibc-2.2.93 glibc-common-2.2.93
Please note that i have not include --with-libs . Hope this libs are
fine.Also i have glibc 2.3.
2)I saw on the posts that we could do that same by doing gcc and glibc in
parallel. What would i do if i don't have access to a ia64 machine and
don't have the headers. Does glibc provide something. Is there a way so
that it can be built on my pentium 3 with the help of only glibc
sources.
More information about the Gcc-bugs
mailing list