public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "markus.boeck02 at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/97729] [11 Regression] Link failure due to basic_stringbuf and others when building DLL on MinGW Date: Thu, 05 Nov 2020 14:20:17 +0000 [thread overview] Message-ID: <bug-97729-4-gNZOfYp9VW@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-97729-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97729 --- Comment #4 from Markus Böck <markus.boeck02 at gmail dot com> --- Indeed that sounds like it might be the issue. I am currently on a very recent version of binutils: $ ./x86_64-w64-mingw32-ld --version GNU ld (GNU Binutils) 2.35.50.20200709 Copyright (C) 2020 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) a later version. This program has absolutely no warranty. Changing the lines you posted above yields me a compiler error now: libtool: compile: /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/./gcc/xgcc -shared-libgcc -B/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/./gcc -nostdinc++ -L/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/src -L/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -L/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/lib -L/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/mingw/lib -isystem /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/include -isystem /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/mingw/include -B/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/bin/ -B/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/lib/ -isystem /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/include -isystem /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/x86_64-w64-mingw32/sys-include -I/mnt/c/GCC-Build-Array/gcc/libstdc++-v3/../libgcc -I/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include -I/mnt/c/GCC-Build-Array/gcc/libstdc++-v3/libsupc++ -I/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/install/include -std=gnu++11 -D_GLIBCXX_SHARED -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2 -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -frandom-seed=future.lo -Wno-error=format-extra-args -Wno-error=format -g1 -fdebug-prefix-map=/mnt/c=C: -c ../../../../../libstdc++-v3/src/c++11/future.cc -o future.o In file included from ../../../../../libstdc++-v3/src/c++11/future.cc:29: /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/future: In member function 'std::__future_base::_Result<_Res>& std::__basic_future<_Res>::_M_get_result() const': /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/future:712:30: error: ambiguous overload for 'operator==' (operand types are 'std::__exception_ptr::exception_ptr' and 'int') 712 | if (!(__res._M_error == 0)) | ~~~~~~~~~~~~~~ ^~ ~ | | | | | int | std::__exception_ptr::exception_ptr /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/future:712:30: note: candidate: 'operator==(std::__exception_ptr::exception_ptr::__safe_bool {aka void (std::__exception_ptr::exception_ptr::*)()}, std::__exception_ptr::exception_ptr::__safe_bool {aka void (std::__exception_ptr::exception_ptr::*)()})' (built-in) 712 | if (!(__res._M_error == 0)) | ~~~~~~~~~~~~~~~^~~~ In file included from /mnt/c/GCC-Build-Array/gcc/libstdc++-v3/libsupc++/exception:147, from /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/mutex:40, from /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/future:38, from ../../../../../libstdc++-v3/src/c++11/future.cc:29: /mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/include/bits/exception_ptr.h:223:5: note: candidate: 'bool std::__exception_ptr::operator==(const std::__exception_ptr::exception_ptr&, const std::__exception_ptr::exception_ptr&)' 223 | operator==(const exception_ptr&, const exception_ptr&) | ^~~~~~~~ Makefile:644: recipe for target 'future.lo' failed make[5]: Leaving directory '/mnt/c/GCC-Build-Array/gcc/build-host-x86_64/x86_64-w64-mingw32/libstdc++-v3/src/c++11'
next prev parent reply other threads:[~2020-11-05 14:20 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-05 12:51 [Bug libstdc++/97729] New: " markus.boeck02 at gmail dot com 2020-11-05 13:48 ` [Bug libstdc++/97729] " redi at gcc dot gnu.org 2020-11-05 13:49 ` [Bug libstdc++/97729] [11 Regression] " redi at gcc dot gnu.org 2020-11-05 14:00 ` markus.boeck02 at gmail dot com 2020-11-05 14:05 ` redi at gcc dot gnu.org 2020-11-05 14:20 ` markus.boeck02 at gmail dot com [this message] 2020-11-05 14:37 ` redi at gcc dot gnu.org 2020-11-05 18:01 ` cvs-commit at gcc dot gnu.org 2020-11-05 18:01 ` cvs-commit at gcc dot gnu.org 2020-11-05 18:05 ` redi at gcc dot gnu.org 2020-11-05 18:05 ` redi at gcc dot gnu.org 2020-11-05 19:22 ` markus.boeck02 at gmail dot com 2020-11-05 19:32 ` redi at gcc dot gnu.org 2020-11-09 14:29 ` cvs-commit at gcc dot gnu.org
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=bug-97729-4-gNZOfYp9VW@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /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: linkBe 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).