From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75020 invoked by alias); 13 Jun 2017 20:21:28 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 74833 invoked by uid 89); 13 Jun 2017 20:21:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-qt0-f170.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=lMtvCnWzjni2/hlf489vnXY9dnK7bfZ12PQcLroPAUs=; b=Oc7IZv0bpZQzHa9tiVApmfXCzhXG/Ce8x0bJQsWwZnWPaN/YaI7MZFvVPfxTUokr+Z iBYvan4tDmHawXZxVDGLNF8+OfZgo/XoVK8DmdD9mZmxXjHspRNupsO7rdoHHAhndIM/ 656qkvpMKESPTJf5gD0Sa/QJsAIPd2GjgU3e4svhv+zRb9Qnt2hgbK3do47I/8ydPY4H kFKkspug7MYNC5rUTQihck4yfrX6ER+jAF/u5Y7ZPUZccDvqZ669dNNyYvq86lvRMhS0 HtwHkjwuf41JpxQ31b8U+VLM+XQ0d/X8ftNGhDull/ZTaBDzF1LGIlBsb6QciDu5px+I Q2LQ== X-Gm-Message-State: AKS2vOyjCh3sEiUF7Qnm1Q2IoXhu5pb6D7Tu2aNlOlqkZ7FTpq/Ftg0r 5x0fFD28qvqyJqLhuJJFUwxwqtx6lg== X-Received: by 10.200.9.59 with SMTP id t56mr2454048qth.107.1497385289155; Tue, 13 Jun 2017 13:21:29 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <230d2cab-8085-bb7e-68cc-38de409397a7@redhat.com> References: <20170613113813.GA7656@gmail.com> <230d2cab-8085-bb7e-68cc-38de409397a7@redhat.com> From: "H.J. Lu" Date: Tue, 13 Jun 2017 20:21:00 -0000 Message-ID: Subject: Re: [PATCH] Make copy of from GCC 7 [BZ #21573] To: Florian Weimer Cc: Andreas Schwab , GNU C Library Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-06/txt/msg00576.txt.bz2 On Tue, Jun 13, 2017 at 1:13 PM, Florian Weimer wrote: > On 06/13/2017 01:54 PM, H.J. Lu wrote: >> - echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "/$1:/{s/:\$//;p}" >> + echo "#include <$1>" | $CXX -M -MP -x c++ - | sed -n "\,$1:,{s/:\$//;p}" >> } >> CXX_CSTDLIB_HEADER="$(find_cxx_header cstdlib)" >> + # Also make a copy of from GCC 7 to prevent it from >> + # including /usr/include/stdlib.h. >> + CXX_CSTDLIB_HEADER="$CXX_CSTDLIB_HEADER $(find_cxx_header bits/std_abs.h)" > > I think the attached patch is needed to suppress the error message if > the header does not exist. (Regenerated configure file not shown in the > patch.) > LGTM. Thanks. -- H.J.