Fail to build and execute 'webkit' bench in Google compiler benchmark suite

Bug #736196 reported by Jim Huang
10
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::ResourceHandle::supportsBufferedData()
static bool WebCore::ResourceHandle::supportsBufferedData()
[1] Segmentation fault /data/local/perflab/webkit_bench -d800x2400 -r40 file:///sdcard/perflab_input/cnn.html

---

Revision history for this message
Jim Huang (jserv) wrote :
description: updated
Revision history for this message
Jim Huang (jserv) wrote :

The way to reproduce:

# cd toolchain/benchmark
# ../scripts/bench.py --action=build --toolchain=/tmp/android-toolchain-eabi
# adb push data /sdcard/perflab_input/
# ../scripts/run_on_android.py
../scripts/bench.py --action=runcmd
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)
../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)'
0.00user 0.00system 0:00.43elapsed 0%CPU (0avgtext+0avgdata 4192maxresident)k
0inputs+0outputs (0major+324minor)pagefaults 0swaps
Android_TIME_STAMP_946687971.16
link_image[1995]: failed to link /data/local/perflab/webkit_bench
CANNOT LINK EXECUTABLE

Revision history for this message
Alexander Sack (asac) wrote :

my understanding is that the benchmark fails with our toolchain?

if so, same rational as in https://bugs.launchpad.net/linaro-android/+bug/732564/comments/3 applies for priority and milestone.

also setting to confirmed until we have an assignee and clarification that its just with our toolchain.

Changed in linaro-android:
importance: Undecided → Medium
milestone: none → linaro-11.05-final
status: New → Confirmed
Revision history for this message
Jim Huang (jserv) wrote :

[Apr 6] sent mail to Google again to confirm if there is a duplicated work.

Revision history for this message
Jim Huang (jserv) wrote :

[Apr 6] Google compiler team is working on upgrading this to work with newer OS releases, but it will take some time.

Alexander Sack (asac)
Changed in linaro-android:
milestone: 11.05 → 11.06
Zach Pfeffer (pfefferz)
Changed in linaro-android:
milestone: 11.06 → none
Revision history for this message
Jim Huang (jserv) wrote :

[Jun 29] ping Google engineers again

Revision history for this message
Amit Pundir (pundiramit) wrote :

Marking Gingerbread open bugs to "Won't fix" state (on Linaro-Android helpdesk) as fixes are done only on ICS track now. Please raise this bug again against ICS release(s) if it still exist.

Changed in linaro-android:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.