Hi, hppa linuxthreads build is broken since: 2008-11-07 Jakub Jelinek <jakub@redhat.com> [...] * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. [...] Because of missing TYPE argument in sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h.
Created attachment 3643 [details] proposed patch for ports
I'll look into this next week.
Any news on this?
Thanks for the ping. I assume you are building a linuxthreads configuration with tls enabled, otherwise bits/libc-tst.h would not be used. I'm going to checkin the patch knowing that it breaks non-tls linuxthreads builds, and that such a configuration is no longer valid. I also noticed that this patch is already in the debian sources. In the future please mention if the patch is already in use in a distribution since it helps when I'm doing the analysis. Checked in.
Subject: Bug 9717 CVSROOT: /cvs/glibc Module name: ports Changes by: carlos@sourceware.org 2009-02-09 20:27:56 Modified files: . : ChangeLog.hppa sysdeps/unix/sysv/linux/hppa/linuxthreads: malloc-machine.h Log message: 2009-02-09 Arthur Loiret <aloiret@debian.org> [BZ #9717] * sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/ports/ChangeLog.hppa.diff?cvsroot=glibc&r1=1.49&r2=1.50 http://sourceware.org/cgi-bin/cvsweb.cgi/ports/sysdeps/unix/sysv/linux/hppa/linuxthreads/malloc-machine.h.diff?cvsroot=glibc&r1=1.1&r2=1.2