patches/glibc/2.3.4/glibc-2.3.5-allow-gcc4-wcstol_l.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.4/glibc-2.3.5-allow-gcc4-wcstol_l.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,57 @@
     1.4 +Fixes
     1.5 +../sysdeps/wordsize-64/wcstol_l.c:11: error: '____wcstoll_l_internal' aliased to undefined symbol '____wcstol_l_internal'
     1.6 +../sysdeps/wordsize-64/wcstol_l.c:12: error: '__wcstoll_l' aliased to undefined symbol '__wcstol_l'
     1.7 +../sysdeps/wordsize-64/wcstol_l.c:13: error: 'wcstoll_l' aliased to undefined symbol '__wcstol_l'
     1.8 +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
     1.9 +
    1.10 +https://www.redhat.com/archives/fedora-cvs-commits/2005-March/msg00408.html
    1.11 +%changelog
    1.12 ++* Fri Mar 25 2005 Jakub Jelinek <jakub redhat com> 2.3.4-18
    1.13 ++- fix build on 64-bit arches with new GCC
    1.14 +
    1.15 +Revision 1.4.2.1, Fri Mar 25 11:59:01 2005 UTC (3 weeks, 4 days ago) by jakub
    1.16 +Branch: fedora-branch
    1.17 +CVS Tags: fedora-glibc-2_3_4-18
    1.18 +Changes since 1.4: +2 -0 lines
    1.19 +Diff to previous 1.4 (colored)
    1.20 +
    1.21 +	* sysdeps/wordsize-64/strtol_l.c: Don't add aliases if UNSIGNED.
    1.22 +	* sysdeps/wordsize-64/wcstol_l.c: Likewise.
    1.23 +
    1.24 +
    1.25 +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
    1.26 +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
    1.27 +
    1.28 +===================================================================
    1.29 +RCS file: /cvs/glibc/libc/sysdeps/wordsize-64/strtol_l.c,v
    1.30 +retrieving revision 1.4
    1.31 +retrieving revision 1.4.2.1
    1.32 +diff -u -r1.4 -r1.4.2.1
    1.33 +--- libc/sysdeps/wordsize-64/strtol_l.c	2003/03/03 09:45:12	1.4
    1.34 ++++ libc/sysdeps/wordsize-64/strtol_l.c	2005/03/25 11:59:01	1.4.2.1
    1.35 +@@ -8,7 +8,9 @@
    1.36 + #undef ____strtoll_l_internal
    1.37 + #undef __strtoll_l
    1.38 + #undef strtoll_l
    1.39 ++#if !UNSIGNED
    1.40 + strong_alias (____strtol_l_internal, ____strtoll_l_internal)
    1.41 + libc_hidden_ver (____strtol_l_internal, ____strtoll_l_internal)
    1.42 + weak_alias (__strtol_l, __strtoll_l)
    1.43 + weak_alias (__strtol_l, strtoll_l)
    1.44 ++#endif
    1.45 +===================================================================
    1.46 +RCS file: /cvs/glibc/libc/sysdeps/wordsize-64/wcstol_l.c,v
    1.47 +retrieving revision 1.4
    1.48 +retrieving revision 1.4.2.1
    1.49 +diff -u -r1.4 -r1.4.2.1
    1.50 +--- libc/sysdeps/wordsize-64/wcstol_l.c	2002/08/08 11:44:51	1.4
    1.51 ++++ libc/sysdeps/wordsize-64/wcstol_l.c	2005/03/25 11:59:01	1.4.2.1
    1.52 +@@ -8,6 +8,8 @@
    1.53 + #undef ____wcstoll_l_internal
    1.54 + #undef __wcstoll_l
    1.55 + #undef wcstoll_l
    1.56 ++#if !UNSIGNED
    1.57 + strong_alias (____wcstol_l_internal, ____wcstoll_l_internal)
    1.58 + weak_alias (__wcstol_l, __wcstoll_l)
    1.59 + weak_alias (__wcstol_l, wcstoll_l)
    1.60 ++#endif