Add a quick cross build

Registered by Michael Hope

Support for cross builds and test was added for aarch64. It's much quicker doing a early cross build and test in the cloud then waiting for real hardware. Add and enable.

Blueprint information

Status:
Complete
Approver:
Michael Hope
Priority:
Medium
Drafter:
Michael Hope
Direction:
Approved
Assignee:
Michael Hope
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.12
Started by
Michael Hope
Completed by
Michael Hope

Related branches

Sprints

Whiteboard

2012-12-03 looks good. The remaining new failures are all in libstdc++ and are:

+FAIL: 20_util/hash/chi2_quality.cc execution test
+FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
+FAIL: 20_util/shared_ptr/thread/mutex_weaktoshared.cc execution test
+FAIL: 21_strings/basic_string/pthread4.cc execution test
+FAIL: 23_containers/list/pthread1.cc execution test
+FAIL: 23_containers/list/pthread5.cc execution test
+FAIL: 23_containers/map/pthread6.cc execution test
+FAIL: 27_io/basic_ofstream/pthread2.cc execution test
+FAIL: 27_io/basic_ostringstream/pthread3.cc execution test
+FAIL: 27_io/fpos/14775.cc execution test
+FAIL: 30_threads/call_once/39909.cc execution test
+FAIL: 30_threads/condition_variable/54185.cc execution test
+FAIL: 30_threads/lock/2.cc execution test
+FAIL: 30_threads/shared_future/members/wait.cc execution test
+FAIL: ext/rope/pthread7-rope.cc execution test
+FAIL: tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc execution test
+FAIL: tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc execution test

2012-11-28 switched to a non-wrapped QEMU. Excluding Fortran, the new failures are:

+FAIL: 20_util/hash/chi2_quality.cc execution test
+FAIL: 20_util/shared_ptr/thread/default_weaktoshared.cc execution test
+FAIL: 20_util/shared_ptr/thread/mutex_weaktoshared.cc execution test
+FAIL: 21_strings/basic_string/pthread4.cc execution test
+FAIL: 23_containers/list/pthread1.cc execution test
+FAIL: 23_containers/list/pthread5.cc execution test
+FAIL: 23_containers/map/pthread6.cc execution test
+FAIL: 27_io/basic_ifstream/cons/char/1.cc execution test
+FAIL: 27_io/basic_ofstream/cons/char/1.cc execution test
+FAIL: 27_io/basic_ostringstream/pthread3.cc execution test
+FAIL: 27_io/fpos/14775.cc execution test
+FAIL: 30_threads/call_once/39909.cc execution test
+FAIL: 30_threads/condition_variable/54185.cc execution test
+FAIL: ext/rope/pthread7-rope.cc execution test
+FAIL: tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc execution test
+FAIL: tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc execution test

The new Fortran failures do some type of memory check such as:

+FAIL: gfortran.dg/unpack_bounds_2.f90 -O3 -g output pattern test, is 16432 brk(NULL) = 0x00011000

Oops, due to leaving -strace on the QEMU line.

2012-11-27 gfortran tests fail due to calling the non-wrapped exit_group(). Hmm. That's the syscall, not the function.

2012-11-23 in summary, all failures are in torture/tls, libgomp, and libmudflap. Seems fine.

2012-11-23 Failures:
torture/tls tests fail with """/home/michaelh/linaro/cbuild/slaves/crucis/gcc-linaro-4.7-2012.11/prebuilt/bin/arm-linux-gnueabi-ld: gcc_tg.o: relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
gcc_tg.o: could not read symbols: Bad value
"""

libgomp tests fail when executing. Seem to be missing the exit code wrapper?

Some libmudflap tests are skipped due to 'UNSUPPORTED: g++ not found'

For libmudflap, qemu core dumps when mudflap signals:

"""spawn qemu-arm ./heap-scalestress.exe
*******
mudflap violation 1 (check/write): time=1353559214.722723 ptr=0xf6659a78 size=152
pc=0xf66d8e93 location=`(fprintf stream)'
number of nearby objects: 0
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
"""

(?)

Work Items

Work items:
Add an xcortexa9 configuration: DONE
Add the prebuilt binaries for binutils and sysroot: DONE
Add a QEMU board file: DONE
Baseline the builds and test: DONE
Enable in the standard queues: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.