By checking  `uname -m` we only detect if the _kernel_ is x86-64.
This would be a problem if someone was running a 64-bit kernel and a 32-bit 
userland because they would get MESA_NO_ASM exported without needing it.
I think it would be better to do
if [ `dpkg --print-architecture` = "amd64" ]
Because that would tell us if we were running in an amd64 userland and that's 
what we really want to test for.
I think checking for "3dnow" in flags is preferred because AMD is not the only 
cpu vendor using that technology, even though none of the others have built any 
64-bit chips yet, it would probably be more future-proof.

-- 
[apport] polytopes crashed with SIGILL in 
_mesa_x86_64_transform_points4_perspective()
https://bugs.launchpad.net/bugs/87661
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to