Time for 0.9.29-pre1.

Rob Landley rob at landley.net
Fri Apr 13 10:16:49 PDT 2007


On Friday 13 April 2007 8:31 am, Heikki Lindholm wrote:
> Rob Landley kirjoitti:
> > Hey mike.  I just put an unofficial 0.9.29-pre1 (svn 18418) at 
> > http://uclibc.org/~landley/uClibc-0.9.29-pre1.tar.bz2
> > 
> > The unofficial release message is "Ok, there's still bugs in this, but 
they're 
> > a known, finite set of bugs.  Please tell us what they are before we 
release 
> > the final version."
> 
> Maybe this'd be good spot to ask: which thread config is supposed to 
> work with .29?

My config is using:

UCLIBC_HAS_THREADS=y
LINUXTHREADS_OLD=y

> I remember trying LINUXTHREADS some weeks ago, but any  
> program even linked with -lpthread died instantly on load -> I quickly 
> went back to .28.

Let's see, the threaded version of hello world is:

#define __REENTRANT
#include <pthread.h>
#include <stdio.h>

void *threadhello(void *unused)
{
  printf("Hello, world!\n");
  return 0;
}

int main()
{
  pthread_t thready;
  pthread_create(&thready, NULL, &threadhello, NULL);
  usleep(10);
}

Then go:

  gcc hello-thread.c -lpthread
  ./a.out

And it says:

  Hello, world!

Working for me.  You can reproduce my build environment at 
http://landley.net/code/firmware (prebuilt images in downloads/image although 
you'll need to "ln -s /tools/lib /lib" before you can run anything you build.  
I believe downloads/README tells you about that...)

> Also, the buildbot builds of trunk seem to have been  
> broken for some time.

According to Mike Frysinger (who ran the buildbot), it was actually buildbot 
that broke.  It seems to have been discontinued.

Trunk builds fine for me.  I built the above snapshot with my Firmware Linux 
build system.  (The current hg snapshot from http://landley.net/hg/firmware 
will even use the -pre1 release.  The link at the top that says "gz" can 
download a gzipped tarball without the need to install mercurial.)

Rob
-- 
Penguicon 5.0 Apr 20-22, Linux Expo/SF Convention.  Bruce Schneier, Christine 
Peterson, Steve Jackson, Randy Milholland, Elizabeth Bear, Charlie Stross...


More information about the uClibc mailing list