[oe-commits] [Bug 5387] jamvm generates "Illegal Instruction" when jar file is executed on EDB9301

bugzilla-daemon at git.openembedded.org bugzilla-daemon at git.openembedded.org
Fri Sep 10 10:24:36 UTC 2010


http://bugs.openembedded.org/show_bug.cgi?id=5387





--- Comment #3 from Todor Kouyoumdjiev <tk at ecocoms.com>  2010-09-10 10:24:35 ---
Finally I found time to clarify the problem. 

Actually the problem was in the eabi threading realization of the
cross-compiler and uClibc. Up to gcc-4.5.2 (git-trunk), when thumb instruction
set is allowed with thumb-interworking, threading is not working and an illegal
instruction is generated when some application wants to create threads as in
jamvm. The same behaviour was seen also with python-threading module, e.t.c.

We solved the problem with thumb instruction set disabled, thumb-interworking
disabled 

ARM_INSTRUCTION_SET = "arm"
THUMB_INTERWORK = "no"

in the distro config file and in the uClibc configuration the switch for 

Generate only Position Independent Code (PIC) 

is enabled.

Hoping to be helpful,

Todor

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




More information about the Openembedded-commits mailing list