Received: by 2002:a05:7412:8d11:b0:fa:4934:9f with SMTP id bj17csp541566rdb; Mon, 15 Jan 2024 05:50:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IH8gc9nyKto2+rtDQgoXqRThhXn/F9+Uv5dbY/YGb+e/hVGCaD3Mwh/ZHWMFV1cnTxGcVf5 X-Received: by 2002:ac2:4882:0:b0:50e:9fa0:c1ec with SMTP id x2-20020ac24882000000b0050e9fa0c1ecmr2120093lfc.109.1705326620971; Mon, 15 Jan 2024 05:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705326620; cv=none; d=google.com; s=arc-20160816; b=mNMw+dQ1Pmg9+VhYV7U+ZBizoMAHUz2GL74ghVa5pxP0cfkvoN8z3nbNeZBeCLvoNZ JutXI5WTGQjsI3QcLCRaD86WQ9FGxfwvJaaNgzh8CRzgeLUlyqeyFhRGtyfUI3LRJLLu X7vuyvZXdJ21T2k0Ss9ZVSdtDjJPd6sYc0F6JtOgjvkV53Z3CEY8N9/cAAEZNwHME1R1 aGn9heQJUQdSFJ0jBZ06Uc/13HXRVAtjBSxmaMJLDiZb/34ASjV+WtTGGdlvLoK/IbXI IqhY/capq+OHegLXrCRtPgJ8n2G/t8cXcTj7SND2wCFW2xNT4ve9bu+WeiwaWF5gMlEU +7XQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Lw9I/wtqBsDSl9+jS/MKskJpRyCRBs2RS81xA3jnKmA=; fh=p5GFOOuRAIQOABwDGA0gQYD+Fn+DoP8eP+sYOv6QUuI=; b=IwyP/wAMhDnw/SVv7OXlnJ9YgYUhK1X+/8gAam1B8q1IdOvrP9RY7LRAVvaIj6mahN 5UAKYBDGNI0dhEKtye+v1xioF9LJDoMN1pBFWxbZ44nIiffSr+fj5BOs5uaR/tzgnweS BuoXGmlleJuneDg83fxE3wfX6tP68eUH+P4AwMUxNJHjIluWdWk4iNMEmfj21y3rkMll vE/BSiFL3LBiGR290ywyxq1P15VG1iBDsR3JbdJzpGhVVi9a5NNNyOVdzlYR6KYro/qD taCVyvHjk6Av5JQ0bfE3L9hb2ZOzNIO0Iv0wW1wYNQnZ9bFL6ftS5l1OgAxLBPZ71IUW mEVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@openadk.org header.s=2022 header.b=DX6Ey8Np; spf=pass (google.com: domain of linux-kernel+bounces-26052-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26052-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id o9-20020a056402444900b0055854396553si3823698edb.309.2024.01.15.05.50.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jan 2024 05:50:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-26052-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@openadk.org header.s=2022 header.b=DX6Ey8Np; spf=pass (google.com: domain of linux-kernel+bounces-26052-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-26052-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB9351F227D8 for ; Mon, 15 Jan 2024 13:50:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77F031755B; Mon, 15 Jan 2024 13:50:14 +0000 (UTC) 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: 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 5EE3017547; Mon, 15 Jan 2024 13:50:11 +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 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-kernel@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