From patchwork Fri Sep 1 11:17:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 137382 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c792:0:b0:3f2:4152:657d with SMTP id b18csp814195vqu; Fri, 1 Sep 2023 04:19:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHW82KWHq4bVm1Kufe/ufZzsTWH5UWltPw3vtq7g5hQns4nGbX6eiZv2/ADt2msOBFih4tz X-Received: by 2002:a17:907:6e20:b0:9a1:e5bf:c907 with SMTP id sd32-20020a1709076e2000b009a1e5bfc907mr6083012ejc.2.1693567179429; Fri, 01 Sep 2023 04:19:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693567179; cv=none; d=google.com; s=arc-20160816; b=vfvjeuddbilc6kPOcT2JVJ+lzl6wFxSEDQzNpb8/gC4XYpD6MtfqndsMvbHoETi0W3 T0diNKWvo2URd58VJ4PvQAvcY18YK46OhQzdJIHTcIHGHJk8l0tL3/KMfIUk7Wui36r1 MzJAg3IFUILn0oV62891ZZrFhVpconNezAwGC7tQ4uJ7q+xnGoCV17PB96g2Vy770nd4 R0lmRi+sjDPYh9hGGRSK3RNpcfiVplVOcuK+QpLSElgFLDbUjbDhariY6iRxXMq8+AvD /QWbO7ivcXT0Qh6A8k8W5x1wcQdQlmrzMvgfM0A3cdlsiY7B5Cb6uInIke7+EShs9Aro TrPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:message-id:date:subject:to :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=tyZA3c0Ih+y+XGvx2u4zL7dM/RV4uJpTy/kvHX9QLNY=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=0MecpIhrlTDQfvCt/nMxK1rM7ahN2vla60eqNnq36A7e5nsM91SzXkNh5PEdu3rZns 1d3HDJghI7zHU2H5A0ZBZgrzb2KEhKdlE4Ym4G45enZ7ME5wjIknd0vaDDuzUdmbhUtB 0ucpvBkUhz6y64eaeZOU7I5Egrt8ClE7vugM5w7x3NwwRcqfc6Wpen7KnkI2knda7YQa S4gJJ+5LBu6F3JMrAl6a/x7SnyLwMi8vHSMMU7tfL/eur3qhOwaWB8eJeeFDquSXnZ/y 2zihzT8Mk0dKojKEtK5Xthm3svirkB1HGCGXALx/bGXZ0UKCepIeR4JaAJ024iyYtw5h sndQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fFYipUGT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id o22-20020a1709061b1600b009a18e844288si2288636ejg.735.2023.09.01.04.19.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Sep 2023 04:19:39 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=fFYipUGT; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9788D3830B42 for ; Fri, 1 Sep 2023 11:18:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9788D3830B42 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1693567093; bh=tyZA3c0Ih+y+XGvx2u4zL7dM/RV4uJpTy/kvHX9QLNY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=fFYipUGT0BeG46CvZEBeqqT67Z3h5hiBE5k4BmlLy3D4k/7OO6/M59+nv/n6IyOL6 qd/UE6wk94cJylq9JuGR5jGExf1ADzRXZPP2AgnXWeslH77FtwNTps7UC9F9806Hgl w5LEGmVT7md9U/h/BcejiQvmdOJnJtBYMIiLdsg8= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id E62923857BB3 for ; Fri, 1 Sep 2023 11:17:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E62923857BB3 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-486-ZpJF27waMlmfp6evHtrZfA-1; Fri, 01 Sep 2023 07:17:23 -0400 X-MC-Unique: ZpJF27waMlmfp6evHtrZfA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2EA611817904; Fri, 1 Sep 2023 11:17:23 +0000 (UTC) Received: from localhost (unknown [10.42.28.181]) by smtp.corp.redhat.com (Postfix) with ESMTP id E8F1C40C84A5; Fri, 1 Sep 2023 11:17:22 +0000 (UTC) To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Use dg-require-filesystem-ts in link test Date: Fri, 1 Sep 2023 12:17:14 +0100 Message-ID: <20230901111722.229474-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, URI_HEX autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Jonathan Wakely via Gcc-patches From: Jonathan Wakely Reply-To: Jonathan Wakely Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775833898996694107 X-GMAIL-MSGID: 1775833898996694107 Tested x86_64-linux. Pushed to trunk. -- >8 -- This test expects to be able to link, which fails if there are undefined references to chdir, mkdir etc. in fs_ops.o in the libstdc++.a archive. libstdc++-v3/ChangeLog: * testsuite/27_io/filesystem/path/108636.cc: Add dg-require for filesystem support. --- libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc index d58de461090..73742df93b0 100644 --- a/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc +++ b/libstdc++-v3/testsuite/27_io/filesystem/path/108636.cc @@ -1,5 +1,6 @@ // { dg-do link { target c++17 } } // { dg-options "-fkeep-inline-functions" } +// { dg-require-filesystem-ts "" } #include int main()