From patchwork Sat Jan 27 18:56:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 866757 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-89704-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="jt9lnmkm"; 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 3zTQ481fSxz9s7n for ; Sun, 28 Jan 2018 05:56:55 +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=XPiCuZtaP0XWwWiqpw+2/4sspha02HviiFQY1QKT20g3Zj24sVddX vzO813LGTw4Ka/nRHFGo7CEoYOQh0Ht4fAYqoLRFbTCRBgwjnwnG14EYGOYqg7CW 82aVcGEZU7cvQ2P/5jBYLsQYDaOCR07dksQb6PQYwWQ9W3wG+VlmvQ= 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=R304/vqpMUCBDjOTHflofH6xybg=; b=jt9lnmkmMtg3jNMLqHiLxDGzfQlo S+5WQI3EeqJYDNpQAjKdlsXAc8faq9/9d696IW1zBDaXDmAgHZ3ps5pgKI4nNVkX SmJ+Wp88cktz0spcdHbABHPDROYjCzpAjZdeirDWy+3CqK5KqDy5vJTgW8BIMA/T 9swmBX9Yehu1sAw= Received: (qmail 8444 invoked by alias); 27 Jan 2018 18:56:49 -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 8432 invoked by uid 89); 27 Jan 2018 18:56:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=libcilkrts, Hurd X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: fix gcc build in build-many-glibcs.py Date: Sat, 27 Jan 2018 19:56:43 +0100 Message-Id: <20180127185643.6837-1-samuel.thibault@ens-lyon.org> gcc's libcilkrts has never actually supported GNU/Hurd, and doesn't automatically disable it, and the support was actually removed in gcc trunk, so that will never actually be fixed there. * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass --disable-libcilkrts to gcc configure. --- ChangeLog | 2 ++ scripts/build-many-glibcs.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index 497b00f65a..88f6d93c12 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,8 @@ instead of void *. * sysdeps/pthread/timer_create.c (timer_create): Do not use timer_ptr2id to cast struct timer_node * to void *. + * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass + --disable-libcilkrts to gcc configure. 2018-01-27 James Clarke diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py index 8a2e068577..fbb701e25d 100755 --- a/scripts/build-many-glibcs.py +++ b/scripts/build-many-glibcs.py @@ -1329,6 +1329,8 @@ class Config(object): tool_build = 'gcc' cfg_opts += ['--enable-languages=c,c++', '--enable-shared', '--enable-threads'] + if self.os == 'gnu': + cfg_opts += ['--disable-libcilkrts'] self.build_cross_tool(cmdlist, 'gcc', tool_build, cfg_opts)