Preventing 'Illegal instruction' on android-x86 builds

293 views
Skip to first unread message

Henri

unread,
Dec 7, 2011, 6:19:17 AM12/7/11
to Android-x86
If a processor is used without SSE2 honeycomb won't work with the
default build, however if you add TARGET_CPU_SMP=false then it works
fine!

make -j8 iso_img TARGET_PRODUCT=generic_x86
TARGET_KERNEL_CONFIG=android-x86_hpomnibookconfig TARGET_CPU_SMP=false

When you don't set TARGET_CPU_SMP to false a multiprocessor version
is
built and causes SSE2 cache control instructions such as mfence to be
generated.
It's also a good idea to select the correct processor in the kernel
configuration, which I did in android-x86_hpomnibookconfig

Chih-Wei Huang

unread,
Dec 7, 2011, 6:22:20 AM12/7/11
to andro...@googlegroups.com
Great! Thank you for sharing the info.

2011/12/7 Henri <hfma...@gmail.com>:

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

AniClouds Official Chanel

unread,
Mar 15, 2016, 8:46:59 AM3/15/16
to Android-x86
where i can edit it? in build.prop or some where?
Reply all
Reply to author
Forward
0 new messages