From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from helium.openadk.org (helium.openadk.org [89.238.66.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39E4F17546 for ; Mon, 15 Jan 2024 13:50:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=openadk.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=openadk.org Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=openadk.org header.i=@openadk.org header.b="DX6Ey8Np" Received: by helium.openadk.org (Postfix, from userid 1000) id 72F6135210AB; Mon, 15 Jan 2024 14:41:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openadk.org; s=2022; t=1705326082; bh=oxu8ri+2lNAJGmWaelZR/DAbUPHgJwlAGo7y/CzxD4E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DX6Ey8NpU5GrlvEu3ZRCkLwI5kBRnUvpr23wJSVaSMxIvKcwenahJ6FnpxnlCpzvT q00OflPoW7AF8uLs4+x/C0//3TcLaD7fuJWk3adpvG8BfJL/B5c8yVJ+2pKol1WuZ+ hXP81V9hyEpCoS7AKFE+l1KA+iCWIjBaPsusSRwfwCsJWzdAVRc7quDLtRl99U+GB5 vZ8tq3rEaqKwyMKsPNvqa8yhU6Xz2PkbZZsreGoz/vomjnBebeI4AOolJ32GaW/Mmo qO7Ah7Eon0nLF4vBUP3bfqcjzzORYmhkrwk+dBf/iwB3cmChCKQvD9qZ3FYOXh0Nn8 ZD+QMa3ub/EkA== Date: Mon, 15 Jan 2024 14:41:22 +0100 From: Waldemar Brodkorb To: Petr Vorel Cc: Greg Ungerer , Petr Vorel , Rob Landley , Tim Bird , Niklas Cassel , Andrea Cervesato , Jonathan Corbet , Linux-sh list , Christophe Lyon , Randy Dunlap , "linux-kernel@vger.kernel.org" , Li Wang , "linux-m68k@lists.linux-m68k.org" , Geert Uytterhoeven , Linux ARM , Cyril Hrubis , John Paul Adrian Glaubitz , linux-riscv , "buildroot@buildroot.org" , "ltp@lists.linux.it" , "automated-testing@lists.yoctoproject.org" Subject: Re: [Buildroot] [Automated-testing] Call for nommu LTP maintainer [was: Re: [PATCH 00/36] Remove UCLINUX from LTP] Message-ID: References: <5a1f1ff3-8a61-67cf-59a9-ce498738d912@landley.net> <20240105131135.GA1484621@pevik> <90c1ddc1-c608-30fc-d5aa-fdf63c90d055@landley.net> <20240108090338.GA1552643@pevik> <20240110141455.GC1698252@pevik> <40996ea1-3417-1c2f-ddd2-e6ed45cb6f4b@landley.net> <81c07a13-305a-404b-b14c-3aff8fde3f67@linux-m68k.org> Precedence: bulk X-Mailing-List: linux-m68k@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 5.10.0-27-amd64 x86_64 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