public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21153] New: gcc segfaults compiling qemu
@ 2005-04-21 15:45 developer at isl-gbr dot de
  2005-04-21 15:46 ` [Bug c++/21153] " developer at isl-gbr dot de
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: developer at isl-gbr dot de @ 2005-04-21 15:45 UTC (permalink / raw)
  To: gcc-bugs

System is uniarch x86_64(AMD64), built from scratch.

gcc -v
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --host=x86_64-pc-linux-gnu
--build=x86_64-pc-linux-gnu --prefix=/usr --libexecdir=/usr/lib --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,objc,f77,java : (reconfigured) ../gcc-3.4.3/configure
--host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr
--libexecdir=/usr/lib --enable-shared --enable-threads=posix
--enable-__cxa_atexit --enable-clocale=gnu
--enable-languages=c,c++,objc,f77,java --disable-multilib
Thread model: posix
gcc version 3.4.3

happened with my previous systems too (not sure anymore but i think it was
gcc3.3.3 and 3.4.1)

Happens with default qemu default optimization :
-Wall -O2 -g -fno-strict-aliasing

when setting to -O0 it compiles, but doesnt work (segfaults during runtime)

the error during compilation is:

target-i386/op.c
In file included from
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c:22:
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/exec.h: In function
`helper_fldt':
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/exec.h:475: warning:
cast to pointer from integer of different size
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/exec.h: In function
`helper_fstt':
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/exec.h:480: warning:
cast to pointer from integer of different size
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c: In function
`op_goto_tb0':
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c:1277: warning:
cast to pointer from integer of different size
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c: In function
`op_goto_tb1':
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c:1282: warning:
cast to pointer from integer of different size
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c: In function
`op_divw_AX_T0':
/usr/src/emulator/qemu-snapshot-2005-04-18_23/target-i386/op.c:374: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [op.o] Error 1
make[1]: Leaving directory `/usr/src/emulator/qemu-snapshot-2005-04-18_23/i386-user'
make: *** [all] Error 1

-- 
           Summary: gcc segfaults compiling qemu
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: developer at isl-gbr dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: x86_64-pc-linux-gnu
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21153


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/21153] gcc segfaults compiling qemu
  2005-04-21 15:45 [Bug c++/21153] New: gcc segfaults compiling qemu developer at isl-gbr dot de
@ 2005-04-21 15:46 ` developer at isl-gbr dot de
  2005-04-21 15:47 ` [Bug target/21153] " pinskia at gcc dot gnu dot org
  2005-04-29 10:50 ` belyshev at depni dot sinp dot msu dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: developer at isl-gbr dot de @ 2005-04-21 15:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From developer at isl-gbr dot de  2005-04-21 15:46 -------
Created an attachment (id=8703)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8703&action=view)
the required op.i file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21153


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/21153] gcc segfaults compiling qemu
  2005-04-21 15:45 [Bug c++/21153] New: gcc segfaults compiling qemu developer at isl-gbr dot de
  2005-04-21 15:46 ` [Bug c++/21153] " developer at isl-gbr dot de
@ 2005-04-21 15:47 ` pinskia at gcc dot gnu dot org
  2005-04-29 10:50 ` belyshev at depni dot sinp dot msu dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-21 15:47 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |target
           Keywords|                            |ice-on-valid-code


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21153


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug target/21153] gcc segfaults compiling qemu
  2005-04-21 15:45 [Bug c++/21153] New: gcc segfaults compiling qemu developer at isl-gbr dot de
  2005-04-21 15:46 ` [Bug c++/21153] " developer at isl-gbr dot de
  2005-04-21 15:47 ` [Bug target/21153] " pinskia at gcc dot gnu dot org
@ 2005-04-29 10:50 ` belyshev at depni dot sinp dot msu dot ru
  2 siblings, 0 replies; 4+ messages in thread
From: belyshev at depni dot sinp dot msu dot ru @ 2005-04-29 10:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at depni dot sinp dot msu dot ru  2005-04-29 10:50 -------


*** This bug has been marked as a duplicate of 16702 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21153


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-29 10:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 15:45 [Bug c++/21153] New: gcc segfaults compiling qemu developer at isl-gbr dot de
2005-04-21 15:46 ` [Bug c++/21153] " developer at isl-gbr dot de
2005-04-21 15:47 ` [Bug target/21153] " pinskia at gcc dot gnu dot org
2005-04-29 10:50 ` belyshev at depni dot sinp dot msu dot ru

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).