From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 30759 invoked from network); 19 Jan 2021 23:07:47 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 19 Jan 2021 23:07:47 -0000 Received: (qmail 18079 invoked by uid 550); 19 Jan 2021 23:07:45 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18061 invoked from network); 19 Jan 2021 23:07:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=notion-se.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k/Bnb6upGiXLDSCa/pjKy1SZSVbd9qgqX0li8Ch7Xfg=; b=EXFahT1BIjMzcDyJb0dpCID/GwhLcPBStVND6Fi8/xFMnHO7NMl6cDBREbZcpUHmMw ZmAOGK6QvhuzyZD4l9V6Lj5nmGIMo2wqkoJFOD/j8kG45/PkhuuccU3trdBPGsYzW1CG KPUg2EiO21D/gl33ntM6xMmmp605irvZ2Kwu5LgDs/YlACO5Bpli9aiW4/a9UlFhRp3N dgUnpMgl0gQ5u81IWuO9oJuLh9M1n28qLrKlMcdMW5dwz3CKoC05vGz6pZrax4o4jvdm JppxLsn8FLZZLap4+oJ7jt9FmrdChWLflO/+Z0+PyG01KRM4QKHxgmjFNZ7iwwrkKnQ5 4Zkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k/Bnb6upGiXLDSCa/pjKy1SZSVbd9qgqX0li8Ch7Xfg=; b=HDMOuCpkx0brnLz2Sprq7dop0g0IJavKFHZjV/o1i9mksuXv1qAMj3jYTXU0XyJkbf RJdsksx0CGjQT6JfdPp/haep4l1CfB4oVe5ODWQr9udWFbp9j0eKHmOkIjfdHtLpt76s 8SDDG6b/d6Dg3NMXfsKblAtwQ15kRGuqF6ehKNDpp0ln8u6SsaDomV9jqynmf7YW6Di7 fhG1aNSj3WgbH5JjgKH14G025N2x4ez3BV9Yw62BBCVH8958b70Ug5KlDPKyfZ0mcG+V 4I7/KpBQtAa+zSI0hwGpBMwPIT6Ql5VDgkaZG9NWQFQyDkSaAGu3npI6jyNA9Ezf88V5 hP3w== X-Gm-Message-State: AOAM530nqm8eEAyMHAUK6zfOJJb6pWxUOgfNqnM4BYOk5r6hB1ZkPPHk ukFjHQzxYGVAfFgE0R6z2+QrxVU8tDqLDrEaj4SLUA== X-Google-Smtp-Source: ABdhPJx6gdaVzk4ubQcFds/UdJdSZrsP04qN8rK+zJ4vplNRwjaZRO6yUUFk1vi0iZItyYftJOgr5mNwds3F/yzAZhI= X-Received: by 2002:a62:f948:0:b029:1ad:c27d:2b9e with SMTP id g8-20020a62f9480000b02901adc27d2b9emr6401768pfm.33.1611097652537; Tue, 19 Jan 2021 15:07:32 -0800 (PST) MIME-Version: 1.0 References: <20210119193337.GB2006@voyager> <20210119211653.GK23432@brightrain.aerifal.cx> <58068fc813f1c55d2b3dde305d2b8e29e9801668.camel@zv.io> In-Reply-To: <58068fc813f1c55d2b3dde305d2b8e29e9801668.camel@zv.io> From: Rasmus Andersson Date: Tue, 19 Jan 2021 15:07:21 -0800 Message-ID: To: Zach van Rijn Cc: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] waitpid (wait4) on Linux 5 returns invalid values Zach I'm glad I was able to help! No trouble at all. Thank you all for your work on musl & accompanying tools :-) On Tue, Jan 19, 2021 at 3:01 PM Zach van Rijn wrote: > > On Tue, 2021-01-19 at 14:02 -0800, Rasmus Andersson wrote: > > The program compiles correctly with > > https://more.musl.cc/9/x86_64-linux-musl/x86_64-linux-musl-native.tgz > > (The GCC 9 version) Perhaps an issue with GCC 10? > > Rasmus, thank you for reporting this issue. > > > Using your reproducer I'm able to observe the following: > > (1) GCC 10 as-published on musl.cc : BUG > waitpid returned -10, wstat=0, errno=0 (No error information) > > (2) GCC 10 without this patch [1] : OK > waitpid returned -1, wstat=0, errno=10 (No child process) > > which matches your GCC 9 (20200828) observation. > > > This patch was applied to musl.cc as part of a series to add > experimental riscv32 support in September 2020, but was applied > universally and not strictly riscv32 targets. > > The patch in question was /not/ applied to the GCC 9 binaries as > they were last updated in August of 2020, nor to earlier 10 ones. > > I am updating the build infrastructure to avoid contamination of > "supported" targets by experimental patches such as this one. > > New (fixed and newer GCC) toolchains will be published as soon as > they finish building (~24 hours). I will ping you off-list. > > Additional tests (not simply spot-checks) will be implemented for > future releases. > > > Sorry for the inconvenience. > > > [1]: https://www.openwall.com/lists/musl/2020/09/03/14 >