Hi all, 

When I try to use latest poky + meta-fsl-ppc + meta-java to build 
java-test-image for e6500 target, the compilesteptwo step of openjdk-6-jre 
failed as following:
| GENERATING 
/home/jenkins/poky/build_b4860qds_release/tmp/work/ppce6500-fsl-linux/openjdk-6-jre/6b27-1.12.5-r22.2/icedtea6-1.12.5/build/generated.build/sun/awt/X11/generator/sizes.32
| Unable to find CPU definition

According to the investigation, the compilesteptwo step of openjdk-6-jre 
launches qemu for e6500 target, seems like the qemu source provided by poky 
doesn't support e6500 emulation, so above "Unable to find CPU definition" error 
appears. Java can be built correctly before below two commits are merged. 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/bitbake.conf?h=daisy&id=18bbfc4cf32b3ed564f93efef16a391c5a3ae50f
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/include/tune-ppce6500.inc?h=daisy&id=888ceb12522e19e30759acc67336f010b63ad864

IMHO, following are three possible ways to solve the issue 
1. Reverse above two commits until qemu supports ppce6500 targets 
2. Use the cpu parameter to something that QEMU supports and is similar to 
e6500 (e,g, e500mc) until ppce6500 is supported by qemu 
3. Use FSL qemu source for qemu-native build when machine is ppce6500 targets, 
we are verifying this way. 

Any comment on the problem, and any better solution for this issue?


Best Regards,

Zhenhua
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to