[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-07-13 Thread g...@denis-excoffier.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #50 from Denis Excoffier --- gcc-4.9.1-RC-20140710 bootstraps perfectly. Thank you.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-05-02 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #49 from Bernd Edlinger --- (In reply to Fanael from comment #48) > Is revision 209946 an attempt to fix this? Yes. It is supposed to fix the cygwin-32 build with --disable-sjlj-exceptions

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-05-02 Thread fanael4 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #48 from Fanael --- Is revision 209946 an attempt to fix this?

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-30 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Kai Tietz changed: What|Removed |Added CC||fanael4 at gmail dot com --- Comment #47 from

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-27 Thread mikpelinux at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #46 from Mikael Pettersson --- Using a binutils with the proposed patch for binutils' PR 16858 I can now bootstrap gcc-4.8.2 with --disable-sjlj-exceptions on Cygwin.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-22 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #45 from Denis Excoffier --- (In reply to Denis Excoffier from comment #44) > shouldn't it be possible to make it available to 4.9.0, instead of 4.9.1? No because 4.9.0 is out.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-22 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #44 from Denis Excoffier --- (In reply to Kai Tietz from comment #42) > Second variant of the patch looks ok to me, if bootstrap works for 32-bit > and 64-bit cygwin. Post patch to ML for gcc trunk, and if no further issues > are prese

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-22 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #43 from Bernd Edlinger --- (In reply to Kai Tietz from comment #42) > Second variant of the patch looks ok to me, if bootstrap works for 32-bit > and 64-bit cygwin. > Post patch to ML for gcc trunk, and if no further issues are presen

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-22 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #42 from Kai Tietz --- Second variant of the patch looks ok to me, if bootstrap works for 32-bit and 64-bit cygwin. Post patch to ML for gcc trunk, and if no further issues are present we can merge patch to 4.9.1

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #41 from Bernd Edlinger --- (In reply to Kai Tietz from comment #39) > Well, the patch might work-a-round issue. Nevertheless it just paperbags > the real issue existing in binutils. > Additionally the patch would break x64 > version

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #40 from Bernd Edlinger --- Created attachment 32652 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32652&action=edit another possible workaround This is what I am bootstrapping right now. Looks good so far, it just reached stage

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #39 from Kai Tietz --- Well, the patch might work-a-round issue. Nevertheless it just paperbags the real issue existing in binutils. Additionally the patch would break x64 version of cygwin. At least that was the reason why we introd

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #38 from Denis Excoffier --- (In reply to Bernd Edlinger from comment #37) > Regarding your patch: I've tested it and it works (as far as i can tell): the bootstrap has gone until the end (installation in ${prefix}). objdump -d crtbeg

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
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

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #36 from Denis Excoffier --- (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 --disa

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #35 from Bernd Edlinger --- would not using --disable-sjlj-excaptions cause any problems, maybe a unwanted ABI-Change?

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #34 from Denis Excoffier --- The patch under attachment 32651 seems to make bootstrapping behave better, at least for i686.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #33 from Denis Excoffier --- Created attachment 32651 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32651&action=edit bootstrap works at least under i686

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #32 from Bernd Edlinger --- OK, opened a binutils-bug at: https://sourceware.org/bugzilla/show_bug.cgi?id=16858

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #31 from Kai Tietz --- (In reply to Bernd Edlinger from comment #30) > It looks like a bug in the assembler! > > with objdump -d -r crtbegin.o we have wrong code: > > f3: 83 ec 04sub$0x4,%esp > f6: 85 c0

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-21 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #30 from Bernd Edlinger --- It looks like a bug in the assembler! with objdump -d -r crtbegin.o we have wrong code: f3: 83 ec 04sub$0x4,%esp f6: 85 c0 test %eax,%eax f8: ba f0 ff ff

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-20 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #29 from Bernd Edlinger --- Hmm, that is really strange. the crash happens in __gcc_deregister_frame. just break at this function and step. The first call is GetModuleHandle (LIBGCC_SONAME) which returns NULL, so the weak default __de

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-18 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #27 from Bernd Edlinger --- (In reply to Denis Excoffier from comment #26) > After more investigation, it seems that the culprit can be > --disable-sjlj-exceptions. Since the beginning (last Sunday), each time i > use it on the command

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-18 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #26 from Denis Excoffier --- After more investigation, it seems that the culprit can be --disable-sjlj-exceptions. Since the beginning (last Sunday), each time i use it on the command line, the build fails and each time i don't use it,

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-16 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Kai Tietz changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-16 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Denis Excoffier changed: What|Removed |Added CC||mikpelinux at gmail dot com --- Comment

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread bernd.edlinger at hotmail dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- Co

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #22 from Kai Tietz --- (In reply to Denis Excoffier from comment #21) > (In reply to Kai Tietz from comment #17) > > Just as side-note, I tried to reproduce your reported issue and did a > > personal build of cygwin's gcc. It worked f

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #21 from Denis Excoffier --- (In reply to Kai Tietz from comment #17) > Just as side-note, I tried to reproduce your reported issue and did a > personal build of cygwin's gcc. It worked fine in stage2. I couldn't > reproduce the repo

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #20 from Denis Excoffier --- (In reply to Kai Tietz from comment #12) > In general it would be of interest > to learn what destructors (by whom) are present in the list called by > do_global_dtors (&__DTOR_LIST__) I've rebuilt everyth

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #19 from Denis Excoffier --- Created attachment 32602 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32602&action=edit discover __DTOR_LIST__

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #18 from Kai Tietz --- Another side-note. You should specify option '--disable-multilib'. this is pretty essential as cygwin doesn't support it right now.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #17 from Kai Tietz --- Just as side-note, I tried to reproduce your reported issue and did a personal build of cygwin's gcc. It worked fine in stage2. I couldn't reproduce the reported ICE on stage2. Which brings me to the question

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Richard Biener changed: What|Removed |Added CC||cgf at gcc dot gnu.org,

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #15 from Kai Tietz --- (In reply to Denis Excoffier from comment #14) > I'm now using plain cygwin-1.7.29-2, the cygwin1.dbg now matches with > cygwin1.dll. I've alto tried to recompile without -O2. I'm not so familiar > with gdb, i've

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #14 from Denis Excoffier --- I'm now using plain cygwin-1.7.29-2, the cygwin1.dbg now matches with cygwin1.dll. I've alto tried to recompile without -O2. I'm not so familiar with gdb, i've produced a session where i break at __call_exi

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-15 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #13 from Denis Excoffier --- Created attachment 32600 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32600&action=edit gdb session stepping until the end

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #12 from Kai Tietz --- (In reply to Denis Excoffier from comment #10) > Created attachment 32595 [details] > gdb session catching signal SIGABRT Some comments here: - it might be helpful to install proper debug-information (cygwin1.db

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread ktietz at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #11 from Kai Tietz --- (In reply to Denis Excoffier from comment #10) > Created attachment 32595 [details] > gdb session catching signal SIGABRT Thanks for the debug-log. Could you please attach the backtrace starting from the fancy_

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #10 from Denis Excoffier --- Created attachment 32595 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32595&action=edit gdb session catching signal SIGABRT

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #9 from Denis Excoffier --- (In reply to Jakub Jelinek from comment #8) > I guess for start, it would be nice to see backtrace from the debugger about > where the segfault and/or abort happened. See attachment 3.

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8 f

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #7 from Denis Excoffier --- Here are the config.log found at top level and the config.log at i686-pc-cygwin/libgcc level (see attachments). What do you need more specifically? I have to say that i use gmp-6.0.0a, mpfr-3.1.2 (without

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #6 from Denis Excoffier --- Created attachment 32592 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32592&action=edit i686-pc-cygwin/libgcc/config.log

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread g...@denis-excoffier.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #5 from Denis Excoffier --- Created attachment 32591 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32591&action=edit top level config.log

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 --- Comment #4 from Richard Biener --- Btw, the usual suspicious one is gmp which in older versions used to abort () on "impossible" CPU kinds in its CPU detection code (at least trips on qemu default configs for example)

[Bug bootstrap/60830] [4.9 Regression] ICE on bootstrapping on cygwin

2014-04-14 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60830 Richard Biener changed: What|Removed |Added Keywords||build Priority|P3