public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/26015]  New: ICE during bootstrap for vax architecture
@ 2006-01-29  3:51 hbent at cs dot oberlin dot edu
  2006-01-29  4:38 ` [Bug target/26015] " pinskia at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: hbent at cs dot oberlin dot edu @ 2006-01-29  3:51 UTC (permalink / raw)
  To: gcc-bugs

Configure a current subversion copy of gcc with --target=vax--netbsdelf, do
"make bootstrap."  Watch it fail during stage1 like so:

...
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc/../mkinstalldirs $d; fi; \
done
mkdir libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/src/gcc/vax/./gcc/xgcc -B/usr/src/gcc/vax/./gcc/
-B/usr/local/vax--netbsdelf/bin/ -B/usr/local/vax--netbsdelf/lib/ -isystem
/usr/local/vax--netbsdelf/include -isystem
/usr/local/vax--netbsdelf/sys-include -O2  -O2 -g -O2  -DIN_GCC -DCROSS_COMPILE
  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/.
-I../../gcc/../include -I../../gcc/../libcpp/include -I/usr/pkg/include 
-I../../gcc/../libdecnumber -I../libdecnumber -DL_muldi3 -c ../../gcc/libgcc2.c
-o libgcc/./_muldi3.o
../../gcc/libgcc2.c: In function '__muldi3':
../../gcc/libgcc2.c:520: internal compiler error: in
compute_frame_pointer_to_cfa_displacement, at dwarf2out.c:10443
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE during bootstrap for vax architecture
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hbent at cs dot oberlin dot edu
 GCC build triplet: i386-unknown-netbsdelf3.99.5
  GCC host triplet: i386-unknown-netbsdelf3.99.5
GCC target triplet: vax--netbsdelf


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
@ 2006-01-29  4:38 ` pinskia at gcc dot gnu dot org
  2006-01-29  7:06 ` hbent at cs dot oberlin dot edu
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-01-29  4:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-29 04:38 -------
First you cannot do a bootstrap with a cross, it will not work.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
           Keywords|                            |build, ice-on-valid-code


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
  2006-01-29  4:38 ` [Bug target/26015] " pinskia at gcc dot gnu dot org
@ 2006-01-29  7:06 ` hbent at cs dot oberlin dot edu
  2006-02-02 17:08 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hbent at cs dot oberlin dot edu @ 2006-01-29  7:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from hbent at cs dot oberlin dot edu  2006-01-29 07:06 -------
My mistake, I was doing two builds at once and got mixed up.  This error was
produced with configure as so:

../configure --target=vax--netbsdelf --disable-nls --enable-languages=c
--disable-shared

and then just a regular "gmake" to build.  I have lib and include dirs
symlinked from a NetBSD/vax 2.0 install.


-- 


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
  2006-01-29  4:38 ` [Bug target/26015] " pinskia at gcc dot gnu dot org
  2006-01-29  7:06 ` hbent at cs dot oberlin dot edu
@ 2006-02-02 17:08 ` pinskia at gcc dot gnu dot org
  2006-02-02 17:48 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 17:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-02-02 17:08 -------
Can you attach the preprocessed source?


-- 


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (2 preceding siblings ...)
  2006-02-02 17:08 ` pinskia at gcc dot gnu dot org
@ 2006-02-02 17:48 ` pinskia at gcc dot gnu dot org
  2006-02-16  2:26 ` wilson at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-02 17:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-02 17:48 -------
Confirmed, reduced testcase:
void __muldi3 (long long u,long long v){}


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-02-02 17:48:06
               date|                            |


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (3 preceding siblings ...)
  2006-02-02 17:48 ` pinskia at gcc dot gnu dot org
@ 2006-02-16  2:26 ` wilson at gcc dot gnu dot org
  2006-02-16  2:29 ` wilson at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: wilson at gcc dot gnu dot org @ 2006-02-16  2:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from wilson at gcc dot gnu dot org  2006-02-16 02:26 -------
This is failing in code that Richard Henderson added.  It is trying to compute
the frame pointer to CFA offset by running register elimination on the arg
pointer.  The vax however has a hardware arg pointer, maintained by the call
instruction, and hence does not do any register elimination.  We then hit an
assert because we still have an arg pointer after register elimination.

This problem can be avoided by defining the FRAME_POINTER_CFA_OFFSET macro. 
The value of this depends on how the vax call instruction works, and I don't
happen to have docs for that.  I also don't happen to have access to vax
hardware.  Assuming FP and SP have the same value on function entry, a value of
zero should work here.  This assumption be testing by verifying that the gdb
testsuite works OK with this change.


-- 

wilson at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wilson at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/26015] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (4 preceding siblings ...)
  2006-02-16  2:26 ` wilson at gcc dot gnu dot org
@ 2006-02-16  2:29 ` wilson at gcc dot gnu dot org
  2006-09-03  5:33 ` [Bug target/26015] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: wilson at gcc dot gnu dot org @ 2006-02-16  2:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from wilson at gcc dot gnu dot org  2006-02-16 02:29 -------
Created an attachment (id=10859)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10859&action=view)
untested patch for vax dwarf2 failure

This patch allows the testcase to compile, but is otherwise untested.  This
needs to be checked against hardware docs, and tested against the gdb
testsuite.


-- 


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


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

* [Bug target/26015] [4.1/4.2 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (5 preceding siblings ...)
  2006-02-16  2:29 ` wilson at gcc dot gnu dot org
