delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/05/06/19:55:10

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=yDfYJa6lZNwnfOCl
1YyPdFbjne8wt69ISL5WO7HF2fYazQQIfuBQJjKEEttQ9x7ydQA6ygpy8qQviv38
qrxa28hsT33VKRCPDBBfmiElMa32pGB4noTOZQsziBLwmEqg392m+mkdYOnxc4+B
6vmTYZIuJQbWMmi8MTrS/yrffB4=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=5g/Z/D7YnGNrvrb58MX52M
+aNVc=; b=GxBAhsjeUhBVL1Q21HMreOkz7R1cFCD1sLLIhdG7Ioz/p/RvJHg2ha
hGlJSx9v7FM/HerBDfmwW5r7yeelU/gMLN4vBPld2nuNd7/BeNS7OE5Hgs+QkqCW
coGCNUHU9f8Edc0Ebbl738Qkr4PMT2ToAa3DPi4iuaV3zqRGKt0R8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.0 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*r:sk:i29-v6s, java, Java, jony
X-HELO: mail-pg0-f45.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:newsgroups:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=35KGbPZLJ0Z3JJGbazwVO0c4/LDVg83rVYeTuZHvIIQ=; b=AJAOeI3LwCIRw1XZIDlVmV5vQIxLESa0vjWAqolXAWzUXElvMtKOIPp3nwFmE9TYOA 2yKMOLVFtWNGDMVfAdfSuToUSILA8AfKjHYaEoA1edYDHaaQEbwjWf76Rag+e4Qg1DhP VouIEf4nAL5FccAgOiZXQDyPls8iPBlu9owi694QHQ9RCrqaNdOnOH8O/EQpSZisHIjU UGMkOC9CaZ/7POzRD4c+umzE+FEiAX8AQpW0Ux4d3Qo1lodrn/t8AGgUKgt62MWqmgkS Jqs7M3UGKHcO7qo8kNCmE8h40CGh7YzKCnY2A4tYn4BvMr+Yei/RDv86PnNslWFtD3xC ivtQ==
X-Gm-Message-State: ALQs6tCH6rdgwRnjp47svF9xCB0nlLA6feQV0UrDf7bspTjueUljTg0t 0HjLYoNZLiN9U/r2sc90cGvnVNw=
X-Google-Smtp-Source: AB8JxZrD+GLkdZ0b1gScLjAfJ3XfjDaPxrmgtpS86DME80Q0k2OZu1z54+XDoyQ3aIHPhaT3BveXAQ==
X-Received: by 10.98.56.137 with SMTP id f131mr15573598pfa.173.1525650896256; Sun, 06 May 2018 16:54:56 -0700 (PDT)
Subject: Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test)
To: cygwin AT cygwin DOT com
Newsgroups: gmane.os.cygwin
References: <announce DOT 8503f29c-39b9-b7f0-e0fc-592b05154f35 AT gmail DOT com>
From: Ross Smith <ross DOT smith AT otoy DOT com>
Message-ID: <dfad2e11-8902-c770-3d97-6d26c1d2ff6c@otoy.com>
Date: Mon, 7 May 2018 11:54:56 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <announce.8503f29c-39b9-b7f0-e0fc-592b05154f35@gmail.com>

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 <experimental/filesystem>
#include <iostream>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019