From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10477 invoked by alias); 26 Jun 2009 13:19:22 -0000 Received: (qmail 10459 invoked by uid 22791); 26 Jun 2009 13:19:21 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fg-out-1718.google.com (HELO fg-out-1718.google.com) (72.14.220.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 26 Jun 2009 13:19:12 +0000 Received: by fg-out-1718.google.com with SMTP id l27so41712fgb.5 for ; Fri, 26 Jun 2009 06:19:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.86.51.10 with SMTP id y10mr3725429fgy.51.1246022349666; Fri, 26 Jun 2009 06:19:09 -0700 (PDT) In-Reply-To: <4A44C865.1040800@mqe.biglobe.ne.jp> References: <4A44A724.6040804@alice.it> <4A44B1F3.3010300@gmail.com> <4A44B3F7.4090401@alice.it> <4A44C865.1040800@mqe.biglobe.ne.jp> Date: Fri, 26 Jun 2009 13:52:00 -0000 Message-ID: <90baa01f0906260619w6f6548eam2487b809028dd02e@mail.gmail.com> Subject: Re: Failure building current 4.5 snapshot on Cygwin From: Kai Tietz To: Seiji Kachi Cc: Angelo Graziosi , Dave Korn , Fortran , GCC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00600.txt.bz2 2009/6/26 Seiji Kachi : > Angelo Graziosi wrote: >> >> Dave Korn ha scritto: >>> >>> Angelo Graziosi wrote: >>>> >>>> I want to flag the following failure I have seen on Cygwin 1.5 trying = to >>>> build current 4.5-20090625 gcc snapshot: >>> >>> =A0So what's in config.log? =A0And what binutils are you using? >> >> The config logs are attached, while binutils is the current in Cygwin-1.= 5, >> i.e. 20080624-2. >> >> >> Cheers, >> Angelo. > > I have also seen similar faulure, and the reason on my environment is as > follows. > > (1) In my case, gcc build complete successfully. =A0But a.exe which is > compiled from the new compiler fails. Error message is > > $ ./a.exe > bash: ./a.exe: Permission denied > > Source code of a.exe is quite simple: > main() > { > =A0printf("Hello\n"); > } > > (2) This failuer occurres from gcc trunk r148408. =A0r148407 is OK. > > (3) r148408 removed "#ifdef DEBUG_PUBTYPES_SECTION". =A0r148407 does not > generate debug_pubtypes section, but r148408 and later version generates > =A0debug_pubtypes section in object when we set debug option. > > (4) gcc build sequence usually uses debug option. > > (5) My cygwin environment seems not to accept debug_pubtypes section, and > pop up "Permission denied" error. > > When I reverted "#ifdef DEBUG_PUBTYPES_SECTION" in dearf2out.c, the failu= er > disappeared. > > Does this failure occurr only on cygwin? > > Regards, > Seiji Kachi > No, this bug appeared on all windows pe-coff targets. A fix for this is already checked in yesterday on binutils. Could you try it with the current binutils head version? Cheers, Kai --=20 | (\_/) This is Bunny. Copy and paste | (=3D'.'=3D) Bunny into your signature to help | (")_(") him gain world domination