summaryrefslogtreecommitdiff
path: root/toolchain/glibc/patches/i686_define_bug.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-13 13:31:36 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-13 13:32:03 +0200
commit56eb2a9f87b0638bb504c1fc071324b7b88e0e3a (patch)
tree3744eba9f7ef3e11cec865226063ab4c5f6fed03 /toolchain/glibc/patches/i686_define_bug.patch
parentdeb84fc965402330e4f5025d65926b71389ff7d7 (diff)
add patches for glibc 2.20
Diffstat (limited to 'toolchain/glibc/patches/i686_define_bug.patch')
-rw-r--r--toolchain/glibc/patches/i686_define_bug.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/toolchain/glibc/patches/i686_define_bug.patch b/toolchain/glibc/patches/i686_define_bug.patch
deleted file mode 100644
index cef7440b8..000000000
--- a/toolchain/glibc/patches/i686_define_bug.patch
+++ /dev/null
@@ -1,23 +0,0 @@
- Fix for compiling glibc with -march=i686 specified.
- The patch below found at: http://permalink.gmane.org/gmane.linux.lfs.devel/9758,
- a nice discussion (with a comment of the glibc maintainer) can be found here:
- http://old.nabble.com/-RFC-PATCH--glibc-doesn%27t-build-with-%22gcc--march%3Di686%22-td17442608.html
-
- To me, this simply shows once more how fucked up things can be. E.g. the (related) bug report here:
- http://bugs.gentoo.org/show_bug.cgi?id=201815. There are lots of duplicates to it, many people are
- affected, one can find really elaborate reports. And the responsible gentoo developers are too
- elite to even point to the actual patch fixing the issue.
-diff -Nur glibc-2.16.0.orig/sysdeps/unix/sysv/linux/i386/sysdep.h glibc-2.16.0/sysdeps/unix/sysv/linux/i386/sysdep.h
---- glibc-2.16.0.orig/sysdeps/unix/sysv/linux/i386/sysdep.h 2012-06-30 21:12:34.000000000 +0200
-+++ glibc-2.16.0/sysdeps/unix/sysv/linux/i386/sysdep.h 2012-08-01 17:56:05.000000000 +0200
-@@ -28,6 +28,10 @@
- #include <dl-sysdep.h>
- #include <tls.h>
-
-+#if defined __i686 && defined __ASSEMBLER__
-+#undef __i686
-+#define __i686 __i686
-+#endif
-
- /* For Linux we can use the system call table in the header file
- /usr/include/asm/unistd.h