[Clfs-support] Chapter 5.8. Glibc-2.7 - build error - Again
Gernot Miksch
gm at kinderplanet.de
Sun May 18 04:13:38 PDT 2008
Hello again,
Gernot Miksch schrieb:
> This is regardless if I apply
> patch -Np1 -i ../glibc-2.7-i586_chk-1.patch
> or not.
>
I found the issue, the patch is wrong.
It creates the files memcpy_chk.S mempcpy_chk.S and memset_chk.S in
subdir i386/i586 instead of sysdeps/i386/i586.
The appended patch fixes that.
Regards
Gernot
-------------- next part --------------
diff -Naur glibc-2.7.orig/sysdeps/i386/i586/memcpy_chk.S glibc-2.7/sysdeps/i386/i586/memcpy_chk.S
--- glibc-2.7.orig/sysdeps/i386/i586/memcpy_chk.S 1970-01-01 01:00:00.000000000 +0100
+++ glibc-2.7/sysdeps/i386/i586/memcpy_chk.S 2008-05-18 12:21:49.000000000 +0200
@@ -0,0 +1 @@
+#include <sysdeps/i386/i686/memcpy_chk.S>
diff -Naur glibc-2.7.orig/sysdeps/i386/i586/mempcpy_chk.S glibc-2.7/sysdeps/i386/i586/mempcpy_chk.S
--- glibc-2.7.orig/sysdeps/i386/i586/mempcpy_chk.S 1970-01-01 01:00:00.000000000 +0100
+++ glibc-2.7/sysdeps/i386/i586/mempcpy_chk.S 2008-05-18 12:21:49.000000000 +0200
@@ -0,0 +1 @@
+#include <sysdeps/i386/i686/mempcpy_chk.S>
diff -Naur glibc-2.7.orig/sysdeps/i386/i586/memset_chk.S glibc-2.7/sysdeps/i386/i586/memset_chk.S
--- glibc-2.7.orig/sysdeps/i386/i586/memset_chk.S 1970-01-01 01:00:00.000000000 +0100
+++ glibc-2.7/sysdeps/i386/i586/memset_chk.S 2008-05-18 12:21:49.000000000 +0200
@@ -0,0 +1 @@
+#include <sysdeps/i386/i686/memset_chk.S>
More information about the Clfs-support
mailing list