public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug regression/23256] New: gcc-3.3.6 ICE during bootstrap on arm
@ 2005-08-05 22:07 mikpe at csd dot uu dot se
  2005-08-06  6:21 ` [Bug regression/23256] " pinskia at gcc dot gnu dot org
  2005-08-14 18:53 ` buytenh at wantstofly dot org
  0 siblings, 2 replies; 3+ messages in thread
From: mikpe at csd dot uu dot se @ 2005-08-05 22:07 UTC (permalink / raw)
  To: gcc-bugs

While using gcc-3.3.3 to bootstrap gcc-3.3.6 on arm,
the build fails with an ICE near the end of stage2:

./xgcc -B./
-B/home/mikpe/pkgs/linux-armv5b/gcc-3.3.6/armv5b-unknown-linux-gnu/bin/ -isystem
/home/mikpe/pkgs/linux-armv5b/gcc-3.3.6/armv5b-unknown-linux-gnu/include
-isystem
/home/mikpe/pkgs/linux-armv5b/gcc-3.3.6/armv5b-unknown-linux-gnu/sys-include -O2
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -I. -I. -I/home/mikpe/gcc-3.3.6/gcc
-I/home/mikpe/gcc-3.3.6/gcc/. -I/home/mikpe/gcc-3.3.6/gcc/config
-I/home/mikpe/gcc-3.3.6/gcc/../include  -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss  \
   -c /home/mikpe/gcc-3.3.6/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/home/mikpe/gcc-3.3.6/gcc/crtstuff.c: In function `__do_global_dtors_aux':
/home/mikpe/gcc-3.3.6/gcc/crtstuff.c:285: internal compiler error: Segmentation
fault

The same error occurs when attempting to bootstrap gcc-3.3.4.
Both gcc-3.3.3 and gcc-3.4.4 bootstrapped fine on the same machine.

The problem was initially discovered because a canadian-cross
gcc-3.3.6 (built on x86 then transferred to the arm box) ICEs
when compiling this trivial program (distilled down from the
'unzip' source rpm in Fedora Core 2):

===snip here for unzip.c===
int G_UzO_zipinfo_mode;

void unzip(int argc, char *argv[])
{
    if (argc > 1 && strncmp(argv[1], "-Z", 2) == 0)
        G_UzO_zipinfo_mode = 1;
}
===snip===

With canadian-cross 3.3.4 or 3.3.6, this fails as follows:

unzip.c: In function `unzip':
unzip.c:7: internal compiler error: Segmentation fault

Again, both 3.3.3 and 3.4.4 work fine.

-- 
           Summary: gcc-3.3.6 ICE during bootstrap on arm
           Product: gcc
           Version: 3.3.6
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: regression
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mikpe at csd dot uu dot se
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: armv5b-unknown-linux
  GCC host triplet: armv5b-unknown-linux
GCC target triplet: armv5b-unknown-linux


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


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

* [Bug regression/23256] gcc-3.3.6 ICE during bootstrap on arm
  2005-08-05 22:07 [Bug regression/23256] New: gcc-3.3.6 ICE during bootstrap on arm mikpe at csd dot uu dot se
@ 2005-08-06  6:21 ` pinskia at gcc dot gnu dot org
  2005-08-14 18:53 ` buytenh at wantstofly dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-06  6:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-06 06:21 -------
3.3.6 was the last 3.3.x release and since 3.4.4 works, I am closing as fixed for 3.4.4.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4.4


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


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

* [Bug regression/23256] gcc-3.3.6 ICE during bootstrap on arm
  2005-08-05 22:07 [Bug regression/23256] New: gcc-3.3.6 ICE during bootstrap on arm mikpe at csd dot uu dot se
  2005-08-06  6:21 ` [Bug regression/23256] " pinskia at gcc dot gnu dot org
@ 2005-08-14 18:53 ` buytenh at wantstofly dot org
  1 sibling, 0 replies; 3+ messages in thread
From: buytenh at wantstofly dot org @ 2005-08-14 18:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From buytenh at wantstofly dot org  2005-08-14 18:53 -------
Seemingly triggered by http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12527#c21
gcc 3.3.3 on armeb appears to miscompile itself when SUBTARGET_CPU_DEFAULT is
TARGET_CPU_arm6, but with TARGET_CPU_arm7tdmi it all works fine.

I know the 3.3.x branch is closed, but I'm putting this note here just in case
anyone else bumps into this.

-- 


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


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

end of thread, other threads:[~2005-08-14 18:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-05 22:07 [Bug regression/23256] New: gcc-3.3.6 ICE during bootstrap on arm mikpe at csd dot uu dot se
2005-08-06  6:21 ` [Bug regression/23256] " pinskia at gcc dot gnu dot org
2005-08-14 18:53 ` buytenh at wantstofly 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).