Descriptionautotest: Make the "ltp" test comile on ARM.
- Add a utility function to wrap "./configure" to pass appropriate "--host",
"--target", and "--build" options to configure.
- Change the ltp test to use said utility
- Workaround an internal compiler error in "ltp". The epoll-ltp.c test
writes zero to an uint64_t through an unaligned pointer. This causes our
compiler to die. The behavior is undefined by the C standard (C99 Section
6.3.2.3) and I suspect that even if it did compile it would cause a "bus
error" on ARM. I replaced the assignment with a call to memset.
TEST=Built for x86-generic and arm-generic
BUG=None
Patch Set 1 #Patch Set 2 : Make portable #
Total comments: 2
Patch Set 3 : Move configure into the base class. #Patch Set 4 : Move configure() back to utils #
Messages
Total messages: 20 (0 generated)
|