public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1)
@ 2012-05-24  6:24 dokumentarfilme at hotmail dot com
  2012-05-24  7:38 ` [Bug c/53467] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dokumentarfilme at hotmail dot com @ 2012-05-24  6:24 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53467
           Summary: xgcc:Internal error: Bus error (program cc1)
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dokumentarfilme@hotmail.com


Hello,

compiling gcc 4.3.0 and 4.7.0 fails by making libgcc on a sparc (Infrant
Technologics, Inc. - neon version: 0) with "xgcc: Internal error: Bus error
(program cc1)".

gcc-4.3.0-compiled\sparc-linux\libgcc\config.log:

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /backup/gcc-4.3.0/libgcc/configure --cache-file=./config.cache
--enable-multilib --prefix=/usr --mandir=/usr/share/man --enable-shared
--with-system-zlib --enable-nls --enable-clocale=gnu --enable-debug
--with-cpu=v7 --enable-objc-gc --enable-languages=c,c++
--program-transform-name=s,y,y, --with-target-subdir=sparc-linux
--build=sparc-linux --host=sparc-linux --target=sparc-linux
--srcdir=../../../gcc-4.3.0/libgcc --disable-intermodule
--enable-checking=yes,types --disable-coverage --enable-languages=c

## --------- ##
## Platform. ##
## --------- ##

hostname = fes-a120d19nas
uname -m = padre
uname -r = 2.6.17.14ReadyNAS
uname -s = Linux
uname -v = #1 Thu Sep 1 17:44:33 PDT 2011

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /opt/rfw/bin
PATH: /opt/rfw/sbin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/bin/X11


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1198: creating cache ./config.cache
configure:1373: checking for --enable-version-specific-runtime-libs
configure:1388: result: no
configure:1420: checking for a BSD-compatible install
configure:1475: result: /usr/bin/install -c
configure:1491: checking for gawk
configure:1520: result: no
configure:1491: checking for mawk
configure:1507: found /usr/bin/mawk
configure:1517: result: mawk
configure:1540: checking build system type
configure:1558: result: sparc-unknown-linux-gnu
configure:1566: checking host system type
configure:1580: result: sparc-unknown-linux-gnu
configure:1639: checking for sparc-linux-ar
configure:1665: result: ar
configure:1718: checking for sparc-linux-lipo
configure:1744: result: lipo
configure:1798: checking for sparc-linux-nm
configure:1824: result: /backup/gcc-4.3.0-compiled/./gcc/nm
configure:1877: checking for sparc-linux-ranlib
configure:1903: result: ranlib
configure:1957: checking for sparc-linux-strip
configure:1983: result: strip
configure:2034: checking whether ln -s works
configure:2038: result: yes
configure:2055: checking for sparc-linux-gcc
configure:2081: result: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include
configure:2363: checking for C compiler version
configure:2366: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include --version </dev/null >&5
xgcc (GCC) 4.3.0
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2369: $? = 0
configure:2371: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include -v </dev/null >&5
Reading specs from /backup/gcc-4.3.0-compiled/./gcc/specs
Target: sparc-linux
Configured with: ../gcc-4.3.0/configure --build=sparc-linux
--enable-languages=c,c++ --prefix=/usr --mandir=/usr/share/man --enable-shared
--with-system-zlib --enable-nls --enable-clocale=gnu --enable-debug
--with-cpu=v7 --enable-objc-gc
Thread model: posix
gcc version 4.3.0 (GCC) 
configure:2374: $? = 0
configure:2376: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2379: $? = 1
configure:2398: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include -o conftest -g -fkeep-inline-functions  
conftest.c  >&5
xgcc: Internal error: Bus error (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2401: $? = 1
configure:2567: checking for suffix of object files
configure:2588: /backup/gcc-4.3.0-compiled/./gcc/xgcc
-B/backup/gcc-4.3.0-compiled/./gcc/ -B/usr/sparc-linux/bin/
-B/usr/sparc-linux/lib/ -isystem /usr/sparc-linux/include -isystem
/usr/sparc-linux/sys-include -c -g -fkeep-inline-functions  conftest.c >&5
xgcc: Internal error: Bus error (program cc1)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.


 cat /proc/cpuinfo
cpu             : Infrant Technologics, Inc. - neon version: 0
fpu             : Softfpu
ncpus probed    : 1
ncpus active    : 1
BogoMips        : 186.36
MMU             : version: 0
LP              : HW.FW version: 0.1
FPGA            : fpga000000-0 Configuration: 0
AHB arbitraion  : 7
CPU id          : 0
Switch          : 0
ASIC            : IT3107


If you need more informations let me know it.


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
@ 2012-05-24  7:38 ` rguenth at gcc dot gnu.org
  2012-05-24 23:21 ` ebotcazou at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-05-24  7:38 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |sparc-linux

--- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-05-24 07:36:17 UTC ---
I'm sure your CPU does not support what you are building the compiler for.


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
  2012-05-24  7:38 ` [Bug c/53467] " rguenth at gcc dot gnu.org
@ 2012-05-24 23:21 ` ebotcazou at gcc dot gnu.org
  2012-05-26 13:39 ` ebotcazou at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-05-24 23:21 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-05-24
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-05-24 22:46:26 UTC ---
> If you need more informations let me know it.

