From patchwork Sun Feb 4 13:03:56 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 869030 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-89940-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="VjERHzFU"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zZ9sN44JMz9sBZ for ; Mon, 5 Feb 2018 00:04:07 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=B22EBPXo/9YYR1syPBEuJnvTXswGZi4ETaXacNqnbjHd6VlMRp2cm 5d7WfjXkvrRhGrhbKty+MxR/UVFnj336QTz6UyO6Q3Pqr6Iq95SkfvtW9QlBLzHL 61RYkCcR7/KIvOaXSPZ0w3WJop9FSfDVwYAFs5qpPt1V/UN+aLB13U= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=q1UOOiPiUzBhRT9VMhqcb1G5ibU=; b=VjERHzFUBT0Imb2ZpSx2V90CFjLW eqorTlBGoIOSoJJjDCh4K7u7ZrTOCvp9oAspmtw6s13aAyVMfMLSP3Uy/889zU2t Dg6c6CgtRKi5FCEE/IRePMGzSye+JBTUldu+b+K7Eipiggi9JMX72Rgc6WkagQ+8 1DiUeeaHRCIhwJg= Received: (qmail 1562 invoked by alias); 4 Feb 2018 13:04:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1548 invoked by uid 89); 4 Feb 2018 13:04:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY autolearn=ham version=3.3.2 spammy=H*MI:lyon X-HELO: mail2-relais-roc.national.inria.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Fix build Date: Sun, 4 Feb 2018 14:03:56 +0100 Message-Id: <20180204130356.62252-1-samuel.thibault@ens-lyon.org> * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do not check against PTHREAD_STACK_MIN. --- ChangeLog | 5 +++++ stdlib/test-atexit-race-common.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index add5128cb7..b8184b658d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2018-02-04 Samuel Thibault + + * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do + not check against PTHREAD_STACK_MIN. + 2018-02-02 Sean McKean [BZ #22735] diff --git a/stdlib/test-atexit-race-common.c b/stdlib/test-atexit-race-common.c index 8adf1330bf..63bde390b4 100644 --- a/stdlib/test-atexit-race-common.c +++ b/stdlib/test-atexit-race-common.c @@ -39,7 +39,10 @@ const size_t kNumThreads = 1024; const size_t kNumHandlers = 1024; const size_t kStacksize = - 0x20000 < PTHREAD_STACK_MIN ? PTHREAD_STACK_MIN : 0x20000; +#ifdef PTHREAD_STACK_MIN + 0x20000 < PTHREAD_STACK_MIN ? PTHREAD_STACK_MIN : +#endif + 0x20000; static void * threadfunc (void *unused)