Fwd: Cannot build uclibc++ against toolchain (dl_iterate_phdr & __tls_get_addr): RESOLVED

Flemming Madsen madsenco at gmail.com
Wed Sep 17 13:02:30 UTC 2008


Thanks for all the replies. For now i have fixed it in two ways:


__tls_get_addr:
   Easy, My fault: Configure uclibc++ to NOT use TLS (Duh!)

dl_iterate_phdr:
  For some reason, in uClibc,  this lives in libdl.a, NOT in libdl.so or libc.so
  I patched Rules.mak in the toplevel dir to link with -Wl,-Bstatic
-ldl -Wl,-Bdynamic

It remains to be seen whether this will actually run on the target ...

/Flemming



More information about the uClibc mailing list