* [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