public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags
@ 2021-05-06 20:04 daniel.f.starke at freenet dot de
  2021-05-07  7:15 ` [Bug target/100460] [11/12 Regression][modules] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: daniel.f.starke at freenet dot de @ 2021-05-06 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 100460
           Summary: [11/12 Regression] mingw build broken due to use of
                    unsupported open() flags
           Product: gcc
           Version: 11.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: daniel.f.starke at freenet dot de
  Target Milestone: ---

GCC 11.1.0 fails to build with C++ under MinGW due to unsupported open() flags
S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH in function
finish_module_processing() within gcc/cp/module.cc.
I suggest to remove these flags.
MinGW will not fix this due to unforseen side effects:
https://sourceforge.net/p/mingw/mailman/mingw-users/thread/znzrt579.fsf@wanadoo.es/

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

* [Bug target/100460] [11/12 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
@ 2021-05-07  7:15 ` rguenth at gcc dot gnu.org
  2021-07-28  7:06 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-05-07  7:15 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[11/12 Regression] mingw    |[11/12 Regression][modules]
                   |build broken due to use of  |mingw build broken due to
                   |unsupported open() flags    |use of unsupported open()
                   |                            |flags
                 CC|                            |nathan at gcc dot gnu.org
   Target Milestone|---                         |11.2

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

* [Bug target/100460] [11/12 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
  2021-05-07  7:15 ` [Bug target/100460] [11/12 Regression][modules] " rguenth at gcc dot gnu.org
@ 2021-07-28  7:06 ` rguenth at gcc dot gnu.org
  2022-04-21  7:49 ` rguenth at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-28  7:06 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.2                        |11.3

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.2 is being released, retargeting bugs to GCC 11.3

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

* [Bug target/100460] [11/12 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
  2021-05-07  7:15 ` [Bug target/100460] [11/12 Regression][modules] " rguenth at gcc dot gnu.org
  2021-07-28  7:06 ` rguenth at gcc dot gnu.org
@ 2022-04-21  7:49 ` rguenth at gcc dot gnu.org
  2022-07-26 13:37 ` [Bug c++/100460] [11/12/13 " rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-04-21  7:49 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.3                        |11.4

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 11.3 is being released, retargeting bugs to GCC 11.4.

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

* [Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
                   ` (2 preceding siblings ...)
  2022-04-21  7:49 ` rguenth at gcc dot gnu.org
@ 2022-07-26 13:37 ` rguenth at gcc dot gnu.org
  2022-07-26 14:25 ` schwab@linux-m68k.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-07-26 13:37 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
           Keywords|                            |build
     Ever confirmed|0                           |1
   Last reconfirmed|                            |2022-07-26
                 CC|                            |jason at gcc dot gnu.org
          Component|target                      |c++
             Status|UNCONFIRMED                 |NEW

--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think the "proper" fix is probably to use 2 argument open() here?  Not sure
what's the intent of the explicit permission bits.

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

* [Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
                   ` (3 preceding siblings ...)
  2022-07-26 13:37 ` [Bug c++/100460] [11/12/13 " rguenth at gcc dot gnu.org
@ 2022-07-26 14:25 ` schwab@linux-m68k.org
  2022-12-07 17:29 ` pinskia at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: schwab@linux-m68k.org @ 2022-07-26 14:25 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Andreas Schwab <schwab@linux-m68k.org> ---
They are needed for O_CREAT.

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

* [Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
                   ` (4 preceding siblings ...)
  2022-07-26 14:25 ` schwab@linux-m68k.org
@ 2022-12-07 17:29 ` pinskia at gcc dot gnu.org
  2022-12-07 17:36 ` pinskia at gcc dot gnu.org
  2023-05-29 10:04 ` [Bug c++/100460] [11/12/13/14 " jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 17:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://osdn.net/projects/mingw/lists/archive/notify/2020-January/000438.html

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

* [Bug c++/100460] [11/12/13 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
                   ` (5 preceding siblings ...)
  2022-12-07 17:29 ` pinskia at gcc dot gnu.org
@ 2022-12-07 17:36 ` pinskia at gcc dot gnu.org
  2023-05-29 10:04 ` [Bug c++/100460] [11/12/13/14 " jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-07 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The way libgfortran fixed this two ways.
First way is to use umask (disabled for mingw though). Second way is doing
#ifndef/#define 0

See:
r6-2699-g18a2180daa88bc
r0-63059-g41724e6a1387d9

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

* [Bug c++/100460] [11/12/13/14 Regression][modules] mingw build broken due to use of unsupported open() flags
  2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
                   ` (6 preceding siblings ...)
  2022-12-07 17:36 ` pinskia at gcc dot gnu.org
@ 2023-05-29 10:04 ` jakub at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2023-05-29 10:04 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|11.4                        |11.5

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 11.4 is being released, retargeting bugs to GCC 11.5.

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

end of thread, other threads:[~2023-05-29 10:04 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06 20:04 [Bug target/100460] New: [11/12 Regression] mingw build broken due to use of unsupported open() flags daniel.f.starke at freenet dot de
2021-05-07  7:15 ` [Bug target/100460] [11/12 Regression][modules] " rguenth at gcc dot gnu.org
2021-07-28  7:06 ` rguenth at gcc dot gnu.org
2022-04-21  7:49 ` rguenth at gcc dot gnu.org
2022-07-26 13:37 ` [Bug c++/100460] [11/12/13 " rguenth at gcc dot gnu.org
2022-07-26 14:25 ` schwab@linux-m68k.org
2022-12-07 17:29 ` pinskia at gcc dot gnu.org
2022-12-07 17:36 ` pinskia at gcc dot gnu.org
2023-05-29 10:04 ` [Bug c++/100460] [11/12/13/14 " jakub 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).