| Summary: | [Yocot 1.4.2] [ADT] ARM: target arch change from armv5te to armv7a-vfp-neon | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Infrastructure] AutoBuilder | Reporter: | Yi Zhao <yi.zhao> | ||||||
| Component: | autobuilder | Assignee: | Paul Eggleton <bluelightning> | ||||||
| Status: | RESOLVED WONTFIX | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | Medium | CC: | ada-mihaela.solcan, bluelightning, infras.ab.watcher, Infras.watcher, jessica.zhang, ke.zou, ning.zhang, yi.zhao | ||||||
| Version: | 1.4.2 | ||||||||
| Target Milestone: | 1.4.2 | ||||||||
| Hardware: | x86 | ||||||||
| OS: | Multiple | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | Don't know | |||||||
| Attachments: |
|
||||||||
|
Description
Yi Zhao
2013-08-22 09:50:28 UTC
Although the the script name is changed, the functions of adt and toolchain are good. All current test cases can pass. But I don't know if there is any potential issue. (In reply to comment #1) > Although the the script name is changed, the functions of adt and toolchain > are good. All current test cases can pass. But I don't know if there is any > potential issue. I'm sorry that I made a mistake. Actually some test cases failed to run. Steps: 1. Download the arm toolchain tarball from http://autobuilder.yoctoproject.org/pub/releases/dylan-1.4.2.rc1/toolchain/ 2. Install the toolchain and set the environment. 3. Build C and C++ test programs with the cross-compiler: $ ${CC} ${CFLAGS} test.c -o testc -lm ${CXX} ${CXXFLAGS} testplus.cpp -o testcpp $ file testc testc: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=0x420108aec85f7446771ad7eee04dbe5d806ea81d, not stripped $ file testcpp testcpp: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=0xf1c71a40f6863b40344714a761750fdc3eeb68c4, not stripped These test programs can run in host with qemu-arm: $ qemu-arm -L /opt/poky/1.4.2/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/ ./testc convert: 10 => 10.000000 floorf(1234.670000) = 1234.000000 $ qemu-arm -L /opt/poky/1.4.2/sysroots/armv7a-vfp-neon-poky-linux-gnueabi/ ./testcpp convert: 10 => 10.000000 floorf(1234.670000) = 1234.000000 4. Startup a qemuarm image and copy the above programs to the target. These 2 programs can *not* run: root@qemuarm:~# root@qemuarm:~# ./testc Illegal instruction root@qemuarm:~# root@qemuarm:~# ./testcpp Illegal instruction root@qemuarm:~# root@qemuarm:~# file testc testc: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=ae08014246745fc8eed71a775dbe4de01da86e80, not stripped root@qemuarm:~# file testcpp testcpp: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, BuildID[sha1]=401ac7f1403b86f6a7144734dc0f7561c468eb3e, not stripped root@qemuarm:~# When use adt-installer to cross compile these programs, this issue also happens. I attached my C & C++ test file. Created attachment 1438 [details]
test.c
Created attachment 1439 [details]
testplus.cpp
Hi Yi, We won't fix this for 1.4.2. We'll release note this by asking user not using adt-installer but instead build their own toolchain using meta data to avoid the package override issue. But please can you verify the same testcase against 1.5 to make sure the problem is not there. If it exists in 1.5, we need to fix there. Thanks, Jessica |