Robert P. J. DAY says:
I have been assured by Mike Frysinger that this patch has been
unnecessary since glibc-2.4.
1.1 --- a/patches/glibc/2.5.1/100-fix-pr398.patch Fri Feb 15 21:18:10 2008 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,70 +0,0 @@
1.4 -Fixes error
1.5 -
1.6 -dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
1.7 -make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
1.8 -e.o] Error 1
1.9 -make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
1.10 -822/elf'
1.11 -make[1]: *** [elf/subdir_lib] Error 2
1.12 -make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
1.13 -822'
1.14 -make: *** [all] Error 2
1.15 -
1.16 ------------------
1.17 -
1.18 -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
1.19 -http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
1.20 -
1.21 ------------------
1.22 -
1.23 -CVSROOT: /cvs/glibc
1.24 -Module name: libc
1.25 -Branch: glibc-2_3-branch
1.26 -Changes by: roland@sources.redhat.com 2006-02-23 22:36:51
1.27 -
1.28 -Modified files:
1.29 - sysdeps/s390/s390-64: dl-machine.h
1.30 - sysdeps/s390/s390-32: dl-machine.h
1.31 -
1.32 -Log message:
1.33 - 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
1.34 -
1.35 - [BZ #398]
1.36 - * sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
1.37 - directive.
1.38 - * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1.39 -
1.40 -Patches:
1.41 -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
1.42 -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
1.43 -
1.44 -===================================================================
1.45 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
1.46 -retrieving revision 1.19.4.1
1.47 -retrieving revision 1.19.4.2
1.48 -diff -u -r1.19.4.1 -r1.19.4.2
1.49 ---- libc/sysdeps/s390/s390-64/dl-machine.h 2005/10/17 04:57:27 1.19.4.1
1.50 -+++ libc/sysdeps/s390/s390-64/dl-machine.h 2006/02/23 22:36:51 1.19.4.2
1.51 -@@ -27,6 +27,7 @@
1.52 - #include <sys/param.h>
1.53 - #include <string.h>
1.54 - #include <link.h>
1.55 -+#include <sysdep.h>
1.56 -
1.57 - /* This is an older, now obsolete value. */
1.58 - #define EM_S390_OLD 0xA390
1.59 -===================================================================
1.60 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
1.61 -retrieving revision 1.20.4.1
1.62 -retrieving revision 1.20.4.2
1.63 -diff -u -r1.20.4.1 -r1.20.4.2
1.64 ---- libc/sysdeps/s390/s390-32/dl-machine.h 2005/10/17 04:57:27 1.20.4.1
1.65 -+++ libc/sysdeps/s390/s390-32/dl-machine.h 2006/02/23 22:36:51 1.20.4.2
1.66 -@@ -27,6 +27,7 @@
1.67 - #include <sys/param.h>
1.68 - #include <string.h>
1.69 - #include <link.h>
1.70 -+#include <sysdep.h>
1.71 -
1.72 - /* This is an older, now obsolete value. */
1.73 - #define EM_S390_OLD 0xA390
2.1 --- a/patches/glibc/2.5/100-fix-pr398.patch Fri Feb 15 21:18:10 2008 +0000
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,70 +0,0 @@
2.4 -Fixes error
2.5 -
2.6 -dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
2.7 -make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
2.8 -e.o] Error 1
2.9 -make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
2.10 -822/elf'
2.11 -make[1]: *** [elf/subdir_lib] Error 2
2.12 -make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
2.13 -822'
2.14 -make: *** [all] Error 2
2.15 -
2.16 ------------------
2.17 -
2.18 -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
2.19 -http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
2.20 -
2.21 ------------------
2.22 -
2.23 -CVSROOT: /cvs/glibc
2.24 -Module name: libc
2.25 -Branch: glibc-2_3-branch
2.26 -Changes by: roland@sources.redhat.com 2006-02-23 22:36:51
2.27 -
2.28 -Modified files:
2.29 - sysdeps/s390/s390-64: dl-machine.h
2.30 - sysdeps/s390/s390-32: dl-machine.h
2.31 -
2.32 -Log message:
2.33 - 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
2.34 -
2.35 - [BZ #398]
2.36 - * sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
2.37 - directive.
2.38 - * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2.39 -
2.40 -Patches:
2.41 -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
2.42 -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
2.43 -
2.44 -===================================================================
2.45 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
2.46 -retrieving revision 1.19.4.1
2.47 -retrieving revision 1.19.4.2
2.48 -diff -u -r1.19.4.1 -r1.19.4.2
2.49 ---- libc/sysdeps/s390/s390-64/dl-machine.h 2005/10/17 04:57:27 1.19.4.1
2.50 -+++ libc/sysdeps/s390/s390-64/dl-machine.h 2006/02/23 22:36:51 1.19.4.2
2.51 -@@ -27,6 +27,7 @@
2.52 - #include <sys/param.h>
2.53 - #include <string.h>
2.54 - #include <link.h>
2.55 -+#include <sysdep.h>
2.56 -
2.57 - /* This is an older, now obsolete value. */
2.58 - #define EM_S390_OLD 0xA390
2.59 -===================================================================
2.60 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
2.61 -retrieving revision 1.20.4.1
2.62 -retrieving revision 1.20.4.2
2.63 -diff -u -r1.20.4.1 -r1.20.4.2
2.64 ---- libc/sysdeps/s390/s390-32/dl-machine.h 2005/10/17 04:57:27 1.20.4.1
2.65 -+++ libc/sysdeps/s390/s390-32/dl-machine.h 2006/02/23 22:36:51 1.20.4.2
2.66 -@@ -27,6 +27,7 @@
2.67 - #include <sys/param.h>
2.68 - #include <string.h>
2.69 - #include <link.h>
2.70 -+#include <sysdep.h>
2.71 -
2.72 - /* This is an older, now obsolete value. */
2.73 - #define EM_S390_OLD 0xA390
3.1 --- a/patches/glibc/2.6.1/100-fix-pr398.patch Fri Feb 15 21:18:10 2008 +0000
3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
3.3 @@ -1,70 +0,0 @@
3.4 -Fixes error
3.5 -
3.6 -dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
3.7 -make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
3.8 -e.o] Error 1
3.9 -make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
3.10 -822/elf'
3.11 -make[1]: *** [elf/subdir_lib] Error 2
3.12 -make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
3.13 -822'
3.14 -make: *** [all] Error 2
3.15 -
3.16 ------------------
3.17 -
3.18 -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
3.19 -http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
3.20 -
3.21 ------------------
3.22 -
3.23 -CVSROOT: /cvs/glibc
3.24 -Module name: libc
3.25 -Branch: glibc-2_3-branch
3.26 -Changes by: roland@sources.redhat.com 2006-02-23 22:36:51
3.27 -
3.28 -Modified files:
3.29 - sysdeps/s390/s390-64: dl-machine.h
3.30 - sysdeps/s390/s390-32: dl-machine.h
3.31 -
3.32 -Log message:
3.33 - 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
3.34 -
3.35 - [BZ #398]
3.36 - * sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
3.37 - directive.
3.38 - * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3.39 -
3.40 -Patches:
3.41 -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
3.42 -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
3.43 -
3.44 -===================================================================
3.45 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
3.46 -retrieving revision 1.19.4.1
3.47 -retrieving revision 1.19.4.2
3.48 -diff -u -r1.19.4.1 -r1.19.4.2
3.49 ---- libc/sysdeps/s390/s390-64/dl-machine.h 2005/10/17 04:57:27 1.19.4.1
3.50 -+++ libc/sysdeps/s390/s390-64/dl-machine.h 2006/02/23 22:36:51 1.19.4.2
3.51 -@@ -27,6 +27,7 @@
3.52 - #include <sys/param.h>
3.53 - #include <string.h>
3.54 - #include <link.h>
3.55 -+#include <sysdep.h>
3.56 -
3.57 - /* This is an older, now obsolete value. */
3.58 - #define EM_S390_OLD 0xA390
3.59 -===================================================================
3.60 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
3.61 -retrieving revision 1.20.4.1
3.62 -retrieving revision 1.20.4.2
3.63 -diff -u -r1.20.4.1 -r1.20.4.2
3.64 ---- libc/sysdeps/s390/s390-32/dl-machine.h 2005/10/17 04:57:27 1.20.4.1
3.65 -+++ libc/sysdeps/s390/s390-32/dl-machine.h 2006/02/23 22:36:51 1.20.4.2
3.66 -@@ -27,6 +27,7 @@
3.67 - #include <sys/param.h>
3.68 - #include <string.h>
3.69 - #include <link.h>
3.70 -+#include <sysdep.h>
3.71 -
3.72 - /* This is an older, now obsolete value. */
3.73 - #define EM_S390_OLD 0xA390
4.1 --- a/patches/glibc/2.6/100-fix-pr398.patch Fri Feb 15 21:18:10 2008 +0000
4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
4.3 @@ -1,70 +0,0 @@
4.4 -Fixes error
4.5 -
4.6 -dl-runtime.c:222: error: parse error before "CFI_STARTPROC"
4.7 -make[2]: *** [crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/build-glibc/elf/dl-runtim
4.8 -e.o] Error 1
4.9 -make[2]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
4.10 -822/elf'
4.11 -make[1]: *** [elf/subdir_lib] Error 2
4.12 -make[1]: Leaving directory `crosstool-0.28-rc35/build/s390-unknown-linux-gnu/gcc-3.4.1-glibc-20040822/glibc-20040
4.13 -822'
4.14 -make: *** [all] Error 2
4.15 -
4.16 ------------------
4.17 -
4.18 -See http://sources.redhat.com/bugzilla/show_bug.cgi?id=398
4.19 -http://sources.redhat.com/ml/libc-alpha/2004-07/msg00023.html
4.20 -
4.21 ------------------
4.22 -
4.23 -CVSROOT: /cvs/glibc
4.24 -Module name: libc
4.25 -Branch: glibc-2_3-branch
4.26 -Changes by: roland@sources.redhat.com 2006-02-23 22:36:51
4.27 -
4.28 -Modified files:
4.29 - sysdeps/s390/s390-64: dl-machine.h
4.30 - sysdeps/s390/s390-32: dl-machine.h
4.31 -
4.32 -Log message:
4.33 - 2004-07-10 GOTO Masanori <gotom@debian.or.jp>
4.34 -
4.35 - [BZ #398]
4.36 - * sysdeps/s390/s390-32/dl-machine.h: Include <sysdep.h> for CFI
4.37 - directive.
4.38 - * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4.39 -
4.40 -Patches:
4.41 -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
4.42 -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
4.43 -
4.44 -===================================================================
4.45 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-64/dl-machine.h,v
4.46 -retrieving revision 1.19.4.1
4.47 -retrieving revision 1.19.4.2
4.48 -diff -u -r1.19.4.1 -r1.19.4.2
4.49 ---- libc/sysdeps/s390/s390-64/dl-machine.h 2005/10/17 04:57:27 1.19.4.1
4.50 -+++ libc/sysdeps/s390/s390-64/dl-machine.h 2006/02/23 22:36:51 1.19.4.2
4.51 -@@ -27,6 +27,7 @@
4.52 - #include <sys/param.h>
4.53 - #include <string.h>
4.54 - #include <link.h>
4.55 -+#include <sysdep.h>
4.56 -
4.57 - /* This is an older, now obsolete value. */
4.58 - #define EM_S390_OLD 0xA390
4.59 -===================================================================
4.60 -RCS file: /cvs/glibc/libc/sysdeps/s390/s390-32/dl-machine.h,v
4.61 -retrieving revision 1.20.4.1
4.62 -retrieving revision 1.20.4.2
4.63 -diff -u -r1.20.4.1 -r1.20.4.2
4.64 ---- libc/sysdeps/s390/s390-32/dl-machine.h 2005/10/17 04:57:27 1.20.4.1
4.65 -+++ libc/sysdeps/s390/s390-32/dl-machine.h 2006/02/23 22:36:51 1.20.4.2
4.66 -@@ -27,6 +27,7 @@
4.67 - #include <sys/param.h>
4.68 - #include <string.h>
4.69 - #include <link.h>
4.70 -+#include <sysdep.h>
4.71 -
4.72 - /* This is an older, now obsolete value. */
4.73 - #define EM_S390_OLD 0xA390