Hello,
I would like to run as many tests as possible on the arm-rtems target.
Unfortunately about 100 tests use this:
// { dg-require-atomic-builtins "" }
Which uses a function check_v3_target_atomic_builtins in libstdc++.exp,
which uses this program to determine if the atomic builtins are available:
puts $f "#if __GCC_ATOMIC_BOOL_LOCK_FREE < 2"
puts $f "# error No atomic bool"
puts $f "#endif"
puts $f "#if __GCC_ATOMIC_INT_LOCK_FREE < 2"
puts $f "# error No atomic int"
puts $f "#endif"
The default architecture version on arm-rtems is v4, so
__GCC_ATOMIC_BOOL_LOCK_FREE == 1 and __GCC_ATOMIC_INT_LOCK_FREE == 1.
How do the other ARM testers tackle this issue? Would it be possible to
add for example a "-march=armv7-a" option if the target selector
contains "arm"?
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.