Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-rc-0.27 grimoire by Arwed von Merkatz (eecf91789439f5eb4ec95b27d90d5442d4f4781a)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to stable-rc-0.27 grimoire by Arwed von Merkatz (eecf91789439f5eb4ec95b27d90d5442d4f4781a)
  • Date: Mon, 17 Nov 2008 11:38:38 -0600

GIT changes to stable-rc-0.27 grimoire by Arwed von Merkatz
<v.merkatz AT gmx.net>:

libs/glibc/HISTORY | 5 +++++
libs/glibc/PRE_BUILD | 8 ++++++++
libs/glibc/fnstsw.patch | 11 +++++++++++
3 files changed, 24 insertions(+)

New commits:
commit eecf91789439f5eb4ec95b27d90d5442d4f4781a
Author: Julien ROZO <julien AT rozo.org>
Commit: Arwed von Merkatz <v.merkatz AT gmx.net>

glibc: added fnstsw.patch (applied via PRE_BUILD) to fix asm compilation
issue for version 2.7 with latest binutils
(cherry picked from commit 4ea5b6a428c9edbc6c9e475708b9fc4e249da952)

diff --git a/libs/glibc/HISTORY b/libs/glibc/HISTORY
index 1700090..6cff206 100644
--- a/libs/glibc/HISTORY
+++ b/libs/glibc/HISTORY
@@ -1,3 +1,8 @@
+2008-11-07 : Julien "_kaze_" ROZO <julien AT rozo.org>
+ * fnstsw.patch: added, fix asm compilation issue for version 2.7
+ with latest binutils
+ * PRE_BUILD: apply fnstsw.patch
+
2008-10-29 Ladislav Hagara <hgr AT vabo.cz>
* DETAILS: 2.8 from CVS #14831

diff --git a/libs/glibc/PRE_BUILD b/libs/glibc/PRE_BUILD
index afdf138..9321bcc 100755
--- a/libs/glibc/PRE_BUILD
+++ b/libs/glibc/PRE_BUILD
@@ -68,6 +68,14 @@ if [[ "$GLIBC_CVS" != "y" ]]; then
autoconf
fi &&

+#
+# Fix for fnstsw asm issue with latest binutils
+# http://sourceware.org/ml/binutils/2008-01/msg00151.html
+#
+if [[ "$GLIBC_CVS" != "y" ]]; then
+ patch -p1 < $SCRIPT_DIRECTORY/fnstsw.patch
+fi &&
+
# disabled libgd detection/building memusagestat for now until a better
# fix has been found, bug #8277
sedit 's/LIBGD=yes/LIBGD=no/' $SOURCE_DIRECTORY/configure &&
diff --git a/libs/glibc/fnstsw.patch b/libs/glibc/fnstsw.patch
new file mode 100644
index 0000000..89a71f6
--- /dev/null
+++ b/libs/glibc/fnstsw.patch
@@ -0,0 +1,11 @@
+--- glibc-2.7.old/sysdeps/i386/fpu/ftestexcept.c 2004-03-05
11:14:48.000000000 +0100
++++ glibc-2.7/sysdeps/i386/fpu/ftestexcept.c 2008-11-07 23:45:48.000000000
+0100
+@@ -26,7 +26,7 @@
+ int
+ fetestexcept (int excepts)
+ {
+- int temp;
++ short temp;
+ int xtemp = 0;
+
+ /* Get current exceptions. */



  • [SM-Commit] GIT changes to stable-rc-0.27 grimoire by Arwed von Merkatz (eecf91789439f5eb4ec95b27d90d5442d4f4781a), Arwed von Merkatz, 11/17/2008

Archive powered by MHonArc 2.6.24.

Top of Page