| Summary: | LSB 4.1: illegal instruction | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Xiaofeng Yan <Xiaofeng.yan> |
| Component: | core | Assignee: | Xiaofeng Yan <Xiaofeng.yan> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | brett.ciphery, galak, jessica.zhang, mark.hatle, meta.mr.watcher, meta.watcher, sgw |
| Version: | 1.0-alpha | ||
| Target Milestone: | 1.3 | ||
| Hardware: | mpc8315e-rdb | ||
| OS: | ppc | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Xiaofeng Yan
2011-05-27 04:24:35 UTC
Hi Saul & Mark, It could be caused by the difference of compilation tool between LSB Test Suite and mpc8315e. -Error don't happen when I use LSB Test Suite with version 4.0. -I extract test case source codes from lsb test suite and run this code after compiling with compilation tool of mpc8315e,error of illegal instruction don't happen. So I think LSB official compilation tool could have some instructions which don't exist on compilation tool of mpc8315e. Do you think I should solve this bug? We use LSB Test Suite with version 4.1 make lsb test now. Instruction "fsqrt" isn't supported by e300core but LSB Test Suite need this instruction when running. So it is hardware problem. See: http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-PPC32/LSB-Core-PPC32/lowlevel.html This indicates that floating point instructions are not required by the LSB. The test harness seems to be in error here. In addition, the LSB requires only 603 instructions. The 603 does NOT implement the fsqrt or fsqrts instructions. We would like to file a bug with the Linux Foundation, but we need to know the full list of tests that failed with the illegal instruction error. I'm reopening this only for tracking purposes. This is an upstream bug, changing status to note this. Hi Mark & Brett I find LSB Test Suite has instruction "fsqrt" by command "objdump -S ./T.cos". Some other binaries also include this instruction. I will report this bug on LF according to Mark's suggestion. Hi Xiaofeng, If you can provide the version of the specific LSB test and a listing of the failing subtests I can coordinate with LF to have them corrected. If you do go ahead and open the bug please reference it here. I have report this bug to LF, please check: http://bugs.linuxbase.org/show_bug.cgi?id=3253 (In reply to comment #7) > I have report this bug to LF, please check: > http://bugs.linuxbase.org/show_bug.cgi?id=3253 I think my recent changes to eglibc will help address this, will post some patches to update the tune file to pick up proper sqrt implementation. I believe this should be fixed when we added in: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/conf/machine/include/tune-ppc603e.inc?id=246dcc3a22b188faef452268654daeff2501b030 Update on this. The Linux Standard Base folks are still tracking this item. They have recently resolved the defect on their end, I will note that here as well. |