From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24597 invoked by alias); 21 Apr 2014 17:18:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 24116 invoked by uid 48); 21 Apr 2014 17:18:51 -0000 From: "bernd.edlinger at hotmail dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin Date: Mon, 21 Apr 2014 17:18: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: 4.9.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: bernd.edlinger at hotmail dot de X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 4.9.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: 2014-04/txt/msg01440.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #37 from Bernd Edlinger --- (In reply to Denis Excoffier from comment #36) > (In reply to Bernd Edlinger from comment #35) >> would not using --disable-sjlj-excaptions cause any problems, >> maybe a unwanted ABI-Change? > I don't know really. Cygwin people usually build gcc using > --disable-sjlj-exceptions and the /usr/bin/cyggcc_s-1.dll is never very far. > Without --disable-sjlj-exceptions, you get a > ${prefix}/bin/cyggcc_s-sjlj-1.dll, and i believe that cyggcc_s-1.dll and > cyggcc_s-sjlj-1.dll are not supposed to live together very well. That sounds in deed like a problem. Regarding your patch: I believe the reason for the gas-bug is that more than one weak default definitions in one .o file and calling them from ths same compilation unit caused the bug. Maybe it would work, if you move all (maybe but one) default definitions from cygming-crtbegin.c to cygming-crtend.c, leaving just the forward declarations.