X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; q=dns; s=default; b=yn4xR5/9lLD8OHvjz4Z6WQK4DEgZpI O4JbnBpf6SiFvoRg54CabJ1PoL+fxUTvnuKSWZHQW6iyNT8PLJtiF952drdbimvY xywSbz30/lvO5+tuaLS1oG6YNIJZsUOS8ck2mgXz8LB06Wm8zmVO/MqN5+Ep3/yq jn74GiaafA32Q= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=default; bh=GE45E9EpKmy3vUTK4smgfNp4qNY=; b=dXxM j1zESXGHHBV1PjAz8HA2dvazuBjZTDkY7kmbCwdAQVdI++62NotlSSJIQ+mHlF+O f8pGx/N6Oci8XT6nnmuBBZOHh6prT1lnL322ZC3rq7m9aEeYYpK0XwaxCOStI0v2 7oT/9Lf08RXBFH41L/dbai5FtrGQS8MMabK+m3Q= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*r:Unknown X-HELO: blaine.gmane.org To: cygwin AT cygwin DOT com From: Ross Smith Subject: Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test) Date: Mon, 7 May 2018 11:54:56 +1200 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 In-Reply-To: X-IsSubscribed: yes On 2018-05-05 22:00, JonY wrote: > > gcc-7.3.0-2 has been uploaded for Cygwin. This version is for testing. > > Java support has been removed from upstream GCC, GCJ is no longer available. > > Changes since -1: > * Enabled libstdc++ filesystem feature as requested by Nuno Lopes. I've updated gcc-core, gcc-g++, and libstdc++ to 7.3.0-2, but the filesystem library still doesn't seem to be working: #include #include using namespace std::experimental; int main() { filesystem::path p("expfs.cpp"); std::cout << p.string() << " " << filesystem::exists(p) << "\n"; } $ g++ -std=c++1z expfs.cpp -o expfs /tmp/ccV1QAAo.o:expfs.cpp:(.text$_ZNSt12experimental10filesystem2v16existsERKNS1_4pathE[_ZNSt12experimental10filesystem2v16existsERKNS1_4pathE]+0x11): undefined reference to `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::path const&)' /tmp/ccV1QAAo.o:expfs.cpp:(.text$_ZNSt12experimental10filesystem2v16existsERKNS1_4pathE[_ZNSt12experimental10filesystem2v16existsERKNS1_4pathE]+0x11): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::experimental::filesystem::v1::status(std::experimental::filesystem::v1::path const&)' /tmp/ccV1QAAo.o:expfs.cpp:(.text$_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_[_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_]+0x5d): undefined reference to `std::experimental::filesystem::v1::path::_M_split_cmpts()' /tmp/ccV1QAAo.o:expfs.cpp:(.text$_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_[_ZNSt12experimental10filesystem2v14pathC1IA10_cS2_EERKT_]+0x5d): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `std::experimental::filesystem::v1::path::_M_split_cmpts()' collect2: error: ld returned 1 exit status Ross Smith -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple