public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] uclinux support?
@ 2018-11-11 20:23 Christophe Lyon
  2018-11-12 11:01 ` Cyril Hrubis
  0 siblings, 1 reply; 7+ messages in thread
From: Christophe Lyon @ 2018-11-11 20:23 UTC (permalink / raw)
  To: ltp

Hello,

I wanted to try to run at least some of the LTP tests on a uclinux
system for arm (arm-uclinuxfdpiceabi), as I am in the process of
upstreaming the toolchain support for the FDPIC ABI for ARM.

I've tried this:
$ make autotools
$ configure CC=~XXX/bin/arm-none-uclinuxfdpiceabi-gcc
CXX=~XXX/bin/arm-none-uclinuxfdpiceabi-g++ --host
arm-none-uclinuxfdpiceabi
$ make all
XXX/lib/gcc/arm-none-uclinuxfdpiceabi/9.0.0/../../../../arm-none-uclinuxfdpiceabi/bin/ld:
../../lib/libltp.a(tst_test.o): in function `fork_testrun':
XXX/ltp/lib/tst_test.c:1104: undefined reference to `fork'
XXX/lib/gcc/arm-none-uclinuxfdpiceabi/9.0.0/../../../../arm-none-uclinuxfdpiceabi/bin/ld:
../../lib/libltp.a(tst_test.o): in function `safe_fork':
XXX/ltp/lib/tst_test.c:395: undefined reference to `fork'
XXX/lib/gcc/arm-none-uclinuxfdpiceabi/9.0.0/../../../../arm-none-uclinuxfdpiceabi/bin/ld:
../../lib/libltp.a(tst_res.o): in function `tst_fork':
XXX/ltp/lib/tst_res.c:421: undefined reference to `fork'

config.h has:
#define UCLINUX 1
/* #undef HAVE_FORK */
#define HAVE_VFORK 1

so it looks like confgure correctly detected the target system.

Am I missing something?

Thanks

Christophe

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

end of thread, other threads:[~2018-11-13 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-11 20:23 [LTP] uclinux support? Christophe Lyon
2018-11-12 11:01 ` Cyril Hrubis
2018-11-12 13:47   ` Christophe Lyon
2018-11-12 14:22     ` Cyril Hrubis
2018-11-13  8:56       ` Petr Vorel
2018-11-13  9:25         ` Christophe Lyon
2018-11-13 14:02           ` Petr Vorel

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