When prelinking glibc I get: Prelinking /lib/libthread_db-1.0.so prelink: Warning: /lib/libthread_db.so.1 has undefined non-weak symbols
In this case it is not a bug, but part of the library interface. gdb or any other debugger that uses this library must provide the symbols.