Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (16630a7c4cc9e12ddbcf7249e83e63a480bddbff)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (16630a7c4cc9e12ddbcf7249e83e63a480bddbff)
  • Date: Sat, 17 Mar 2007 07:45:13 -0500

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

utils/qemu/BUILD | 16 ++++++++++++----
utils/qemu/HISTORY | 3 +++
2 files changed, 15 insertions(+), 4 deletions(-)

New commits:
commit 5e5126f174b2bdde58dc01549f6cb35f0d7fc9cc
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

qemu: reduce more post-penitum and athlons to pentium-mmx to fix build
and bug 13596

diff --git a/utils/qemu/BUILD b/utils/qemu/BUILD
index 4ab878a..90f81e0 100755
--- a/utils/qemu/BUILD
+++ b/utils/qemu/BUILD
@@ -2,12 +2,20 @@ message "Target list:$QEMU_ARCHS" &&

#
# Disable PIC if building soft MMU targets
-# Pentium3/4 breaks on building soft MMU, downgrade to pentium-mmx
+# Pentium3/4 or athlon(-xp) breaks on building soft MMU
+# generally shrinking march down to pentium-mmx
#
if grep -q softmmu <<< "$QEMU_ARCHS"; then
- CFLAGS=${CFLAGS/pentium4/pentium-mmx} &&
- CFLAGS=${CFLAGS/pentium3/pentium-mmx} &&
- CFLAGS=${CFLAGS/-march=athlon-xp/} &&
+ message "${MESSAGE_COLOR}Qemu 0.9 has a build problem with advanced
CFLAGS.${DEFAULT_COLOR}" &&
+ message "${MESSAGE_COLOR}Trying to make it work, starting with removal of
any sse flags.${DEFAULT_COLOR}" &&
+ # sse seems to be bad; -march=pentium -m3dnow worked, though
+ list_remove CFLAGS -msse -msse2 -msse3 -mfpmath=sse &&
+ if [[ "$CFLAGS" =~ -march=pentium[^[:space:]]+ ]] ||
+ [[ "$CFLAGS" =~ -march=athlon[^[:space:]]* ]]; then
+ message "${MESSAGE_COLOR}Reducing your $BASH_REMATCH to
pentium-mmx.${DEFAULT_COLOR}" &&
+ list_remove CFLAGS $BASH_REMATCH &&
+ CFLAGS="$CFLAGS -march=pentium-mmx"
+ fi &&
disable_pic
fi &&

diff --git a/utils/qemu/HISTORY b/utils/qemu/HISTORY
index bbccc90..263ed39 100644
--- a/utils/qemu/HISTORY
+++ b/utils/qemu/HISTORY
@@ -1,3 +1,6 @@
+2007-03-17 Thomas Orgis <sobukus AT sourcemage.org>
+ * BUILD: more general CFLAGS fixup to reduce more stuff to
pentium-mmx and fix bug 13596
+
2007-02-25 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* BUILD: also remove -march=athlon-xp from CFLAGS for MMU
use grep instead of list_find, the api was changed in devel sorcery



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (16630a7c4cc9e12ddbcf7249e83e63a480bddbff), Thomas Orgis, 03/17/2007

Archive powered by MHonArc 2.6.24.

Top of Page