Sure, nobody has access to this kind of systems here.  Please post a backtrace.


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
  2012-05-24  7:38 ` [Bug c/53467] " rguenth at gcc dot gnu.org
  2012-05-24 23:21 ` ebotcazou at gcc dot gnu.org
@ 2012-05-26 13:39 ` ebotcazou at gcc dot gnu.org
  2012-05-27 16:03 ` dokumentarfilme at hotmail dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2012-05-26 13:39 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
                   ` (2 preceding siblings ...)
  2012-05-26 13:39 ` ebotcazou at gcc dot gnu.org
@ 2012-05-27 16:03 ` dokumentarfilme at hotmail dot com
  2012-05-27 16:07 ` dokumentarfilme at hotmail dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dokumentarfilme at hotmail dot com @ 2012-05-27 16:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from martin <dokumentarfilme at hotmail dot com> 2012-05-27 16:01:23 UTC ---
Created attachment 27506
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27506
debug for gdb

created with ulimit -c unlimited & make --debug CFLAGS='-g -O0'


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
                   ` (3 preceding siblings ...)
  2012-05-27 16:03 ` dokumentarfilme at hotmail dot com
@ 2012-05-27 16:07 ` dokumentarfilme at hotmail dot com
  2012-05-27 16:09 ` dokumentarfilme at hotmail dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dokumentarfilme at hotmail dot com @ 2012-05-27 16:07 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from martin <dokumentarfilme at hotmail dot com> 2012-05-27 16:03:35 UTC ---
Created attachment 27507
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27507
df-core.o debug for gdb


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
                   ` (4 preceding siblings ...)
  2012-05-27 16:07 ` dokumentarfilme at hotmail dot com
@ 2012-05-27 16:09 ` dokumentarfilme at hotmail dot com
  2012-05-27 18:28 ` redi at gcc dot gnu.org
  2012-06-06  8:25 ` dokumentarfilme at hotmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: dokumentarfilme at hotmail dot com @ 2012-05-27 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from martin <dokumentarfilme at hotmail dot com> 2012-05-27 16:06:59 UTC ---
Comment on attachment 27506
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27506
core - debug for gdb

gdb $(which gcc) ./core
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-linux"...Using host libthread_db library
"/lib/libthread_db.so.1".


warning: core file may not match specified executable file.
Core was generated by `/backup/gcc-4.3.0-compiled/./gcc/cc1 -E -quiet -iprefix
/c/backup/gcc-4.3.0-com'.
Program terminated with signal 10, Bus error.
#0  0x2000ab58 in ?? ()
Breakpoint 1 at 0x13214: file ../../gcc-4.0.0/gcc/gcc.c, line 6733.
Function "internal_error" not defined.
Breakpoint 2 at 0x37348
Breakpoint 3 at 0x37210


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
                   ` (5 preceding siblings ...)
  2012-05-27 16:09 ` dokumentarfilme at hotmail dot com
@ 2012-05-27 18:28 ` redi at gcc dot gnu.org
  2012-06-06  8:25 ` dokumentarfilme at hotmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: redi at gcc dot gnu.org @ 2012-05-27 18:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-05-27 16:45:29 UTC ---
The core file was not generated by gcc, as gdb says it came from cc1


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

* [Bug c/53467] xgcc:Internal error: Bus error (program cc1)
  2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
                   ` (6 preceding siblings ...)
  2012-05-27 18:28 ` redi at gcc dot gnu.org
@ 2012-06-06  8:25 ` dokumentarfilme at hotmail dot com
  7 siblings, 0 replies; 9+ messages in thread
From: dokumentarfilme at hotmail dot com @ 2012-06-06  8:25 UTC (permalink / raw)
  To: gcc-bugs

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

martin <dokumentarfilme at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
            Version|4.7.0                       |4.3.0
         Resolution|                            |WORKSFORME

--- Comment #7 from martin <dokumentarfilme at hotmail dot com> 2012-06-06 08:24:52 UTC ---
After experimenting with diffrent configure parameters I successfully build gcc
4.3.0 on my Netgear Readynas Duo sparc with ../gcc-4.3.0/configure
--build='sparc-linux' --enable-languages=c,c++ --prefix=/usr
--mandir=/usr/share/man --enable-shared --with-system-zlib --enable-nls
--enable-clocale=gnu --enable-debug --with-cpu=v7  --enable-objc-gc

Building gcc 4.7.0 with the same configure parameter crashes with an other
error. I have to look at this more closely.


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

end of thread, other threads:[~2012-06-06  8:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-24  6:24 [Bug c/53467] New: xgcc:Internal error: Bus error (program cc1) dokumentarfilme at hotmail dot com
2012-05-24  7:38 ` [Bug c/53467] " rguenth at gcc dot gnu.org
2012-05-24 23:21 ` ebotcazou at gcc dot gnu.org
2012-05-26 13:39 ` ebotcazou at gcc dot gnu.org
2012-05-27 16:03 ` dokumentarfilme at hotmail dot com
2012-05-27 16:07 ` dokumentarfilme at hotmail dot com
2012-05-27 16:09 ` dokumentarfilme at hotmail dot com
2012-05-27 18:28 ` redi at gcc dot gnu.org
2012-06-06  8:25 ` dokumentarfilme at hotmail dot com

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