This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


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

Re: Problem-glibc-2.0.96


On Tue, 8 Sep 1998, Geoff Keating wrote:

> > Date: Mon, 7 Sep 1998 14:51:25 +0900
> > From: Kaoru Fukui <k_fukui@highway.ne.jp>
> 
> > 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
> > egcs-1.1a-1.ppc.rpm
> 
> 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
> > ===========
> > build/elf/dl-reloc.o
> > ../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 
> > `extern'
> 
> Hmmm.  Change the 'extern' to 'inline' (this is what I had):
> 
> inline void
> 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 :-).

It's not. But I think it IS, however, related to your new start.S. Did you
try compiling your changes before you commited them.. :-( This looks like
bad assembly.. Can you take a look?

matt.



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