From: Waldemar Brodkorb <wbx@openadk.org>
To: Petr Vorel <pvorel@suse.cz>
Cc: Greg Ungerer <gerg@linux-m68k.org>, Petr Vorel <pvorel@suse.cz>,
Rob Landley <rob@landley.net>, Tim Bird <tim.bird@sony.com>,
Niklas Cassel <niklas.cassel@wdc.com>,
Andrea Cervesato <andrea.cervesato@suse.com>,
Jonathan Corbet <corbet@lwn.net>,
Linux-sh list <linux-sh@vger.kernel.org>,
Christophe Lyon <christophe.lyon@linaro.org>,
Randy Dunlap <rdunlap@infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Li Wang <liwang@redhat.com>,
"linux-m68k@lists.linux-m68k.org"
<linux-m68k@lists.linux-m68k.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
Cyril Hrubis <chrubis@suse.cz>,
John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>,
linux-riscv <linux-riscv@lists.infradead.org>,
"buildroot@buildroot.org" <buildroot@buildroot.org>,
"ltp@lists.linux.it" <ltp@lists.linux.it>,
"automated-testing@lists.yoctoproject.org"
<automated-testing@lists.yoctoproject.org>
Subject: Re: [Buildroot] [Automated-testing] Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP]
Date: Mon, 15 Jan 2024 14:41:22 +0100 [thread overview]
Message-ID: <ZaU2Ag1wg1Sne9zZ@waldemar-brodkorb.de> (raw)
In-Reply-To: <d3a26b8e-8823-8f3c-b815-4396cbac1dc3@landley.net>
Hi,
I want to clarify some things of the point of view of uClibc-ng
support.
There is support for following configurations for noMMU targets:
ARM:
- FLAT with Linuxthreads supported (for Qemu you need a Linux patch)
- FDPIC with NPTL supported (NPTL works only on real hardware not in Qemu)
- ELF with Thread support not working
M68k:
- FLAT with Linuxthreads supported
- ELF with Thread support not working
RISCV64:
- FLAT without Thread support
- ELF with Thread support not working
RISCV32:
- FLAT without Thread support, needs a small Linux Kernel patch
SH2/J2:
- FLAT with Linuxthreads supported
Xtensa:
- FLAT with Linuxthreads supported
There are some obsolete architectures supported by uClibc-ng, but
no longer supported by Linux:
Blackfin:
- FLAT with Linuxthreads supported
- FDPIC
H8300:
- FLAT with Linuxthreads supported
C6X:
- DSBT
LM32:
- FLAT
LTP requires NPTL to work, so the only testable platform is ARM with
FDPIC right now.
Unfortunately LTP 20230929 needs fork for some files:
RANLIB libltp.a
/home/wbx/arm/toolchain_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/usr/lib/gcc/arm-openadk-uclinuxfdpiceabi/13.2.0/../../../../arm-openadk-uclinuxfdpiceabi/bin/ld: ../../lib/libltp.a(tst_res.o): in function `tst_fork':
/home/wbx/arm/build_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/w-ltp-20230929-1/ltp-full-20230929/lib/tst_res.c:430:(.text+0x952): undefined reference to `fork'
/home/wbx/arm/toolchain_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/usr/lib/gcc/arm-openadk-uclinuxfdpiceabi/13.2.0/../../../../arm-openadk-uclinuxfdpiceabi/bin/ld: ../../lib/libltp.a(tst_test.o): in function `fork_testrun':
/home/wbx/arm/build_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/w-ltp-20230929-1/ltp-full-20230929/lib/tst_test.c:1597:(.text+0xf4e): undefined reference to `fork'
/home/wbx/arm/toolchain_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/usr/lib/gcc/arm-openadk-uclinuxfdpiceabi/13.2.0/../../../../arm-openadk-uclinuxfdpiceabi/bin/ld: ../../lib/libltp.a(tst_test.o): in function `safe_fork':
/home/wbx/arm/build_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/w-ltp-20230929-1/ltp-full-20230929/lib/tst_test.c:435:(.text+0x345c): undefined reference to `fork'
collect2: error: ld returned 1 exit status
gmake[8]: *** [../../include/mk/rules.mk:45: test01] Error 1
gmake[7]: *** [../include/mk/generic_trunk_target.inc:108: all] Error 2
gmake[6]: *** [Makefile:94: lib-all] Error 2
gmake[5]: *** [/home/wbx/arm/mk/pkg-bottom.mk:141: /home/wbx/arm/build_st-stm32f746g_uclibc-ng_cortex_m7_soft_eabi_thumb_nommu/w-ltp-20230929-1/ltp-full-20230929/.build_done] Error 2
gmake[4]: *** [Makefile:61: ltp-compile] Error 2
gmake[3]: *** [mk/build.mk:221: package/compile] Error 2
gmake[2]: *** [/home/wbx/arm/mk/build.mk:176: world] Error 2
So there is really work to be done to make the existing code work on noMMU.
best regards
Waldemar
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2024-01-15 13:41 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240103015240.1065284-1-pvorel@suse.cz>
2024-01-03 9:46 ` [PATCH 00/36] Remove UCLINUX from LTP Geert Uytterhoeven
2024-01-03 11:49 ` Petr Vorel
2024-01-03 11:54 ` Geert Uytterhoeven
2024-01-03 12:09 ` Cyril Hrubis
2024-01-03 12:40 ` Petr Vorel
2024-01-05 3:52 ` Rob Landley
2024-01-05 13:11 ` Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP] Petr Vorel
2024-01-06 3:58 ` Rob Landley
2024-01-08 9:03 ` Petr Vorel
2024-01-08 10:07 ` Cyril Hrubis
2024-01-09 22:37 ` [Automated-testing] " Bird, Tim
2024-01-10 5:01 ` Rob Landley
2024-01-10 14:14 ` Petr Vorel
2024-01-10 19:23 ` Rob Landley
2024-01-10 21:17 ` Niklas Cassel
2024-01-11 0:00 ` Greg Ungerer
2024-01-11 9:21 ` Niklas Cassel
2024-01-12 20:18 ` Rob Landley
2024-01-11 2:25 ` Greg Ungerer
2024-01-12 20:16 ` Rob Landley
2024-01-14 13:01 ` Greg Ungerer
2024-01-15 13:41 ` Waldemar Brodkorb [this message]
2024-01-15 14:22 ` [Buildroot] " Cyril Hrubis
2024-01-11 13:11 ` Geert Uytterhoeven
2024-01-11 13:19 ` Greg Ungerer
2024-01-09 20:24 ` Rob Landley
2024-01-09 23:17 ` Greg Ungerer
2024-01-10 5:47 ` Rob Landley
2024-01-10 14:46 ` Greg Ungerer
2024-01-10 13:33 ` Petr Vorel
2024-01-10 18:23 ` Rob Landley
2024-01-10 22:33 ` Petr Vorel
2024-01-08 8:33 ` [PATCH 00/36] Remove UCLINUX from LTP Andrea Cervesato
2024-01-08 8:34 ` Andrea Cervesato
2024-01-05 3:50 ` Rob Landley
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=ZaU2Ag1wg1Sne9zZ@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=andrea.cervesato@suse.com \
--cc=automated-testing@lists.yoctoproject.org \
--cc=buildroot@buildroot.org \
--cc=christophe.lyon@linaro.org \
--cc=chrubis@suse.cz \
--cc=corbet@lwn.net \
--cc=geert@linux-m68k.org \
--cc=gerg@linux-m68k.org \
--cc=glaubitz@physik.fu-berlin.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linux-riscv@lists.infradead.org \
--cc=linux-sh@vger.kernel.org \
--cc=liwang@redhat.com \
--cc=ltp@lists.linux.it \
--cc=niklas.cassel@wdc.com \
--cc=pvorel@suse.cz \
--cc=rdunlap@infradead.org \
--cc=rob@landley.net \
--cc=tim.bird@sony.com \
/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