From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) From: Florian Weimer To: Szabolcs Nagy via Libc-alpha Cc: Paul Zimmermann , Szabolcs Nagy 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-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_NUMSUBJECT, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 02 Aug 2021 11:52:44 -0000 * 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