linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* glibc 2.2.x?
@ 2001-05-15 19:10 Denton Gentry
  2001-05-15 19:24 ` Matthew Locke
  0 siblings, 1 reply; 2+ messages in thread
From: Denton Gentry @ 2001-05-15 19:10 UTC (permalink / raw)
  To: linuxppc-embedded


  About 6 weeks ago there were a couple messages on the list
about glibc 2.2.x and embedded PowerPC. Has anyone made more
progress?
  I'm trying to use glibc2.2.3 on a Walnut board, and cannot
start any processes. The MVista glibc-2.1.3 and ld.so.1 work
fine on this platform. My problem with glibc 2.2.3 looks similar
to the problems described a few weeks ago (fault when linking
libraries).


  Just for reference, heres what I did to glibc 2.2.3:

  I had to move sysdeps/powerpc/fclrexcept.c to the fpu subdirectory,
as it deals with the FPU (sysdeps/generic/fclrexcept.c will be used
instead). I also had to remove the fenv_const and fe_nomask references
from the Makefile.
  So far as I can see __elf_machine_runtime_setup() in
sysdeps/powerpc/dl-machine.c has been updated to know that
not all PPCs have 32 byte cache lines, so I left it alone.
memset.S does still have an assumption about cache line
size ("subfic  rALIGN, rALIGN, 0x20"), so I moved it aside
to let the generic version be used.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: glibc 2.2.x?
  2001-05-15 19:10 glibc 2.2.x? Denton Gentry
@ 2001-05-15 19:24 ` Matthew Locke
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Locke @ 2001-05-15 19:24 UTC (permalink / raw)
  To: Denton Gentry; +Cc: linuxppc-embedded


The problem we ran into with 2.2.2 was the optimized memset wasn't
aligned properly.  We reverted back to the generic memset and haven't
had any trouble on 8xx. I am not aware of any similar issues on the 405,
but...


Denton Gentry wrote:
>
>   About 6 weeks ago there were a couple messages on the list
> about glibc 2.2.x and embedded PowerPC. Has anyone made more
> progress?
>   I'm trying to use glibc2.2.3 on a Walnut board, and cannot
> start any processes. The MVista glibc-2.1.3 and ld.so.1 work
> fine on this platform. My problem with glibc 2.2.3 looks similar
> to the problems described a few weeks ago (fault when linking
> libraries).
>
>   Just for reference, heres what I did to glibc 2.2.3:
>
>   I had to move sysdeps/powerpc/fclrexcept.c to the fpu subdirectory,
> as it deals with the FPU (sysdeps/generic/fclrexcept.c will be used
> instead). I also had to remove the fenv_const and fe_nomask references
> from the Makefile.
>   So far as I can see __elf_machine_runtime_setup() in
> sysdeps/powerpc/dl-machine.c has been updated to know that
> not all PPCs have 32 byte cache lines, so I left it alone.
> memset.S does still have an assumption about cache line
> size ("subfic  rALIGN, rALIGN, 0x20"), so I moved it aside
> to let the generic version be used.
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-15 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-15 19:10 glibc 2.2.x? Denton Gentry
2001-05-15 19:24 ` Matthew Locke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).