public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/66744] New: Bootstrap failure due to conflicting access() on i686-w64-mingw32
@ 2015-07-02 20:29 MatthewS.Grochowalski at ge dot com
2015-07-02 21:22 ` [Bug bootstrap/66744] [6 Regression] " pinskia at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: MatthewS.Grochowalski at ge dot com @ 2015-07-02 20:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744
Bug ID: 66744
Summary: Bootstrap failure due to conflicting access() on
i686-w64-mingw32
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: MatthewS.Grochowalski at ge dot com
Target Milestone: ---
Attempting to build trunk r225313 with --enable-languages=c,c++,ada
--enable-checking=release --disable-nls --disable-werror --disable-multilib
--build=i686-w64-mingw32 --host=i686-w64-mingw32
--with-gmp=/c/toolchain/prereqs --with-mpc=/c/toolchain/prereqs
--with-mpfr=/c/toolchain/prereqs --prefix=/c/toolchain/gcc-mingw
--target=i686-w64-mingw32 --disable-win32-registry --disable-shared
--with-sysroot=/c/toolchain/gcc-mingw --enable-version-specific-runtime-libs
Using gcc version 4.9.2 (i686-win32-dwarf-rev2, Built by MinGW-W64 project)
Stage1 fails with the following:
../../gcc/gcc/tree-sra.c:875:46: error: macro "access" requires 2 arguments,
but only 1 given
struct access *access = new struct access ();
^
../../gcc/gcc/tree-sra.c:2410:46: error: macro "access" requires 2 arguments,
but only 1 given
struct access *access = new struct access ();
^
Makefile:1071: recipe for target `tree-sra.o' failed
make[3]: *** [tree-sra.o] Error 1
It's conflicting with access macro definition in the mingw32-w64 C io.h header:
#ifdef __USE_MINGW_ACCESS
/* Old versions of MSVCRT access() just ignored X_OK, while the version
shipped with Vista, returns an error code. This will restore the
old behaviour */
static inline int __mingw_access (const char *__fname, int __mode) {
return _access (__fname, __mode & ~X_OK);
}
#define access(__f,__m) __mingw_access (__f, __m)
#endif
This appears to have been introduced by r223956.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/66744] [6 Regression] Bootstrap failure due to conflicting access() on i686-w64-mingw32
2015-07-02 20:29 [Bug bootstrap/66744] New: Bootstrap failure due to conflicting access() on i686-w64-mingw32 MatthewS.Grochowalski at ge dot com
@ 2015-07-02 21:22 ` pinskia at gcc dot gnu.org
2015-07-06 20:30 ` MatthewS.Grochowalski at ge dot com
2015-07-08 12:26 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2015-07-02 21:22 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |6.0
Summary|Bootstrap failure due to |[6 Regression] Bootstrap
|conflicting access() on |failure due to conflicting
|i686-w64-mingw32 |access() on
| |i686-w64-mingw32
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is most likely introduced by the change to C++11 by default.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/66744] [6 Regression] Bootstrap failure due to conflicting access() on i686-w64-mingw32
2015-07-02 20:29 [Bug bootstrap/66744] New: Bootstrap failure due to conflicting access() on i686-w64-mingw32 MatthewS.Grochowalski at ge dot com
2015-07-02 21:22 ` [Bug bootstrap/66744] [6 Regression] " pinskia at gcc dot gnu.org
@ 2015-07-06 20:30 ` MatthewS.Grochowalski at ge dot com
2015-07-08 12:26 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: MatthewS.Grochowalski at ge dot com @ 2015-07-06 20:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744
--- Comment #3 from Matt Grochowalski <MatthewS.Grochowalski at ge dot com> ---
The bootstrap succeeds after applying the patch.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug bootstrap/66744] [6 Regression] Bootstrap failure due to conflicting access() on i686-w64-mingw32
2015-07-02 20:29 [Bug bootstrap/66744] New: Bootstrap failure due to conflicting access() on i686-w64-mingw32 MatthewS.Grochowalski at ge dot com
2015-07-02 21:22 ` [Bug bootstrap/66744] [6 Regression] " pinskia at gcc dot gnu.org
2015-07-06 20:30 ` MatthewS.Grochowalski at ge dot com
@ 2015-07-08 12:26 ` marxin at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: marxin at gcc dot gnu.org @ 2015-07-08 12:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744
--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
Author: marxin
Date: Wed Jul 8 12:25:40 2015
New Revision: 225547
URL: https://gcc.gnu.org/viewcvs?rev=225547&root=gcc&view=rev
Log:
Fix PR bootstrap/66744.
PR bootstrap/66744
* tree-sra.c (create_access_1): Call ctor without brackets.
(create_artificial_child_access): Likewise.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-sra.c
>From gcc-bugs-return-491759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 08 12:27:11 2015
Return-Path: <gcc-bugs-return-491759-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 43589 invoked by alias); 8 Jul 2015 12:27:10 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 43546 invoked by uid 48); 8 Jul 2015 12:27:07 -0000
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66744] [6 Regression] Bootstrap failure due to conflicting access() on i686-w64-mingw32
Date: Wed, 08 Jul 2015 12:27:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: marxin at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Resolution: FIXED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution
Message-ID: <bug-66744-4-TRsorDcGtt@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66744-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66744-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00649.txt.bz2
Content-length: 438
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66744
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed in 6.
>From gcc-bugs-return-491760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Wed Jul 08 12:35:07 2015
Return-Path: <gcc-bugs-return-491760-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 59762 invoked by alias); 8 Jul 2015 12:35:07 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 59450 invoked by uid 48); 8 Jul 2015 12:35:00 -0000
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/66801] [6 Regression] gcc miscompiled during PGO/LTO bootstrap
Date: Wed, 08 Jul 2015 12:35:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: bootstrap
X-Bugzilla-Version: 6.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rguenth at gcc dot gnu.org
X-Bugzilla-Status: ASSIGNED
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: rguenth at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 6.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-66801-4-7MMFLeez7p@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-66801-4@http.gcc.gnu.org/bugzilla/>
References: <bug-66801-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-07/txt/msg00650.txt.bz2
Content-length: 278
https://gcc.gnu.org/bugzilla/show_bug.cgi?idf801
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
Oh, and FDO also effectively enables most -O3 optimizations of course. After
reproducing FDO/LTO I'll try FDO only and bootstrap-O3 ... fingers crossing ;)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-08 12:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-02 20:29 [Bug bootstrap/66744] New: Bootstrap failure due to conflicting access() on i686-w64-mingw32 MatthewS.Grochowalski at ge dot com
2015-07-02 21:22 ` [Bug bootstrap/66744] [6 Regression] " pinskia at gcc dot gnu.org
2015-07-06 20:30 ` MatthewS.Grochowalski at ge dot com
2015-07-08 12:26 ` marxin 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).