From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38715 invoked by alias); 11 Sep 2017 15:53:55 -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 38693 invoked by uid 89); 11 Sep 2017 15:53:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-io0-f175.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=abWPSewtcgMGTnjwPTwanTUKFXlWZnR8FAS98BEO5qA=; b=HbRUArOJ0aGDuACFq+g3MsysRT7+RXS1LnxZycU8/eCJKjA8SWLPpSFj/fuGvWqR7F zDfqo7TmsjYTNEPZ7Gbc8jot16kJHUkNRQnZIVfaY2WAZ5XCwpUtxLKTkL1hwn9g0/IM af2tawKI13Ne/Wehw61OZ1yawVi0KEHi0m6hvnOKOjjlMtvxRlPVb9UPUnXKE+7oq3ol UIF5AyCLeaH3GSvKUNr+pkz+Qx7V8PG4FlPH/fJPLOF2G/OfOgRRsjfsqe3WF62gXoQw bvcIs6kxFVNumw/jqzkkhw5um0WpAWF0ffkLrhwCNB0VI/nE/9xQ4ZmX8SUoL5aMvDyW 44cA== X-Gm-Message-State: AHPjjUj1DoQN5iLyJHTdJVOh1SE/iu0PCTULZkKGTKAV+4ZJZCgv3PH1 9RAHs9nBQukFaB5C22fhWvVLQDYvgw== X-Google-Smtp-Source: AOwi7QCnMt/goluv9n++JZ8jk6KlqIhqXSJmwPJW6s3wWx+7CwdU11wMb/aHycImIIPg6dTOClVdpGj4j0a37yCndg4= X-Received: by 10.202.237.150 with SMTP id l144mr12091631oih.88.1505145231510; Mon, 11 Sep 2017 08:53:51 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <20170613113813.GA7656@gmail.com> <230d2cab-8085-bb7e-68cc-38de409397a7@redhat.com> From: "H.J. Lu" Date: Mon, 11 Sep 2017 15:53:00 -0000 Message-ID: Subject: Re: [PATCH] Make copy of from GCC 7 [BZ #21573] To: Florian Weimer , Libc-stable Mailing List Cc: Andreas Schwab , GNU C Library Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2017-09/txt/msg00450.txt.bz2 On Thu, Sep 7, 2017 at 10:26 AM, H.J. Lu wrote: > On Tue, Jun 13, 2017 at 1:21 PM, H.J. Lu wrote: >> 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. >> > > Here is a patch to backport these 2 patches to 2.25 branch. Any > comments? > I am checking it into 2.25 branch. -- H.J.