From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56465 invoked by alias); 6 May 2018 23:55:03 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 56386 invoked by uid 89); 6 May 2018 23:55:02 -0000 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 Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 06 May 2018 23:55:00 +0000 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fFTSQ-0003N4-4x for cygwin@cygwin.com; Mon, 07 May 2018 01:52:46 +0200 To: cygwin@cygwin.com From: Ross Smith Subject: Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test) Date: Mon, 07 May 2018 07:27:00 -0000 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 X-SW-Source: 2018-05/txt/msg00105.txt.bz2 Message-ID: <20180507072700.yb5N6nmHN8xgXU8CWEoTKyzjtKE1rcSNPHa61CRM2EA@z> 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