http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59018
--- Comment #7 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Kostya Serebryany from comment #5)
> > Can you try
> >
> > register void *r8 __asm__ ("r8") = newtls;
> > register int *r10 __asm__ ("r10") = child_tidptr;
> Yep, works!
>
> > But you need to enable x32 first on your OS, which requires
> >
> > 1. x32 enabled kernel, Linux kernel >= 3.4.0.
> > 2. x32 glibc.
>
> This does not match my system. :(
> Do you have a VM image (e.g. for VMWare player) with such a system?
I can create an x32 VirtualBox image. Do you have
a place I can upload it for you?
> >
> > >
> > > 2. Is there any chance to test x32 off the clang tree, so that we keep the
> > > upstream tree x32-clean all the time?
> >
> > There was x32 port of llvm/clang last year. But only parts
> > of the x32 patches have been merged with llvm.
>
> Do you need help with this?
Yes, please. I'd like to work with something to get
x32 support into llvm/clang.
> I'll be on the LLVM dev meeting today and tomorrow, may at least ask around.