Fail to build and execute 'webkit' bench in Google compiler benchmark suite
Bug #736196 reported by
Jim Huang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Android |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In AOSP, there is a benchmark suite developed by Google compiler team, and 'webkit' is one of the items. However, it doesn't really work. I encountered build failure and execution errors.
Messages:
---
static bool WebCore:
static bool WebCore:
[1] Segmentation fault /data/local/
---
Changed in linaro-android: | |
milestone: | 11.05 → 11.06 |
Changed in linaro-android: | |
milestone: | 11.06 → none |
To post a comment you must log in.
The way to reproduce:
# cd toolchain/benchmark /tmp/android- toolchain- eabi perflab_ input/ run_on_ android. py TIME_STAMP_ $(timestamp) ; LD_LIBRARY_ PATH=/data/ local/perflab /data/local/ perflab/ webkit_ bench -d800x2400 -r40 file:// /sdcard/ perflab_ input/cnn. html; echo Android_ TIME_STAMP_ $(timestamp)
# ../scripts/bench.py --action=build --toolchain=
# adb push data /sdcard/
# ../scripts/
../scripts/bench.py --action=runcmd
echo Android_
../scripts/bench.py --action=export
./out/libwebcore.so ./out/webkit_bench
adb shell rm -r /data/local/perflab
adb shell mkdir /data/local/perflab
['./out/ libwebcore. so', './out/ webkit_ bench']
adb push ./out/libwebcore.so /data/local/perflab
1456 KB/s (9620396 bytes in 6.449s)
adb push ./out/webkit_bench /data/local/perflab
127 KB/s (5664 bytes in 0.043s)
time adb shell 'cd /data/local/ perflab; echo Android_ TIME_STAMP_ $(timestamp) ; LD_LIBRARY_ PATH=/data/ local/perflab /data/local/ perflab/ webkit_ bench -d800x2400 -r40 file:// /sdcard/ perflab_ input/cnn. html; echo Android_ TIME_STAMP_ $(timestamp) ' 324minor) pagefaults 0swaps TIME_STAMP_ 946687971. 16 perflab/ webkit_ bench
0.00user 0.00system 0:00.43elapsed 0%CPU (0avgtext+0avgdata 4192maxresident)k
0inputs+0outputs (0major+
Android_
link_image[1995]: failed to link /data/local/
CANNOT LINK EXECUTABLE