SVN head breaks a lot of apps, 0.9.30 works

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Feb 26 11:44:04 UTC 2009


> -----Original Message-----
> From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] On
> Behalf Of Rob Landley
> Sent: den 26 februari 2009 08:05
> To: uclibc at uclibc.org
> Cc: rhabarber1848
> Subject: Re: SVN head breaks a lot of apps, 0.9.30 works
> 
> On Wednesday 25 February 2009 12:14:22 Bernhard Reutner-Fischer wrote:
> > On Tue, Feb 24, 2009 at 06:24:37PM +0100, Denys Vlasenko wrote:
> > >On Monday 23 February 2009 08:07:42 pm rhabarber1848 wrote:
> > >> Denys Vlasenko wrote:
> > >> > Meanwhile, try unsetting LINUXTHREADS_OLD=y in your .config,
> > >> > does it work after that? --
> > >>
> > >> Hi,
> > >>
> > >> no. This activates LINUXTHREADS_NEW which I, unfortunately, was
> > >> never able to compile:
> > >>
> > >>   CC libpthread/linuxthreads/sysdeps/powerpc/pspinlock.oS
> > >> libpthread/linuxthreads/sysdeps/pthread/errno-loc.c:23:27:
> > >> sysdep-cancel.h: No such file or directory
> > >
> > >Apparently it stays that way since rev 13745 (three years old).
> > >That rev did "initial import of latest linuxthreads" which
> > >is likely never worked.
> > >
> > >I would say keeping this cruft around does more harm than good.
> >
> > LT_NEW does not support all arches (same for LT_OLD).
> > If somebody wants to help to cut down on the number of thread impls
> > then go add support for your arch to NPTL which should replace both
> > LT_NEW and LT_OLD mid-term.
> 
> Is there a list of which arches each supports?
> 
> I currently use LINUXTHREADS_OLD for every target in FWL.  I have
> working test environments (built from source and bootable to a 
> shell prompt under qemu) for arm, mips, powerpc, sh4, x86, and 
> x86_64.  Sparc builds but only works statically linked (need to
> debug what's up with the dynamic loader), and m68k I need to find
> a decent emulator for (qemu only supports coldfire).  (I have
> random bits of cris and bfin and alpha such, but qemu hasn't got
> quite enough support for them for me to finish either yet.  No 
> bfin at all, cris and alpha were missing usable board emulations
> last I checked.)
> 
> uClibc claims to support:
>   alpha, arm, avr32, bfin, cris, e1, frv, h8300, hppa, i386, i960,
>   ia64, m68k, microblaze, mips, nios, nios2, powerpc, superh, sh64, 
>   sparc, v850, vax, x86_64, and xtensa.
> 
> I know arm, i386,mips,  powerpc, superh, and x86_64 all work with
> linuxthreads_old.  I know m68k and sparc at least compile with it.
> I believe Alpha, hppa, and i960, and vax are all archaic and 
> discontinued.  (I'm still vaguely interested in supporting them,
> but it's hard to work up a lot of enthusiasm for something with no
> new deployments.)  No human being cares about ia64 unless paid to
> do so by a large pointy-haired corporation operating on sheer 
> inertia.  Whatever e1 is, it's acknowledged "broken" in the config.
> 
> That leaves avr32, bfin, cris, frv, h8300, microblaze, nios, nios2,
> sh64, v850, and xtensa.
> 
> Which of these don't work with LINUXTHREADS_OLD, and are there
> emulators for any of them that I might be able to test boot stuff 
> with?
> 
> Rob

It is linuxthreads_old for CRIS. Never got the "new" linuxthread
to compile for it (didn't give it much of an effort though).

//Peter



More information about the uClibc mailing list