latest glibc snapshot does not build on ia64?
Haven't dug into this too much yet; wanted to see if anyone else has seen this?
CPP='gcc-3.2 -E -x c-header' /home/randolph/debian/glibc-package/ia64-linux/obj /elf/ld-linux-ia64.so.2 --library-path /home/randolph/debian/glibc-package/ia64- linux/obj:/home/randolph/debian/glibc-package/ia64-linux/obj/math:/home/randolph /debian/glibc-package/ia64-linux/obj/elf:/home/randolph/debian/glibc-package/ia6 4-linux/obj/dlfcn:/home/randolph/debian/glibc-package/ia64-linux/obj/nss:/home/r andolph/debian/glibc-package/ia64-linux/obj/nis:/home/randolph/debian/glibc-pack age/ia64-linux/obj/rt:/home/randolph/debian/glibc-package/ia64-linux/obj/resolv:
/home/randolph/debian/glibc-package/ia64-linux/obj/crypt:/home/randolph/debian/g libc-package/ia64-linux/obj/linuxthreads /home/randolph/debian/glibc-package/ia6 4-linux/obj/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /home/rand olph/debian/glibc-package/ia64-linux/obj/sunrpc/xbootparam_prot.T .././scripts/mkinstalldirs /home/randolph/debian/glibc-package/ia64-linux/obj/su nrpc/rpcsvc
Inconsistency detected by ld.so: ../sysdeps/ia64/dl-machine.h: 591: elf_machine_
rela: Assertion `! "unexpected dynamic reloc format"' failed!
this is while building glibc 2.2.93 with gcc-3.2.1 (20020830) and binutils 2.13.90.0.4 20020814
randolph
Signature · 3 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/
Quoted 2 lines
Haven't dug into this too much yet; wanted to see if anyone else has seen this?
Yup.
There's a short glibc patch which takes care of this (should be on the Debian lists, else I can mail it to you once I get my machine back up). It's an "unofficial" patch because it's felt the problem really lies
with binutils and not glibc, so it's not in glibc cvs. The change
is to dl-machine.h if it helps search...
Quoted 44 lines
CPP='gcc-3.2 -E -x c-header'
/home/randolph/debian/glibc-package/ia64-linux/obj/elf/ld-linux-ia64.so.2 --library-path/home/randolph/debian/glibc-package/ia64-linux/obj:/home/randolph/debian/glibc-package/ia64-linux/obj/m ath:/home/randolph /debian/glibc-package/ia64-linux/obj/elf:/home/randolph/debian /glibc-package/ia6 4-linux/obj/dlfcn:/home/randolph/debian/glibc-package/ia64-lin ux/obj/nss:/home/r andolph/debian/glibc-package/ia64-linux/obj/nis:/home/randolph /debian/glibc-pack age/ia64-linux/obj/rt:/home/randolph/debian/glibc-package/ia64 -linux/obj/resolv:
/home/randolph/debian/glibc-package/ia64-linux/obj/crypt:/home /randolph/debian/g libc-package/ia64-linux/obj/linuxthreads/home/randolph/debian/glibc-package/ia64-linux/obj/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o/home/randolph/debian/glibc-package/ia64-linux/obj/sunrpc/xbootparam_prot.T .././scripts/mkinstalldirs/home/randolph/debian/glibc-package/ia64-linux/obj/sunrpc/rpcsvc
Inconsistency detected by ld.so:../sysdeps/ia64/dl-machine.h: 591:elf_machine_
rela: Assertion `! "unexpected dynamic reloc format"' failed!this is while building glibc 2.2.93 with gcc-3.2.1 (20020830) and binutils
2.13.90.0.4 20020814randolph
Signature · 8 lines
Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/ _______________________________________________ Linux-IA64 mailing list [email protected] http://lists.linuxia64.org/lists/listinfo/linux-ia64
In reference to a message from Wichmann, Mats D, dated Sep 03:
Quoted 11 lines
Quoted 3 lines
Haven't dug into this too much yet; wanted to see if anyone else has seen this?
Yup.
There's a short glibc patch which takes care of this (should be on the Debian lists, else I can mail it to you once I get my machine back up). It's an "unofficial" patch because it's felt the problem really lies
with binutils and not glibc, so it's not in glibc cvs. The change
is todl-machine.hif it helps search...
there was a IA64_RELOC_NONE patch, but in a different area of glibc... looks like we just hit it again at a different spot now...
580 /* ??? Ignore MSB and Instruction format for now. */
581 if (R_IA64_FORMAT (r_type) = R_IA64_FORMAT_64LSB)
582 *reloc_addr = value;
583 else if (R_IA64_FORMAT (r_type) = R_IA64_FORMAT_32LSB)
584 *(int *) reloc_addr = value;
585 else if (r_type = R_IA64_IPLTLSB)
586 {
587 reloc_addr[0] = 0;
588 reloc_addr[1] = 0;
589 }
590 else
591 assert (! "unexpected dynamic reloc format");r_type is 0 at the assertion
randolph
Randolph Chung <[email protected]> writes:
|> In reference to a message from Wichmann, Mats D, dated Sep 03: |> > |> > > Haven't dug into this too much yet; wanted to see if anyone else has |> > > seen this? |> > |> > Yup. |> > |> > There's a short glibc patch which takes care of this (should be on the |> > Debian lists, else I can mail it to you once I get my machine back up). |> > It's an "unofficial" patch because it's felt the problem really lies |> > with binutils and not glibc, so it's not in glibc cvs. The change |> > is to dl-machine.h if it helps search... |> |> there was a IA64_RELOC_NONE patch, but in a different area of glibc... |> looks like we just hit it again at a different spot now...
It's actually the same spot, but the context has changed a bit. Here is an updated patch:
Index: dl-machine.h
=================================RCS file: /cvs/glibc/libc/sysdeps/ia64/dl-machine.h,v retrieving revision 1.20
dl-machine.h +3 -4
@@ -546,12 +546,11 @@ elf_machine_rela (struct link_map *map,# endif value += map->l_addr; } -# ifndef RTLD_BOOTSTRAP - else if (r_type = R_IA64_NONE) - return; -# endif else#endif +if (r_type =R_IA64_NONE ) +return ; +else {struct link_map *sym_map;
Andreas.
Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected] SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."