patches/glibc/2.3.2/README-hppa
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 08 17:48:32 2007 +0000 (2007-05-08)
changeset 78 c3868084d81a
permissions -rw-r--r--
Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
- use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
- lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
- a bit of preparations for NPTL (RSN I hope),
- fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
- send components' build messages there,
- DEBUG log level is destined only for crosstool-NG debug messages,
- migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
- it builds!
- uses gcc-4.0.4 and glibc-2.3.6,
- updated to latest config options set.
     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.