0.9.29, somethings wrong with linker or threading

Rob Landley rob at landley.net
Sat May 19 16:12:55 PDT 2007


On Saturday 19 May 2007 6:27 pm, Kevin Day wrote:
> I never noticed the problem myself after having almost an entire
> system compiled, until a configure script test failed to find a
> library (libao) that was installed.

So it's reproducible, then?  (I haven't seen it yet, but I'm not doing much 
with threading.)

> gcc-4.1.2 binutils 2.17
> 
> With debug on, valgrind showed the error to be in forward.c:143, which
> seems to be a macro that creates the function
> _thread_cleanup_push_defer.
> I manually expanded and recompiled to see where in that function the
> error was happening, but it seems to be outside of uClibc as the error
> was happening on the open-brace '{'. (assuming I expanded the macro by
> hand correctly..)

When debugging, gcc -E is often your friend. :)

> I may even go as far as to stick my neck out and try to build against
> the recently released 4.2.0 gcc.

I'm pondering that myself, but considering how much of a pain 4.1.0 was I'm 
not in a rush...

Rob


More information about the uClibc mailing list