public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler
@ 2003-10-31  2:29 dstevens at omneon dot com
  2003-10-31  2:42 ` [Bug c++/12852] " dstevens at omneon dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-10-31  2:29 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Internal Error: Segmentation fault on xscale compiler
           Product: gcc
           Version: 3.0.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dstevens at omneon dot com
                CC: gcc-bugs at gcc dot gnu dot org

xscale-coff-g++ ver 3.0.4 encounters a segmentation fault and crashes when 
compiling under cywin 1.5.5-1 ...

Command line:
/usr/local/xscale-coff/xscale-304/bin/xscale-coff-g++ -g -O -DMQX -D TAP3 \
    -D TAP -DCPU_LITTLE_ENDIAN -DCPU_XSCALE -mstructure-size-boundary=8 \
    -mapcs-frame -finline-limit=100000 -fno-implement-inlines \
    -fno-schedule-insns2 -DBSDNET -D__EMBEDDED__   -fno-exceptions \
    -I. -I../../../omneon/shared/include \
    -I../../../precise/MQX2.40/source/include \
    -I../../../precise/MQX2.40/source/psp/arm \
    -I../../../precise/MQX2.40/source/bsp/xs321 \
    -I../../../precise/MQX2.40/source/io -I../../../omneon/imports/stl \
    -I../../../omneon/shared/include/mqxinclude -I../../../omneon/tap/include \
    -I../../../omneon/imports/zlib -I../../../omneon/imports/rxspencer \
    -I../../../omneon/imports/bsdnet/include -I../../../omneon/sdk/include \
    -Wall -Wno-format -Werror  -c trics24module.cc -o obj.tap3/trics24module.o

Output:
    trics24module.cc:40: Internal error: Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

Intermediate file:
    trics24module.ii


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
@ 2003-10-31  2:42 ` dstevens at omneon dot com
  2003-10-31 17:45 ` dstevens at omneon dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-10-31  2:42 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dstevens at omneon dot com  2003-10-31 02:29 -------
Created an attachment (id=5024)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5024&action=view)
Zipped intermediate file from compilation with xscale-coff-g++


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
  2003-10-31  2:42 ` [Bug c++/12852] " dstevens at omneon dot com
@ 2003-10-31 17:45 ` dstevens at omneon dot com
  2003-10-31 22:02 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-10-31 17:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dstevens at omneon dot com  2003-10-31 17:40 -------
This was working correctly under Cygwin version 1.3.13, so it may be related to 
a problem dll in 1.5.5 cygwin. Is there a way I can determine which dlls xscale-
coff-g++ is using? If so, maybe I could replace one dll at a time with the 
older version from Cygwin 1.3.13


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
  2003-10-31  2:42 ` [Bug c++/12852] " dstevens at omneon dot com
  2003-10-31 17:45 ` dstevens at omneon dot com
@ 2003-10-31 22:02 ` pinskia at gcc dot gnu dot org
  2003-10-31 23:47 ` dstevens at omneon dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-31 22:02 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-10-31 22:01 -------
Are you sure that you are not using a latter compiler on the computer with Cygwin version 1.3.1?
Also I think this is fixed for 3.3.1 as there was a c++ debugging bug fixed for 3.3.1.
Can you try a latter compiler like 3.3.1?


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
                   ` (2 preceding siblings ...)
  2003-10-31 22:02 ` pinskia at gcc dot gnu dot org
@ 2003-10-31 23:47 ` dstevens at omneon dot com
  2003-11-03 20:18 ` dstevens at omneon dot com
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-10-31 23:47 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From dstevens at omneon dot com  2003-10-31 23:12 -------
The compiler I'm using reports ...
> xscale-coff-g++ -dumpversion
3.0.4

I'm attempting to build 3.2.3 to see if a later version will help. Headway is 
slow: "configure" gave me a makefile that caused build errors; I got somewhat 
further after I changed the optimization from -O2 to -O1. I'll send more 
details if/when I manage to build 3.2.3 ...


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
                   ` (3 preceding siblings ...)
  2003-10-31 23:47 ` dstevens at omneon dot com
@ 2003-11-03 20:18 ` dstevens at omneon dot com
  2003-11-23  5:58 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-11-03 20:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dstevens at omneon dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 GCC target triplet|                            |xscale-coff


------- Additional Comments From dstevens at omneon dot com  2003-11-03 20:18 -------
I've moved to the 3.2.3 version xscale (building under cygwin 1.5.5) in trying 
to fix this. I was running 'make install-cross', and ran into the same error 
when compiling locale.cc ...

