public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW @ 2012-01-19 8:55 burnus at gcc dot gnu.org 2012-01-19 9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: burnus at gcc dot gnu.org @ 2012-01-19 8:55 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 Bug #: 51899 Summary: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW Classification: Unclassified Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned@gcc.gnu.org ReportedBy: burnus@gcc.gnu.org libgfortran fails to build on MinGW with the following error. It's a regression caused by the fix for PR 36755 / Rev. 183137. .deps/chmod.Tpo -c ../../../gcc-trunk/libgfortran/intrinsics/chmod.c -DDLL_EXPORT -DPIC -o .libs/chmod.o ../../../gcc-trunk/libgfortran/intrinsics/chmod.c: In function 'chmod_func': ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:92:7: warning: format '%o' expects argument of type 'unsigned int *', but argument 3 has type 'mode_t *' [-Wformat] ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:106:3: warning: implicit declaration of function 'umask' [-Wimplicit-f unction-declaration] ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:294:18: error: 'S_IRGRP' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:294:18: note: each undeclared identifier is reported only once for eac h function it appears in ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:296:18: error: 'S_IROTH' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:305:18: error: 'S_IWGRP' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:307:18: error: 'S_IWOTH' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:316:18: error: 'S_IXGRP' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:318:18: error: 'S_IXOTH' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:330:18: error: 'S_ISUID' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:332:18: error: 'S_ISGID' undeclared (first use in this function) ../../../gcc-trunk/libgfortran/intrinsics/chmod.c:420:17: error: 'S_ISVTX' undeclared (first use in this function) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug fortran/51899] [4.7 Regression] libgfortran's chmod.c fails to build on MinGW 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org @ 2012-01-19 9:35 ` burnus at gcc dot gnu.org 2012-01-19 13:18 ` [Bug libfortran/51899] " rguenth at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: burnus at gcc dot gnu.org @ 2012-01-19 9:35 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2012-01-19 AssignedTo|unassigned at gcc dot |burnus at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.7.0 Ever Confirmed|0 |1 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/51899] [4.7 Regression] libgfortran's chmod.c fails to build on MinGW 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org 2012-01-19 9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org @ 2012-01-19 13:18 ` rguenth at gcc dot gnu.org 2012-01-19 13:44 ` burnus at gcc dot gnu.org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-01-19 13:18 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|fortran |libfortran --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-01-19 13:04:08 UTC --- Which target exactly? ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/51899] [4.7 Regression] libgfortran's chmod.c fails to build on MinGW 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org 2012-01-19 9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org 2012-01-19 13:18 ` [Bug libfortran/51899] " rguenth at gcc dot gnu.org @ 2012-01-19 13:44 ` burnus at gcc dot gnu.org 2012-01-20 12:33 ` burnus at gcc dot gnu.org 2012-01-20 12:33 ` burnus at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: burnus at gcc dot gnu.org @ 2012-01-19 13:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 --- Comment #2 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-19 13:32:06 UTC --- Created attachment 26378 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26378 Draft patch, tested on x86-64-linux but not (yet) on MinGW (In reply to comment #1) > Which target exactly? I don't know (it was reported to me by email). I think mingw-w64. However, I expect it to fail with both the 32bit and 64bit version of MinGW and it should work with Cygwin. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/51899] [4.7 Regression] libgfortran's chmod.c fails to build on MinGW 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org ` (2 preceding siblings ...) 2012-01-19 13:44 ` burnus at gcc dot gnu.org @ 2012-01-20 12:33 ` burnus at gcc dot gnu.org 2012-01-20 12:33 ` burnus at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: burnus at gcc dot gnu.org @ 2012-01-20 12:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 --- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-20 11:32:55 UTC --- Author: burnus Date: Fri Jan 20 11:32:52 2012 New Revision: 183335 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183335 Log: 2012-01-20 Tobias Burnus <burnus@net-b.de> PR libgfortran/51899 * configure.ac: Check whether umask is available. * intrinsics/chmod.c (chmod_func): Make compile with MinGW. * configure: Regenerate. * config.h.in: Regenerate. Modified: trunk/libgfortran/ChangeLog trunk/libgfortran/config.h.in trunk/libgfortran/configure trunk/libgfortran/configure.ac trunk/libgfortran/intrinsics/chmod.c ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug libfortran/51899] [4.7 Regression] libgfortran's chmod.c fails to build on MinGW 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org ` (3 preceding siblings ...) 2012-01-20 12:33 ` burnus at gcc dot gnu.org @ 2012-01-20 12:33 ` burnus at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: burnus at gcc dot gnu.org @ 2012-01-20 12:33 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51899 Tobias Burnus <burnus at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-01-20 11:36:56 UTC --- FIXED on the trunk (4.7). ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-01-20 11:37 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2012-01-19 8:55 [Bug fortran/51899] New: [4.7 Regression] libgfortran's chmod.c fails to build on MinGW burnus at gcc dot gnu.org 2012-01-19 9:35 ` [Bug fortran/51899] " burnus at gcc dot gnu.org 2012-01-19 13:18 ` [Bug libfortran/51899] " rguenth at gcc dot gnu.org 2012-01-19 13:44 ` burnus at gcc dot gnu.org 2012-01-20 12:33 ` burnus at gcc dot gnu.org 2012-01-20 12:33 ` burnus 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).