[{"id":3676511,"web_url":"http://patchwork.ozlabs.org/comment/3676511/","msgid":"<adydxHHwjwT_XhYu@waldemar-brodkorb.de>","list_archive_url":null,"date":"2026-04-13T07:39:48","subject":"[uclibc-ng-devel] Re: [PATCH v1 0/7] Bug fixes discovered trying to\n build\n allnoconfig","submitter":{"id":68677,"url":"http://patchwork.ozlabs.org/api/people/68677/","name":"Waldemar Brodkorb","email":"wbx@uclibc-ng.org"},"content":"Hi Charles,\n\nthanks a lot, applied and pushed,\n\nbest regards\n Waldemar\n\nCharles Mirabile wrote,\n\n> I wanted to build a really trimmed down uClibc-ng for a no-mmu riscv\n> system, so I wanted to start with allnoconfig and add only those options\n> I actually wanted with a small KCONFIG_ALLCONFIG file. Unfortunately it\n> seems that no one has really been testing allnoconfig so it bit-rotted\n> and I had to fix a bunch of small issues to get it building again.\n> \n> That covers the first five patches, the other two are technically not\n> related to allnoconfig per se, but small issues I encountered while\n> actually trying to use uclibc as the main libc on this system. I was\n> trying to develop a new filesystem that happened to use inode zero and\n> discovered that uclibc was skipping it in the returned values from\n> getdents under the assumption that it represented a deleted file (this\n> seems to be a BSDism that is not found in any other linux libc), and\n> the second is just making posix_spawn a bit more fully featured on nommu\n> by adding file actions support so that a shell can make use of it\n> instead of the raw clone syscall.\n> \n> Charles Mirabile (7):\n>   pipe: directly invoke pipe2 from kernel when !UCLIBC_LINUX_SPECIFIC\n>   Fix  {g,s}ettimeofday when !UCLIBC_HAS_REALTIME\n>   Fix build with static-pie but without nptl threads\n>   do not remove bits/uClibc_ctype.h when !UCLIBC_HAS_CTYPE_TABLES\n>   getopt-susv3: remove call to gettext `_` macro\n>   readdir{,_r}: remove loop to skip files with d_ino == 0\n>   spawn: allow file actions on no-mmu targets\n> \n>  Makefile.in                              |  2 ++\n>  libc/misc/dirent/readdir.c               | 32 ++++++++++------------\n>  libc/misc/dirent/readdir_r.c             | 35 +++++++++++-------------\n>  libc/misc/internals/reloc_static_pie.c   |  4 +++\n>  libc/sysdeps/linux/common/gettimeofday.c |  2 ++\n>  libc/sysdeps/linux/common/pipe.c         |  2 +-\n>  libc/sysdeps/linux/common/settimeofday.c |  3 ++\n>  libc/unistd/getopt-susv3.c               |  2 +-\n>  librt/spawn.c                            |  2 +-\n>  9 files changed, 44 insertions(+), 40 deletions(-)\n> \n> -- \n> 2.53.0\n> \n> _______________________________________________\n> devel mailing list -- devel@uclibc-ng.org\n> To unsubscribe send an email to devel-leave@uclibc-ng.org\n>","headers":{"Return-Path":"<devel-bounces@uclibc-ng.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":"legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org\n (client-ip=89.238.66.15; helo=helium.openadk.org;\n envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org)","Received":["from helium.openadk.org (helium.openadk.org [89.238.66.15])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvK7Q4j6kz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 17:40:02 +1000 (AEST)","from helium.openadk.org (localhost [127.0.0.1])\n\tby helium.openadk.org (Postfix) with ESMTP id 0BD3031E0CBB;\n\tMon, 13 Apr 2026 09:39:56 +0200 (CEST)","by helium.openadk.org (Postfix, from userid 1000)\n\tid 0AE8D31E0CBB; Mon, 13 Apr 2026 09:39:48 +0200 (CEST)"],"Date":"Mon, 13 Apr 2026 09:39:48 +0200","From":"Waldemar Brodkorb <wbx@uclibc-ng.org>","To":"Charles Mirabile <cmirabil@redhat.com>","Message-ID":"<adydxHHwjwT_XhYu@waldemar-brodkorb.de>","References":"<20260408190035.2759806-1-cmirabil@redhat.com>","MIME-Version":"1.0","Content-Disposition":"inline","In-Reply-To":"<20260408190035.2759806-1-cmirabil@redhat.com>","X-Operating-System":"Linux 6.12.63+deb13-amd64 x86_64","Message-ID-Hash":"Q7UVZAHDUCQKJRQKMWVRSU2IZQ2VJ76E","X-Message-ID-Hash":"Q7UVZAHDUCQKJRQKMWVRSU2IZQ2VJ76E","X-MailFrom":"wbx@uclibc-ng.org","X-Mailman-Rule-Misses":"dmarc-mitigation; no-senders; approved; loop;\n banned-address; emergency; member-moderation; nonmember-moderation;\n administrivia; implicit-dest; max-recipients; max-size; news-moderation;\n no-subject; digests; suspicious-header","CC":"devel@uclibc-ng.org","X-Mailman-Version":"3.3.10","Precedence":"list","Subject":"[uclibc-ng-devel] Re: [PATCH v1 0/7] Bug fixes discovered trying to\n build\n allnoconfig","List-Id":"uClibc-ng Development <devel.uclibc-ng.org>","Archived-At":"\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/message/Q7UVZAHDUCQKJRQKMWVRSU2IZQ2VJ76E/>","List-Archive":"\n <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/>","List-Help":"<mailto:devel-request@uclibc-ng.org?subject=help>","List-Owner":"<mailto:devel-owner@uclibc-ng.org>","List-Post":"<mailto:devel@uclibc-ng.org>","List-Subscribe":"<mailto:devel-join@uclibc-ng.org>","List-Unsubscribe":"<mailto:devel-leave@uclibc-ng.org>","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit"}}]