/g/gcc/gcc-3.2.3-omneonbuild/gcc/xgcc -shared-libgcc \
    -B/g/gcc/gcc-3.2.3-omneonbuild/gcc/ -nostdinc++ \
    -L/g/gcc/gcc-3.2.3-omneonbuild/xscale-coff/be/libstdc++-v3/src \
    -L/g/gcc/gcc-3.2.3-omneonbuild/xscale-coff/be/libstdc++-v3/src/.libs \
    -B/usr/local/xscale-coff/3.2.3/xscale-coff/bin/ \
    -B/usr/local/xscale-coff/3.2.3/xscale-coff/lib/ -isystem \
    /usr/local/xscale-coff/3.2.3/xscale-coff/include -mbig-endian \
    -nostdinc++ \
    -I/g/gcc/gcc-3.2.3-omneonbuild/xscale-coff/be/libstdc++-v3/include/xscale-
coff \
    -I/g/gcc/gcc-3.2.3-omneonbuild/xscale-coff/be/libstdc++-v3/include \
    -I../../../../../gcc-3.2.3/libstdc++-v3/libsupc++ \
    -I../../../../../gcc-3.2.3/libstdc++-v3/libmath -g -O2 -mbig-endian \
    -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings -Winline \
    -fdiagnostics-show-location=once -g -c \
    ../../../../../gcc-3.2.3/libstdc++-v3/src/locale.cc -o locale.o

... which reports ...

    ../../../../../gcc-3.2.3/libstdc++-v3/src/locale.cc: In constructor
   `std::locale::facet::facet(long unsigned int)':
    ../../../../../gcc-3.2.3/libstdc++-v3/src/locale.cc:461: internal error:
   Segmentation fault

I've re-run this with --save-temps, and will upload local.ii


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
                   ` (4 preceding siblings ...)
  2003-11-03 20:18 ` dstevens at omneon dot com
@ 2003-11-23  5:58 ` dhazeghi at yahoo dot com
  2003-11-23  6:04 ` pinskia at gcc dot gnu dot org
  2003-11-26 18:17 ` dstevens at omneon dot com
  7 siblings, 0 replies; 9+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-23  5:58 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-23 05:58 -------
I can't reproduce this with gcc 3.2.3 or 3.3.1 cross-compiler (on i686-linux). Can you reproduce 
this crash with 3.3.2 by any chance?

Dara

-- 


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


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
                   ` (5 preceding siblings ...)
  2003-11-23  5:58 ` dhazeghi at yahoo dot com
@ 2003-11-23  6:04 ` pinskia at gcc dot gnu dot org
  2003-11-26 18:17 ` dstevens at omneon dot com
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-23  6:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-23 06:04 -------
Cygwin's default stack size is too low by default and you cannot raise it by using ulimit/limit.  You 
have to compile with an ld option which makes the stacksize higher (I forgot the option, do a man 
ld).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug c++/12852] Internal Error: Segmentation fault on xscale compiler
  2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
                   ` (6 preceding siblings ...)
  2003-11-23  6:04 ` pinskia at gcc dot gnu dot org
@ 2003-11-26 18:17 ` dstevens at omneon dot com
  7 siblings, 0 replies; 9+ messages in thread
From: dstevens at omneon dot com @ 2003-11-26 18:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dstevens at omneon dot com  2003-11-26 18:17 -------
The ld options show as ...

    --stack reserve
    --stack reserve,commit

Which option should I use, and how much should I reserve/commit? 
Should the configure and config* files be modified to set this in the makefiles?


-- 


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


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

end of thread, other threads:[~2003-11-26 18:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-31  2:29 [Bug c++/12852] New: Internal Error: Segmentation fault on xscale compiler dstevens at omneon dot com
2003-10-31  2:42 ` [Bug c++/12852] " dstevens at omneon dot com
2003-10-31 17:45 ` dstevens at omneon dot com
2003-10-31 22:02 ` pinskia at gcc dot gnu dot org
2003-10-31 23:47 ` dstevens at omneon dot com
2003-11-03 20:18 ` dstevens at omneon dot com
2003-11-23  5:58 ` dhazeghi at yahoo dot com
2003-11-23  6:04 ` pinskia at gcc dot gnu dot org
2003-11-26 18:17 ` dstevens at omneon 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).