From: Ross Smith <ross.smith@otoy.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test)
Date: Sun, 06 May 2018 23:54:00 -0000 [thread overview]
Message-ID: <dfad2e11-8902-c770-3d97-6d26c1d2ff6c@otoy.com> (raw)
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
WARNING: multiple messages have this Message-ID
From: Ross Smith <ross.smith@otoy.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: gcc-7.3.0-2 (x86/x86_64)(Test)
Date: Mon, 07 May 2018 07:27:00 -0000 [thread overview]
Message-ID: <dfad2e11-8902-c770-3d97-6d26c1d2ff6c@otoy.com> (raw)
Message-ID: <20180507072700.yb5N6nmHN8xgXU8CWEoTKyzjtKE1rcSNPHa61CRM2EA@z> (raw)
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
next prev parent reply other threads:[~2018-05-06 23:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-06 5:07 JonY
2018-05-06 23:54 ` Ross Smith [this message]
2018-05-07 7:27 ` Ross Smith
2018-05-07 13:02 ` JonY
2018-05-22 20:21 ` Marco Atzeri
2018-05-23 1:02 ` JonY
2018-05-23 19:21 ` Ken Brown
2018-05-25 11:31 ` JonY
2018-05-25 13:16 ` arrl via cygwin
2018-05-25 14:01 ` Marco Atzeri
2018-05-25 14:15 ` arrl via cygwin
2018-05-25 14:35 ` Marco Atzeri
2018-05-26 17:05 ` arrl via cygwin
2018-05-27 8:04 ` Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dfad2e11-8902-c770-3d97-6d26c1d2ff6c@otoy.com \
--to=ross.smith@otoy.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).