patches/glibc/2.3.2/README-hppa
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Feb 24 11:00:05 2007 +0000 (2007-02-24)
changeset 1 eeea35fbf182
permissions -rw-r--r--
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
yann@1
     1
[See also http://parisc-linux.org/toolchain
yann@1
     2
 One of these days I'll have a look at what they've
yann@1
     3
 got there, and incorporate their patches.]
yann@1
     4
yann@1
     5
-------
yann@1
     6
yann@1
     7
The error
yann@1
     8
yann@1
     9
../linuxthreads/sysdeps/pthread/errno-loc.c: In function `__errno_location':
yann@1
    10
../linuxthreads/sysdeps/pthread/errno-loc.c:39: `pthread_descr' undeclared (first use in this function)
yann@1
    11
../linuxthreads/sysdeps/pthread/errno-loc.c:39: (Each undeclared identifier is reported only once
yann@1
    12
../linuxthreads/sysdeps/pthread/errno-loc.c:39: for each function it appears in.)
yann@1
    13
../linuxthreads/sysdeps/pthread/errno-loc.c:39: syntax error before "self"
yann@1
    14
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: implicit declaration of function `LIBC_THREAD_GETMEM'
yann@1
    15
../linuxthreads/sysdeps/pthread/errno-loc.c:40: `self' undeclared (first use in this function)
yann@1
    16
../linuxthreads/sysdeps/pthread/errno-loc.c:40: `p_errnop' undeclared (first use in this function)
yann@1
    17
../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: return makes pointer from integer without a cast
yann@1
    18
make[2]: *** [/home/gotom/glibc/glibc-2.3.2/build/csu/errno-loc.o] Error 1
yann@1
    19
make[2]: Leaving directory `/home/gotom/glibc/glibc-2.3.2/glibc-2.3.2/csu'
yann@1
    20
make[1]: *** [csu/subdir_lib] Error 2
yann@1
    21
yann@1
    22
means that hppa does not yet have the proper stuff for linuxthreads.
yann@1
    23
yann@1
    24
See
yann@1
    25
http://groups.google.com/groups?selm=20030322165012%247208%40gated-at.bofh.it
yann@1
    26
http://lists.debian.org/debian-glibc/2003/debian-glibc-200303/msg00472.html
yann@1
    27
yann@1
    28
A set of experimental patches is at
yann@1
    29
http://www.baldric.uwo.ca/~carlos/glibc-2.3.2-patches.tar.gz
yann@1
    30
but since they touch generic code, I'm not comfortable using them in general yet.
yann@1
    31
Go ahead and grab them if you want to build for hppa before hppa
yann@1
    32
support is merged into glibc.