patches/glibc/2.3.2/README-hppa
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Jul 05 18:11:11 2007 +0000 (2007-07-05)
changeset 208 e5f56710e2e7
permissions -rw-r--r--
Update the armeb-unknown-linux-gnu to be buildable.
Both busybox-svn and linux-2.6.21.5 are succesfully built.
     1 [See also http://parisc-linux.org/toolchain
     2  One of these days I'll have a look at what they've
     3  got there, and incorporate their patches.]
     4 
     5 -------
     6 
     7 The error
     8 
     9 ../linuxthreads/sysdeps/pthread/errno-loc.c: In function `__errno_location':
    10 ../linuxthreads/sysdeps/pthread/errno-loc.c:39: `pthread_descr' undeclared (first use in this function)
    11 ../linuxthreads/sysdeps/pthread/errno-loc.c:39: (Each undeclared identifier is reported only once
    12 ../linuxthreads/sysdeps/pthread/errno-loc.c:39: for each function it appears in.)
    13 ../linuxthreads/sysdeps/pthread/errno-loc.c:39: syntax error before "self"
    14 ../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: implicit declaration of function `LIBC_THREAD_GETMEM'
    15 ../linuxthreads/sysdeps/pthread/errno-loc.c:40: `self' undeclared (first use in this function)
    16 ../linuxthreads/sysdeps/pthread/errno-loc.c:40: `p_errnop' undeclared (first use in this function)
    17 ../linuxthreads/sysdeps/pthread/errno-loc.c:40: warning: return makes pointer from integer without a cast
    18 make[2]: *** [/home/gotom/glibc/glibc-2.3.2/build/csu/errno-loc.o] Error 1
    19 make[2]: Leaving directory `/home/gotom/glibc/glibc-2.3.2/glibc-2.3.2/csu'
    20 make[1]: *** [csu/subdir_lib] Error 2
    21 
    22 means that hppa does not yet have the proper stuff for linuxthreads.
    23 
    24 See
    25 http://groups.google.com/groups?selm=20030322165012%247208%40gated-at.bofh.it
    26 http://lists.debian.org/debian-glibc/2003/debian-glibc-200303/msg00472.html
    27 
    28 A set of experimental patches is at
    29 http://www.baldric.uwo.ca/~carlos/glibc-2.3.2-patches.tar.gz
    30 but since they touch generic code, I'm not comfortable using them in general yet.
    31 Go ahead and grab them if you want to build for hppa before hppa
    32 support is merged into glibc.