compile glibc-2.2.5 with gcc-3.0.4 on ia64
Steve Christiansen
smc@us.ibm.com
Fri May 10 10:41:00 GMT 2002
On Fri, May 10, 2002 at 06:36:40PM +0200, Christian Hinkelbein wrote:
> hi,
> i am running gcc-3.0.4 and binutils 2.12 on an ia64.
> ...
> any experience in building glibc on an ia64?
Yes, but I'm using a 3.1 branch GCC. I can build glibc-2.2.5 with it
after applying the following little hack to glibc to work around a
problem in the binutils I'm using (binutils-2.12.90.0.4).
Steve
*** sysdeps/ia64/dl-machine.h.orig Fri Apr 5 13:25:35 2002
--- sysdeps/ia64/dl-machine.h Fri Apr 5 13:30:59 2002
*************** elf_machine_rela (struct link_map *map,
*** 532,538 ****
# endif
value += map->l_addr;
}
! # ifndef RTLD_BOOTSTRAP
else if (r_type == R_IA64_NONE)
return;
# endif
--- 532,538 ----
# endif
value += map->l_addr;
}
! # ifndef XX/* http://sources.redhat.com/ml/bug-binutils/2002-q1/msg00224.html */
else if (r_type == R_IA64_NONE)
return;
# endif
More information about the Gcc-bugs
mailing list