Skip to Content.
Sympa Menu

sm-grimoire-bugs - [SM-Grimoire-Bugs] [Bug 13596] QEMU problem with march=pentium4m

sm-grimoire-bugs AT lists.ibiblio.org

Subject: SourceMage Grimoire Bug List

List archive

Chronological Thread  
  • From: bugzilla-daemon AT bugs.sourcemage.org
  • To: sm-grimoire-bugs AT lists.ibiblio.org
  • Subject: [SM-Grimoire-Bugs] [Bug 13596] QEMU problem with march=pentium4m
  • Date: 16 Mar 2007 10:44:15 -0000

http://bugs.sourcemage.org/show_bug.cgi?id=13596





------- Additional Comments From sobukus AT sourcemage.org 2007-03-16 04:44
-------
I had to look again at my regex and am suggesting now a slighty modified
version that actually works with pentium4m or the like and adding the athlons;

message "removing sse flags" &&
list_remove CFLAGS -msse -msse2 -msse3 &&
if [[ "$CFLAGS" =~ -march=pentium[^[:space:]]+ ]]; then
message reducing your march setting to pentium-mmx
list_remove CFLAGS $BASH_REMATCH &&
CFLAGS="$CFLAGS -march=pentium-mmx"
fi &&
if [[ "$CFLAGS" =~ -march=athlon[^[:space:]]+ ]]; then
message reducing your march setting to athlon
list_remove CFLAGS $BASH_REMATCH &&
CFLAGS="$CFLAGS -march=athlon"
fi &&
# debugging
message "flags now: $CFLAGS" &&
message "Target list:$QEMU_ARCHS" &&

./configure --build=$BUILD \
--prefix=$INSTALL_ROOT/usr \
--sysconfdir=$INSTALL_ROOT/etc \
--localstatedir=$INSTALL_ROOT/var \
--target-list="$QEMU_ARCHS" \
$OPTS &&

make

This should reduce any pentium2,3,4,-m... to pentium-mmx and any
athlon-xp,4... to athlon.
What do I miss? Shall I apply that?
Please use the time slot for intervening... or just for telling me to go the
heck ahead with this;-)


--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page