public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
@ 2009-09-01 11:21 drangon dot mail at gmail dot com
2009-09-01 11:22 ` [Bug c/41211] " drangon dot mail at gmail dot com
` (9 more replies)
0 siblings, 10 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-01 11:21 UTC (permalink / raw)
To: gcc-bugs
I built an x86_64-w64-mingw32 cross compiler under x86_64 linux using latest
gcc SVN code,
then use this cross compiler to build sqlite3
The compile failed with the following message :
E:\code\sqlite3_sep>make
gcc -pipe -Wall -g -O2 -save-temps -c -o alter.o alter.c
gcc: warning: -pipe ignored because -save-temps specified
alter.c: In function 'sqlite3AlterFinishAddColumn':
alter.c:465:6: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [alter.o] Error 1
--
Summary: internal compiler error when using x86_64-w64-mingw32-
gcc to build sqlite3 alter.c
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: drangon dot mail at gmail dot com
GCC build triplet: x86_64-gnu-linux
GCC host triplet: x86_64-gnu-linux
GCC target triplet: x86_64-w64-mingw32
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
@ 2009-09-01 11:22 ` drangon dot mail at gmail dot com
2009-09-01 11:25 ` drangon dot mail at gmail dot com
` (8 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-01 11:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from drangon dot mail at gmail dot com 2009-09-01 11:22 -------
Created an attachment (id=18460)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18460&action=view)
gzip of alter.i, -save-temps output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
2009-09-01 11:22 ` [Bug c/41211] " drangon dot mail at gmail dot com
@ 2009-09-01 11:25 ` drangon dot mail at gmail dot com
2009-09-01 11:42 ` drangon dot mail at gmail dot com
` (7 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-01 11:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from drangon dot mail at gmail dot com 2009-09-01 11:25 -------
Created an attachment (id=18461)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18461&action=view)
alter.s, -save-temps output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug c/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
2009-09-01 11:22 ` [Bug c/41211] " drangon dot mail at gmail dot com
2009-09-01 11:25 ` drangon dot mail at gmail dot com
@ 2009-09-01 11:42 ` drangon dot mail at gmail dot com
2009-09-01 17:53 ` [Bug target/41211] " ubizjak at gmail dot com
` (6 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-01 11:42 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from drangon dot mail at gmail dot com 2009-09-01 11:42 -------
-O0 doesn't has problem, -O1 -O2 has problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (2 preceding siblings ...)
2009-09-01 11:42 ` drangon dot mail at gmail dot com
@ 2009-09-01 17:53 ` ubizjak at gmail dot com
2009-09-01 18:59 ` ktietz at gcc dot gnu dot org
` (5 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ubizjak at gmail dot com @ 2009-09-01 17:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from ubizjak at gmail dot com 2009-09-01 17:53 -------
Works for me with a crosscompiler from linux to mingw:
Target: x86_64-pc-mingw32
Configured with: ../gcc-svn/trunk/configure --target=x86_64-pc-mingw32
Thread model: win32
gcc version 4.5.0 20090901 (experimental) [trunk revision 151274] (GCC)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (3 preceding siblings ...)
2009-09-01 17:53 ` [Bug target/41211] " ubizjak at gmail dot com
@ 2009-09-01 18:59 ` ktietz at gcc dot gnu dot org
2009-09-02 6:54 ` drangon dot mail at gmail dot com
` (4 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-09-01 18:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from ktietz at gcc dot gnu dot org 2009-09-01 18:59 -------
(In reply to comment #4)
> Works for me with a crosscompiler from linux to mingw:
>
> Target: x86_64-pc-mingw32
> Configured with: ../gcc-svn/trunk/configure --target=x86_64-pc-mingw32
> Thread model: win32
> gcc version 4.5.0 20090901 (experimental) [trunk revision 151274] (GCC)
>
Works for me too. Maybe a duplicate of PR/41184
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (4 preceding siblings ...)
2009-09-01 18:59 ` ktietz at gcc dot gnu dot org
@ 2009-09-02 6:54 ` drangon dot mail at gmail dot com
2009-09-02 13:48 ` drangon dot mail at gmail dot com
` (3 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-02 6:54 UTC (permalink / raw)
To: gcc-bugs
------- Comment #6 from drangon dot mail at gmail dot com 2009-09-02 06:54 -------
The cross compiler doesn't has problem, but the native compiler has problem.
I will rebuilt the whole cross compiler and native compiler with the newest
source to see the problem still exist or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (5 preceding siblings ...)
2009-09-02 6:54 ` drangon dot mail at gmail dot com
@ 2009-09-02 13:48 ` drangon dot mail at gmail dot com
2009-09-03 20:25 ` xenofears at gmail dot com
` (2 subsequent siblings)
9 siblings, 0 replies; 11+ messages in thread
From: drangon dot mail at gmail dot com @ 2009-09-02 13:48 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from drangon dot mail at gmail dot com 2009-09-02 13:48 -------
I recompile the whole toolchain using today's newest code, the same result,
cross compiler runs fine, native compiler runs crash.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (6 preceding siblings ...)
2009-09-02 13:48 ` drangon dot mail at gmail dot com
@ 2009-09-03 20:25 ` xenofears at gmail dot com
2009-09-19 14:32 ` ktietz at gcc dot gnu dot org
2009-09-27 9:59 ` ktietz at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: xenofears at gmail dot com @ 2009-09-03 20:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from xenofears at gmail dot com 2009-09-03 20:25 -------
(In reply to comment #5)
> (In reply to comment #4)
> > Works for me with a crosscompiler from linux to mingw:
> >
> > Target: x86_64-pc-mingw32
> > Configured with: ../gcc-svn/trunk/configure --target=x86_64-pc-mingw32
> > Thread model: win32
> > gcc version 4.5.0 20090901 (experimental) [trunk revision 151274] (GCC)
> >
> Works for me too. Maybe a duplicate of PR/41184
\It should be x86_64-w64-mingw32. I have been building cross-compilers both
4.5.0 and 4.4.1/2 in Linux just fine including only a few days ago. Try
disabling optimization.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (7 preceding siblings ...)
2009-09-03 20:25 ` xenofears at gmail dot com
@ 2009-09-19 14:32 ` ktietz at gcc dot gnu dot org
2009-09-27 9:59 ` ktietz at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-09-19 14:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from ktietz at gcc dot gnu dot org 2009-09-19 14:32 -------
(In reply to comment #7)
> I recompile the whole toolchain using today's newest code, the same result,
> cross compiler runs fine, native compiler runs crash.
>
I retested your example with current trunk as native compiler, and I had no ICE
on compile. I've used current runtime headers, binutils, and trunk version of
gcc with the patch for xmm register restore pending at the moment on gcc's ML.
The libaries gmp and mpfr I build in tree of gcc's source root.
Sorry, I can't reproduce this ICE.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/41211] internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
` (8 preceding siblings ...)
2009-09-19 14:32 ` ktietz at gcc dot gnu dot org
@ 2009-09-27 9:59 ` ktietz at gcc dot gnu dot org
9 siblings, 0 replies; 11+ messages in thread
From: ktietz at gcc dot gnu dot org @ 2009-09-27 9:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from ktietz at gcc dot gnu dot org 2009-09-27 09:59 -------
Closed this bug. As it is solved. At least provide testcase doesn't ice with
native gcc for w64 anymore.
--
ktietz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41211
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2009-09-27 9:59 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-01 11:21 [Bug c/41211] New: internal compiler error when using x86_64-w64-mingw32-gcc to build sqlite3 alter.c drangon dot mail at gmail dot com
2009-09-01 11:22 ` [Bug c/41211] " drangon dot mail at gmail dot com
2009-09-01 11:25 ` drangon dot mail at gmail dot com
2009-09-01 11:42 ` drangon dot mail at gmail dot com
2009-09-01 17:53 ` [Bug target/41211] " ubizjak at gmail dot com
2009-09-01 18:59 ` ktietz at gcc dot gnu dot org
2009-09-02 6:54 ` drangon dot mail at gmail dot com
2009-09-02 13:48 ` drangon dot mail at gmail dot com
2009-09-03 20:25 ` xenofears at gmail dot com
2009-09-19 14:32 ` ktietz at gcc dot gnu dot org
2009-09-27 9:59 ` ktietz at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).