patches/glibc/2.3.6/130-glibc-2.3.5-allow-gcc4-wcstol_l.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Feb 17 22:08:06 2008 +0000 (2008-02-17)
changeset 431 8bde4c6ea47a
permissions -rw-r--r--
Robert P. J. DAY says:

apparently, the patchset for gcc 4.2.1 applies properly to the
source for gcc 4.2.2 and gcc 4.2.3. so, if you want, you can simply
add support for those last two just by augmenting menuconfig and
adding a couple symlinks for those two directories. seems like a
cheap way to add a couple new versions.
     1 Fixes
     2 ../sysdeps/wordsize-64/wcstol_l.c:11: error: '____wcstoll_l_internal' aliased to undefined symbol '____wcstol_l_internal'
     3 ../sysdeps/wordsize-64/wcstol_l.c:12: error: '__wcstoll_l' aliased to undefined symbol '__wcstol_l'
     4 ../sysdeps/wordsize-64/wcstol_l.c:13: error: 'wcstoll_l' aliased to undefined symbol '__wcstol_l'
     5 make[2]: *** [/home/dkegel/queue/jobdir.produser_cpsm10/crosstool-0.32/build/x86_64-unknown-linux-gnu/gcc-4.0.0-20050410-glibc-2.3.4/build-glibc/wcsmbs/wcstoul_l.o] Error 1
     6 
     7 https://www.redhat.com/archives/fedora-cvs-commits/2005-March/msg00408.html
     8 %changelog
     9 +* Fri Mar 25 2005 Jakub Jelinek <jakub redhat com> 2.3.4-18
    10 +- fix build on 64-bit arches with new GCC
    11 
    12 Revision 1.4.2.1, Fri Mar 25 11:59:01 2005 UTC (3 weeks, 4 days ago) by jakub
    13 Branch: fedora-branch
    14 CVS Tags: fedora-glibc-2_3_4-18
    15 Changes since 1.4: +2 -0 lines
    16 Diff to previous 1.4 (colored)
    17 
    18 	* sysdeps/wordsize-64/strtol_l.c: Don't add aliases if UNSIGNED.
    19 	* sysdeps/wordsize-64/wcstol_l.c: Likewise.
    20 
    21 
    22 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/wordsize-64/strtol_l.c.diff?r1=1.4&r2=1.4.2.1&cvsroot=glibc
    23 http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/wordsize-64/wcstol_l.c.diff?r1=1.4&r2=1.4.2.1&cvsroot=glibc
    24 
    25 ===================================================================
    26 RCS file: /cvs/glibc/libc/sysdeps/wordsize-64/strtol_l.c,v
    27 retrieving revision 1.4
    28 retrieving revision 1.4.2.1
    29 diff -u -r1.4 -r1.4.2.1
    30 --- libc/sysdeps/wordsize-64/strtol_l.c	2003/03/03 09:45:12	1.4
    31 +++ libc/sysdeps/wordsize-64/strtol_l.c	2005/03/25 11:59:01	1.4.2.1
    32 @@ -8,7 +8,9 @@
    33  #undef ____strtoll_l_internal
    34  #undef __strtoll_l
    35  #undef strtoll_l
    36 +#if !UNSIGNED
    37  strong_alias (____strtol_l_internal, ____strtoll_l_internal)
    38  libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal)
    39  weak_alias (__strtol_l, __strtoll_l)
    40  weak_alias (__strtol_l, strtoll_l)
    41 +#endif
    42 ===================================================================
    43 RCS file: /cvs/glibc/libc/sysdeps/wordsize-64/wcstol_l.c,v
    44 retrieving revision 1.4
    45 retrieving revision 1.4.2.1
    46 diff -u -r1.4 -r1.4.2.1
    47 --- libc/sysdeps/wordsize-64/wcstol_l.c	2002/08/08 11:44:51	1.4
    48 +++ libc/sysdeps/wordsize-64/wcstol_l.c	2005/03/25 11:59:01	1.4.2.1
    49 @@ -8,6 +8,8 @@
    50  #undef ____wcstoll_l_internal
    51  #undef __wcstoll_l
    52  #undef wcstoll_l
    53 +#if !UNSIGNED
    54  strong_alias (____wcstol_l_internal, ____wcstoll_l_internal)
    55  weak_alias (__wcstol_l, __wcstoll_l)
    56  weak_alias (__wcstol_l, wcstoll_l)
    57 +#endif
    58 
    59 Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>