public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64)
@ 2021-11-26 20:03 unlvsur at live dot com
  2021-11-26 21:10 ` [Bug libstdc++/103445] " redi at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2021-11-26 20:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

            Bug ID: 103445
           Summary: build failure for old versions of mingw32 (not
                    mingw-w64)
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

Created attachment 51885
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51885&action=edit
error message

i tried to use an dev c++ 4.9.9.2's mingw crt to build gcc, we have some
filesystem build failures

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
@ 2021-11-26 21:10 ` redi at gcc dot gnu.org
  2021-11-26 21:13 ` unlvsur at live dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-11-26 21:10 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
How old is that? We generally only support building with recent versions that
are still supported by mingw.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
  2021-11-26 21:10 ` [Bug libstdc++/103445] " redi at gcc dot gnu.org
@ 2021-11-26 21:13 ` unlvsur at live dot com
  2021-11-26 21:17 ` unlvsur at live dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2021-11-26 21:13 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

--- Comment #2 from cqwrteur <unlvsur at live dot com> ---
(In reply to Jonathan Wakely from comment #1)
> How old is that? We generally only support building with recent versions
> that are still supported by MinGW.

dev C++'s mingw.

that is mingw-w64. not mingw.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
  2021-11-26 21:10 ` [Bug libstdc++/103445] " redi at gcc dot gnu.org
  2021-11-26 21:13 ` unlvsur at live dot com
@ 2021-11-26 21:17 ` unlvsur at live dot com
  2021-11-26 21:45 ` redi at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2021-11-26 21:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

--- Comment #3 from cqwrteur <unlvsur at live dot com> ---
(In reply to cqwrteur from comment #2)
> (In reply to Jonathan Wakely from comment #1)
> > How old is that? We generally only support building with recent versions
> > that are still supported by MinGW.
> 
> dev C++'s mingw.
> 
> that is mingw-w64. not mingw.

because gcc does not seem to be able to cross-compile correctly on old
versions' windows.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
                   ` (2 preceding siblings ...)
  2021-11-26 21:17 ` unlvsur at live dot com
@ 2021-11-26 21:45 ` redi at gcc dot gnu.org
  2021-11-27  8:14 ` unlvsur at live dot com
  2022-12-26 10:01 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2021-11-26 21:45 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Sorry, I don't understand anything above. I don't care whether you're using
mingw or mingw-w64, what I asked is how old it is. Libstdc++ expects a recent
version, and I'm not surprised if it doesn't work with older versions. It's
just not worth the effort to support very old version.

Maybe we can add some more configure checks for _wstat64 and ftruncate64 and
skip all the filesystem code if building against an old CRT.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
                   ` (3 preceding siblings ...)
  2021-11-26 21:45 ` redi at gcc dot gnu.org
@ 2021-11-27  8:14 ` unlvsur at live dot com
  2022-12-26 10:01 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: unlvsur at live dot com @ 2021-11-27  8:14 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

--- Comment #5 from cqwrteur <unlvsur at live dot com> ---
(In reply to Jonathan Wakely from comment #4)
> Sorry, I don't understand anything above. I don't care whether you're using
> mingw or mingw-w64, what I asked is how old it is. Libstdc++ expects a
> recent version, and I'm not surprised if it doesn't work with older
> versions. It's just not worth the effort to support very old version.
> 
> Maybe we can add some more configure checks for _wstat64 and ftruncate64 and
> skip all the filesystem code if building against an old CRT.

I do not know how old it is. it comes from dev c++ 4.9.9.2 (dev c++ is a dead
project) which uses gcc 3.4.2.

The issue I encountered is that mingw-w64 does not run properly sometimes for
certain reasons on old version of windows.

"Maybe we can add some more configure checks for _wstat64 and ftruncate64 and
skip all the filesystem code if building against an old CRT."
Yeah. Sounds good. But I think support that version of crt from dev c++ has
more issues than just this.

I think just better just add a configure to skip filesystem code manually. That
would trivialize a lot of things, rather than wasting time supporting old
versions of crt.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)
  2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
                   ` (4 preceding siblings ...)
  2021-11-27  8:14 ` unlvsur at live dot com
@ 2022-12-26 10:01 ` redi at gcc dot gnu.org
  5 siblings, 0 replies; 7+ messages in thread
From: redi at gcc dot gnu.org @ 2022-12-26 10:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Just don't use old junk, or stick to older versions of gcc.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-26 10:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-26 20:03 [Bug libstdc++/103445] New: build failure for old versions of mingw32 (not mingw-w64) unlvsur at live dot com
2021-11-26 21:10 ` [Bug libstdc++/103445] " redi at gcc dot gnu.org
2021-11-26 21:13 ` unlvsur at live dot com
2021-11-26 21:17 ` unlvsur at live dot com
2021-11-26 21:45 ` redi at gcc dot gnu.org
2021-11-27  8:14 ` unlvsur at live dot com
2022-12-26 10:01 ` redi at gcc dot gnu.org

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).