tags 660187 + patch As these unaligned memory accesses are not going to be fixed in time for wheezy, here is an addition to the existing wrapper script that informs the user if they are trying to run chromium on armel in a know-bad configuration, and tells them what they need to do to make it work.
diff --git a/chromium b/usr/bin/chromium index 0c9960f..8aa83a3 100755 --- a/chromium +++ b/usr/bin/chromium @@ -24,6 +24,22 @@ usage () { echo " See 'man chromium' for more details" } +if uname -m | grep -q "armv[45]" ; then + if grep -q fixup /proc/cpu/alignment ; then + true # We are good + else + echo "$APPNAME is buggy on armel in that it performs unaligned memory accesses," + echo "which are not supported by the arm architecture before armv6." + echo "" + echo "To run $APPNAME on armv4t and armv5t you must:" + echo "" + echo "echo 2 > /proc/cpu/alignment" + echo "" + echo "as root, and then rerun $APPNAME" + exit 1 + fi +fi + if [ -f /etc/$APPNAME/default ] ; then . /etc/$APPNAME/default fi -- -Shawn Landden -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org