From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 0F0E31F8C6 for ; Mon, 2 Aug 2021 11:53:04 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8E0313853C3C for ; Mon, 2 Aug 2021 11:53:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E0313853C3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1627905182; bh=O3ioetB7gt5UcEErBSjZmRJ0VSXYmtYH93INQrGRgZI=; h=To:Subject:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=QmYDpszwuaURkViY7tlmjAlmDpjNGtmEBLp131Xv3ooylar6BViG40JHJ/su9gP68 pjO/qM1JhsMKCVUJ/JKqOhiSiyPBkOL2p51IH3nitVH0ZNlkUAYc4IqTEySduiEW5P AeI+omFeKg9z/dAaXuzT5y15TqpGx1Gdzhmn1qs0= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 784303858404 for ; Mon, 2 Aug 2021 11:52:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 784303858404 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-400-vd5XRRPjPG6vyCWe1C1utA-1; Mon, 02 Aug 2021 07:52:42 -0400 X-MC-Unique: vd5XRRPjPG6vyCWe1C1utA-1 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id EBADFC7403; Mon, 2 Aug 2021 11:52:40 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.39.192.123]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C73675FC22; Mon, 2 Aug 2021 11:52:39 +0000 (UTC) To: Szabolcs Nagy via Libc-alpha Subject: Re: glibc 2.34 References: <20210802111645.GG14854@arm.com> Date: Mon, 02 Aug 2021 13:52:37 +0200 In-Reply-To: <20210802111645.GG14854@arm.com> (Szabolcs Nagy via Libc-alpha's message of "Mon, 2 Aug 2021 12:16:46 +0100") Message-ID: <87mtq0qd16.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Florian Weimer via Libc-alpha Reply-To: Florian Weimer Cc: Szabolcs Nagy Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" * Szabolcs Nagy via Libc-alpha: > The 08/02/2021 10:44, Paul Zimmermann wrote: >> I just compiled GNU libc 2.34 on my workstation (Intel Core i5 under >> Debian GNU/Linux 11 bullseye with gcc 10.2.1) and got 3 errors with >> make check: >> >> Summary of test results: >> 3 FAIL >> 4439 PASS >> 20 UNSUPPORTED >> 16 XFAIL >> 2 XPASS >> >> FAIL: io/tst-closefrom >> FAIL: misc/tst-close_range >> FAIL: posix/tst-spawn5 >> >> $ cat io/tst-closefrom.out >> tst-closefrom.c:38: numeric comparison failure >> left: 95 (0x5f); from: xopen ("/dev/null", O_RDONLY, 0600) >> right: 93 (0x5d); from: lowfd + i > > i see similar failure when the shell where i run > the tests has inherited fds open (e.g. in this > case fd 93 and 94) Right, we saw that internally as well. I think we need a support/ utility that returns the maximum open file descriptor, plus 1, and raises RLIMIT_NOFILE if necessary. Thanks, Florian