--- Comment #32 from rguenth at gcc dot gnu dot org 2009-09-10 08:52
---
Subject: Bug 41254
Author: rguenth
Date: Thu Sep 10 08:52:36 2009
New Revision: 151590
URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=151590
Log:
2009-09-10 Richard Guenther rguent...@suse.de
PR
--- Comment #33 from rguenth at gcc dot gnu dot org 2009-09-10 09:24
---
Fixed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #31 from t7 at gmail dot com 2009-09-09 09:08 ---
Sorry about the delayed testing.
With the same gcc revision (without patch applied) and with
-Wl,--stack=0x2000 as suggested by Danny.
cc1plus.exe still crashed while running the following command.
g++ -c -include
--- Comment #12 from rguenth at gcc dot gnu dot org 2009-09-06 10:13
---
Created an attachment (id=18516)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18516action=view)
patch
here it is
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #13 from t7 at gmail dot com 2009-09-06 12:55 ---
(In reply to comment #12)
Created an attachment (id=18516)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18516action=view) [edit]
patch
here it is
Confirm fixed.
--
--- Comment #14 from t7 at gmail dot com 2009-09-06 13:57 ---
(In reply to comment #12)
Created an attachment (id=18516)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18516action=view) [edit]
patch
here it is
For some reason this leads to :
Problem signature:
Problem
--- Comment #16 from rguenth at gcc dot gnu dot org 2009-09-06 14:07
---
Try building without the patch but with unlimited stack (ulimit -s unlimited)
and see if the same error appears.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #15 from t7 at gmail dot com 2009-09-06 13:59 ---
(gdb) print $pc
$1 = (void (*)()) 0x80e132 QString::at(int) const+26
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #17 from rguenth at gcc dot gnu dot org 2009-09-06 16:51
---
The patch bootstrapped and tested ok but I'm holding off until you confirm it's
not the reason for the issue you see.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #18 from t7 at gmail dot com 2009-09-06 21:59 ---
(In reply to comment #17)
The patch bootstrapped and tested ok but I'm holding off until you confirm
it's
not the reason for the issue you see.
I can confirm, that indeed patch fixed this bug.
Yes patch bootstrapped
--- Comment #19 from rguenther at suse dot de 2009-09-06 22:02 ---
Subject: Re: [4.5 Regression] crashed compile Qt4 gui
library
On Sun, 6 Sep 2009, t7 at gmail dot com wrote:
--- Comment #18 from t7 at gmail dot com 2009-09-06 21:59 ---
(In reply to comment #17)
--- Comment #20 from t7 at gmail dot com 2009-09-06 22:14 ---
(In reply to comment #16)
Try building without the patch but with unlimited stack (ulimit -s unlimited)
and see if the same error appears.
Actually can't try this because I'm using the native compiler to build
--- Comment #21 from rguenth at gcc dot gnu dot org 2009-09-06 22:19
---
Yes, that could be the reason. Can you test the same revision without the
patch again?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #22 from t7 at gmail dot com 2009-09-06 22:20 ---
(In reply to comment #16)
Try building without the patch but with unlimited stack (ulimit -s unlimited)
and see if the same error appears.
You mean cross compile the native compiler from linux by setting the shell
--- Comment #23 from t7 at gmail dot com 2009-09-06 22:21 ---
(In reply to comment #16)
Try building without the patch but with unlimited stack (ulimit -s unlimited)
and see if the same error appears.
This is under MSys/Mingw shell
$ ulimit -s unlimited
sh: ulimit: stack size:
--- Comment #24 from rguenther at suse dot de 2009-09-06 22:22 ---
Subject: Re: [4.5 Regression] crashed compile Qt4 gui
library
On Sun, 6 Sep 2009, t7 at gmail dot com wrote:
--- Comment #22 from t7 at gmail dot com 2009-09-06 22:20 ---
(In reply to comment
--- Comment #25 from t7 at gmail dot com 2009-09-06 22:27 ---
(In reply to comment #21)
Yes, that could be the reason. Can you test the same revision without the
patch again?
Ok there maybe a reason for qmake.exe crash, during the process, I changed the
O flag for building the
--- Comment #26 from t7 at gmail dot com 2009-09-06 22:30 ---
(In reply to comment #24)
Just the same way as you reported the bug (I understand that this
was a native compiler issue?). There surely must be a way to increase
the maximum stack size with windows?
Yes this was
--- Comment #27 from t7 at gmail dot com 2009-09-06 22:41 ---
Ok I just found out that it is the -O and up causing the problem, I just
changed script back to -O0 and it compiles and runs fine, right now up to
corelib.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #28 from t7 at gmail dot com 2009-09-06 22:43 ---
Thank you for the help, this bug can be close.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #29 from t7 at gmail dot com 2009-09-06 22:55 ---
Confirmed that qt4 library build was complete with -O0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #30 from dannysmith at users dot sourceforge dot net
2009-09-07 04:01 ---
(In reply to comment #24)
Subject: Re: [4.5 Regression] crashed compile Qt4 gui
library
On Sun, 6 Sep 2009, t7 at gmail dot com wrote:
--- Comment #22 from t7 at gmail dot
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Component|c++ |middle-end
--- Comment #8 from rguenth at gcc dot gnu dot org 2009-09-05 21:10 ---
Created an attachment (id=18515)
-- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18515action=view)
testcase
Recursion depth of 1200 with the following simple testcase (well, more - it
segfaults with 1mb stack).
--- Comment #9 from rguenth at gcc dot gnu dot org 2009-09-05 21:12 ---
The original testcase works fine with unlimited stack.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
--- Comment #10 from rguenth at gcc dot gnu dot org 2009-09-05 22:29
---
I have a patch.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #11 from t7 at gmail dot com 2009-09-06 00:03 ---
I can test the patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41254
27 matches
Mail list logo