@ 2006-09-03  5:33 ` pinskia at gcc dot gnu dot org
  2006-09-07  1:13 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-09-03  5:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|ICE during bootstrap for vax|[4.1/4.2 Regression] ICE
                   |architecture                |during bootstrap for vax
                   |                            |architecture
   Target Milestone|---                         |4.1.2


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


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

* [Bug target/26015] [4.1/4.2 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (6 preceding siblings ...)
  2006-09-03  5:33 ` [Bug target/26015] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-09-07  1:13 ` mmitchel at gcc dot gnu dot org
  2006-11-07  4:25 ` [Bug target/26015] [4.1/4.2/4.3 " hbent at cs dot oberlin dot edu
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-09-07  1:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-09-07 01:12 -------
VAX is not a primary or secondary platform.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (7 preceding siblings ...)
  2006-09-07  1:13 ` mmitchel at gcc dot gnu dot org
@ 2006-11-07  4:25 ` hbent at cs dot oberlin dot edu
  2007-02-14  9:37 ` mmitchel at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: hbent at cs dot oberlin dot edu @ 2006-11-07  4:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hbent at cs dot oberlin dot edu  2006-11-07 04:25 -------
This patch fixes the cross-compile such that it completes and is a valid
compiler able to generate valid code.  I cannot comment on any of the more
"official" tests.


-- 


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (8 preceding siblings ...)
  2006-11-07  4:25 ` [Bug target/26015] [4.1/4.2/4.3 " hbent at cs dot oberlin dot edu
@ 2007-02-14  9:37 ` mmitchel at gcc dot gnu dot org
  2007-12-18 20:31 ` steven at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (9 preceding siblings ...)
  2007-02-14  9:37 ` mmitchel at gcc dot gnu dot org
@ 2007-12-18 20:31 ` steven at gcc dot gnu dot org
  2008-01-11 22:02 ` wilson at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2007-12-18 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from steven at gcc dot gnu dot org  2007-12-18 20:31 -------
Based on comment #8, the patch of comment #6 should probably be committed. 
Jim, do you have plans to take care of this?


-- 


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (10 preceding siblings ...)
  2007-12-18 20:31 ` steven at gcc dot gnu dot org
@ 2008-01-11 22:02 ` wilson at gcc dot gnu dot org
  2008-01-11 22:03 ` wilson at gcc dot gnu dot org
  2008-01-11 22:28 ` wilson at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: wilson at gcc dot gnu dot org @ 2008-01-11 22:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from wilson at gcc dot gnu dot org  2008-01-11 21:42 -------
Subject: Bug 26015

Author: wilson
Date: Fri Jan 11 21:42:03 2008
New Revision: 131477

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131477
Log:
PR target/26015
* config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/vax/elf.h


-- 


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (11 preceding siblings ...)
  2008-01-11 22:02 ` wilson at gcc dot gnu dot org
@ 2008-01-11 22:03 ` wilson at gcc dot gnu dot org
  2008-01-11 22:28 ` wilson at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: wilson at gcc dot gnu dot org @ 2008-01-11 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from wilson at gcc dot gnu dot org  2008-01-11 21:50 -------
Mine, as I wrote a patch for it.


-- 

wilson at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |wilson at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug target/26015] [4.1/4.2/4.3 Regression] ICE during bootstrap for vax architecture
  2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
                   ` (12 preceding siblings ...)
  2008-01-11 22:03 ` wilson at gcc dot gnu dot org
@ 2008-01-11 22:28 ` wilson at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: wilson at gcc dot gnu dot org @ 2008-01-11 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from wilson at gcc dot gnu dot org  2008-01-11 21:52 -------
Fixed on mainline.


-- 

wilson at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2008-01-11 21:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-29  3:51 [Bug bootstrap/26015] New: ICE during bootstrap for vax architecture hbent at cs dot oberlin dot edu
2006-01-29  4:38 ` [Bug target/26015] " pinskia at gcc dot gnu dot org
2006-01-29  7:06 ` hbent at cs dot oberlin dot edu
2006-02-02 17:08 ` pinskia at gcc dot gnu dot org
2006-02-02 17:48 ` pinskia at gcc dot gnu dot org
2006-02-16  2:26 ` wilson at gcc dot gnu dot org
2006-02-16  2:29 ` wilson at gcc dot gnu dot org
2006-09-03  5:33 ` [Bug target/26015] [4.1/4.2 Regression] " pinskia at gcc dot gnu dot org
2006-09-07  1:13 ` mmitchel at gcc dot gnu dot org
2006-11-07  4:25 ` [Bug target/26015] [4.1/4.2/4.3 " hbent at cs dot oberlin dot edu
2007-02-14  9:37 ` mmitchel at gcc dot gnu dot org
2007-12-18 20:31 ` steven at gcc dot gnu dot org
2008-01-11 22:02 ` wilson at gcc dot gnu dot org
2008-01-11 22:03 ` wilson at gcc dot gnu dot org
2008-01-11 22:28 ` wilson 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).