patches/glibc/2.2.2/glibc-2.2.2-allow-gcc3-errlist.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 17 16:22:51 2007 +0000 (2007-05-17)
changeset 96 aa1a9fbd6eb8
permissions -rw-r--r--
Debug facilities:
- add a framework to easily add new ones
- add gdb as a first debug facility
- add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
- dump the configuration early
- renice early
- get info about build system early, when setting up the environment
- when in cross or native, the host tools are those of the build system, and only in this case
- elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
- handle debug facilities
- commonalise some code
- remove dead tools (cygwin, tcc)
Point to my address for bug reports.
yann@1
     1
Fixes error
yann@1
     2
../sysdeps/unix/sysv/linux/errlist.c:41: error: weak declaration of '_old_sys_nerr' must precede definition
yann@1
     3
yann@1
     4
===================================================================
yann@1
     5
--- glibc-2.2.2/sysdeps/unix/sysv/linux/errlist.c.old	2005-04-11 16:58:21.000000000 -0700
yann@1
     6
+++ glibc-2.2.2/sysdeps/unix/sysv/linux/errlist.c	2005-04-11 16:58:10.000000000 -0700
yann@1
     7
@@ -38,10 +38,9 @@
yann@1
     8
 const int __old_sys_nerr = OLD_ERRLIST_SIZE;
yann@1
     9
 
yann@1
    10
 strong_alias (__old_sys_nerr, _old_sys_nerr);
yann@1
    11
-weak_alias (__old_sys_nerr, _old_sys_nerr)
yann@1
    12
 compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
yann@1
    13
 compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
yann@1
    14
-weak_alias (__old_sys_errlist, _old_sys_errlist);
yann@1
    15
+strong_alias (__old_sys_errlist, _old_sys_errlist);
yann@1
    16
 compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0);
yann@1
    17
 compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0);
yann@1
    18
 #endif