public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] uclinux support?
Date: Mon, 12 Nov 2018 12:01:51 +0100	[thread overview]
Message-ID: <20181112110151.GA23335@rei.lan> (raw)
In-Reply-To: <CAKdteOY=B3m0NvOcPuAPbmoVkCgwuXq7PsiJZw-sPAyVdtkDQQ@mail.gmail.com>

Hi!
> 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?

uClinux support in LTP has been broken for years and nobody seemed to
really care. I even tried to ask if there is someone interesting in
running LTP on uClinux on the uClinux mailing list but it seems that
even the list is basically dead at this point. So for a last year or so
we are slowly getting rid of the uClinux specific bits from the codebase
in order to simplify the LTP maintenance. You are free to step up and
restore uClinux support in LTP if you have time for that but unless that
happens we will continue to stage it out.

-- 
Cyril Hrubis
chrubis@suse.cz

  reply	other threads:[~2018-11-12 11:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-11 20:23 [LTP] uclinux support? Christophe Lyon
2018-11-12 11:01 ` Cyril Hrubis [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181112110151.GA23335@rei.lan \
    --to=chrubis@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox