This is the mail archive of the
mailing list for the glibc project.
- To: firstname.lastname@example.org
- Subject: Re: Problem-glibc-2.0.96
- From: Geoff Keating <email@example.com>
- Date: Tue, 8 Sep 1998 00:20:06 +1000
- CC: firstname.lastname@example.org
- References: <199809070551.OAA05922@smtp01.highway.ne.jp>
> Date: Mon, 7 Sep 1998 14:51:25 +0900
> From: Kaoru Fukui <email@example.com>
> Many thanks, I could compiled glibc-2.0.95 by your suggestion.
> Yesterday, I did update to glibc-2.0.96.
> Then I have two error stop.
> I pass through first problem to remove "extern".
> I could not come over scound problem.
> <My system >
> Mklinux DR3
This is the usual sort of thing that happens when you use snapshots.
You should be aware that egcs currently (and always has) miscompiles
linuxthreads; the workaround is to use -fPIC instead of -fpic. This
is somewhat expensive in performance.
> Fist problem
> ../sysdeps/powerpc/dl-machine.h: In function `_dl_relocate_object':
> In file included from dynamic-link.h:21,
> from dl-reloc.c:80:
> ../sysdeps/powerpc/dl-machine.h:285: nested function `elf_machine_rela' declared
Hmmm. Change the 'extern' to 'inline' (this is what I had):
elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
const Elf32_Sym *sym, const struct r_found_version *version,
Elf32_Addr *const reloc_addr)
const Elf32_Sym *const refsym = sym;
Elf32_Word loadbase, finaladdr;
const int rinfo = ELF32_R_TYPE (reloc->r_info);
But I've not yet compiled the code since the ld.so changes were
installed in the CVS archive, so there may be other problems...
> Secound problem
> /wk-glibc-2.1/rebuild/elf/ld.so.1: undefined reference to `_dl_default_scope
... although I don't see how this could be related to those changes :-).
Geoffrey Keating <firstname.lastname@example.org>