If the new gdt code doesn't work, the old ldt code ought to, and libc falls back to using that. At any rate, we should just debug the real bugs and I can help you with that. While working around them, you can just use --without-tls on the configure command line.