Openembedded Core Discussions
 help / color / mirror / Atom feed
* Autoconf problems in OE build of LTP realtime tests
@ 2014-09-05 20:36 Gary Robertson
  2014-09-05 21:51 ` Peter A. Bigot
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Gary Robertson @ 2014-09-05 20:36 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Mike Holmes

[-- Attachment #1: Type: text/plain, Size: 2113 bytes --]

Dear OE developers,

Linaro Networking Group is building root filesystem images containing  the
LTP test suite, using the current recipe at
openembedded-core/meta/recipes-extended/ltp/ltp_20140422.bb.  This build
uses autoconf to probe mutex feature support for protocol specification,
priority inheritance, and robust mutexes.  The macros used for this can be
found in ltp/testcases/realtime/m4/check.m4 from the LTP git repository.

We are cross-building for the armv7a architecture using the machine
definition found in
meta-linaro/meta-linaro/conf/machine/genericarmv7a.conf.  The development
host platform is an Ubuntu 12.04 x86_64 platform with all software kept
regularly updated from the Ubuntu repositories.

The macros in check.m4 use the AC_TRY_COMPILE function macro to attempt
compilation of POSIX function calls utilizing the features being probed -
such that if the compilation fails the features are deemed to be
unsupported... and if compilation succeeds the features are deemed
supported.

Native compilation of the same code used in the probes, and execution of
the resulting program - shows support for all the probed mutex features on
both the development host as well as the armv7a target platform... that is
when this probe code is built on either the host or target machine and then
executed in that environment... so support is there in both environments.

Despite the presence of this support the AC_TRY_COMPILE macro is indicating
a lack of support for the probed features during the cross-build process.

I am not personally familiar with the detailed function of the autoconf
macros, and I can find no documentation about how OE interacts with those
macros in order to coerce them into configuring for the target machine in a
cross-build environment... so I am hoping the autoconf experts at OE can
shed some light on this and at least provide some clues as to where to look
for the problem and possible resolution.  Any insight you can provide in
this matter would be appreciated.

Gary Robertson

Real-time engineer, Linaro Networking Group

[-- Attachment #2: Type: text/html, Size: 2324 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-09-29 18:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 20:36 Autoconf problems in OE build of LTP realtime tests Gary Robertson
2014-09-05 21:51 ` Peter A. Bigot
2014-09-05 22:34 ` Randy Witt
2014-09-29 11:07 ` Gary Robertson
2014-09-29 18:52 ` Gary Robertson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox