From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1118 invoked by alias); 15 Jun 2013 08:45:02 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 1095 invoked by uid 89); 15 Jun 2013 08:45:01 -0000 X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_CX,TW_DC,TW_JL autolearn=ham version=3.3.1 Received: from mail-bk0-f51.google.com (HELO mail-bk0-f51.google.com) (209.85.214.51) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 15 Jun 2013 08:45:00 +0000 Received: by mail-bk0-f51.google.com with SMTP id ji1so569729bkc.38 for ; Sat, 15 Jun 2013 01:44:58 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.205.13.194 with SMTP id pn2mr855964bkb.76.1371285898582; Sat, 15 Jun 2013 01:44:58 -0700 (PDT) Received: by 10.204.188.208 with HTTP; Sat, 15 Jun 2013 01:44:58 -0700 (PDT) In-Reply-To: References: Date: Sat, 15 Jun 2013 08:45:00 -0000 Message-ID: Subject: Re: GCC 4.8.1 building fails From: Ignas To: Jonathan Wakely Cc: gcc-help Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-06/txt/msg00109.txt.bz2 I uninstalled MinGW and installed it again with all the latest stuff. I tried to compile gcc 2 more times, without any luck. I defined constants with paths to MinGW's include and lib folder, I tried to use configure closely resembling the one used to compile gcc what came with MinGW: configure --disable-sjlj-exceptions --enable-shared --enable-libgomp --disable-win32-registry --enable-lib-stdcxx-debug --enable-version-specific-runtime-libs --build=mingw32 --prefix=/mingw It always fails when it gets to a part of making things inside a build folder, previously it was [objdir]/i686-pc-mingw32, this time it was [objdir]/mingw32. Second time, I've tried to compile with binutils source inside [srcdir]. Based on all that, I conclude, that it is a bug with gcc in area related to Windows, MinGW, or compiling itself. As I've said in my first email, gcc configures and makes all libraries(gmp, mpfr, mpc, etc.) successfully, I've checked [objdir]/[library name], they have .a, .o, etc. sometimes .exe and .dll files, indicating what my MinGW installation is working fine, I'm pretty sure it would have never compiled all that successfully if it was broken. I've also checked [objdir]/gcc , it was also compiled successfully. Problem always starts somewhere when it tries to make the [objdir]/[build folder], it appears to me, that at this point, gcc is using its own compiled binaries to compile further, and that's when it crashes.