patches/glibc/2.3.6/110-fix-pr398.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 error
     2 
     3 dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
     4 make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
     5 e.o] Error 1
     6 make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
     7 822/elf'
     8 make[1]: *** [elf/subdir_lib] Error 2
     9 make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
    10 822'
    11 make: *** [all] Error 2
    12 
    13 -----------------
    14 
    15 See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
    16 http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
    17 
    18 -----------------
    19 
    20 CVSROOT:	/cvs/glibc
    21 Module name:	libc
    22 Branch: 	glibc-2_3-branch
    23 Changes by:	roland@sources.redhat.com	2006-02-23 22:36:51
    24 
    25 Modified files:
    26 	sysdeps/s390/s390-64: dl-machine.h 
    27 	sysdeps/s390/s390-32: dl-machine.h 
    28 
    29 Log message:
    30 	2004-07-10  GOTO Masanori  <gotom@debian.or.jp>
    31 	
    32 	[BZ #398]
    33 	* sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
    34 	directive.
    35 	* sysdeps/s390/s390-64/dl-machine.h: Likewise.
    36 
    37 Patches:
    38 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/s390/s390-64/dl-machine.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.19.4.1&r2=1.19.4.2
    39 http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/s390/s390-32/dl-machine.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.20.4.1&r2=1.20.4.2
    40 
    41 ===================================================================
    42 RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
    43 retrieving revision 1.19.4.1
    44 retrieving revision 1.19.4.2
    45 diff -u -r1.19.4.1 -r1.19.4.2
    46 --- libc/sysdeps/s390/s390-64/dl-machine.h	2005/10/17 04:57:27	1.19.4.1
    47 +++ libc/sysdeps/s390/s390-64/dl-machine.h	2006/02/23 22:36:51	1.19.4.2
    48 @@ -27,6 +27,7 @@
    49  #include <sys/param.h>
    50  #include <string.h>
    51  #include <link.h>
    52 +#include <sysdep.h>
    53  
    54  /* This is an older, now obsolete value.  */
    55  #define EM_S390_OLD	0xA390
    56 ===================================================================
    57 RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
    58 retrieving revision 1.20.4.1
    59 retrieving revision 1.20.4.2
    60 diff -u -r1.20.4.1 -r1.20.4.2
    61 --- libc/sysdeps/s390/s390-32/dl-machine.h	2005/10/17 04:57:27	1.20.4.1
    62 +++ libc/sysdeps/s390/s390-32/dl-machine.h	2006/02/23 22:36:51	1.20.4.2
    63 @@ -27,6 +27,7 @@
    64  #include <sys/param.h>
    65  #include <string.h>
    66  #include <link.h>
    67 +#include <sysdep.h>
    68  
    69  /* This is an older, now obsolete value.  */
    70  #define EM_S390_OLD	0xA390