public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/36851]  New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
@ 2008-07-16 16:11 ro at gcc dot gnu dot org
  2008-07-22 12:06 ` [Bug bootstrap/36851] " ro at gcc dot gnu dot org
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-07-16 16:11 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping mainline on Tru64 UNIX V5.1B fails as of 20080613:

libtool: compile:  /vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/./gcc/xgcc
-shared-libgcc -B/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/./gcc -nostdinc++
-L/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/src
-L/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/src/.libs
-B/vol/gcc/alpha-dec-osf5.1b/bin/ -B/vol/gcc/alpha-dec-osf5.1b/lib/ -isystem
/vol/gcc/alpha-dec-osf5.1b/include -isystem
/vol/gcc/alpha-dec-osf5.1b/sys-include
-I/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include/alpha-dec-osf5.1b
-I/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include
-I/vol/gccsrc/src/gcc-dist/libstdc++-v3/libsupc++ -fno-implicit-templates -Wall
-Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -g -O2
-mieee
-I/vol/gccsrc/obj/gcc-4.4.0-20080613/5.1b-gcc/alpha-dec-osf5.1b/libstdc++-v3/include/backward
-Wno-deprecated -c /vol/gcc/src/gcc-dist/libstdc++-v3/src/strst!
 ream.cc  -DPIC -o .libs/strstream.o
/vol/gcc/src/gcc-dist/libstdc++-v3/src/strstream.cc: In member function 'void
std::ostrstream::_ZTv0_n24_NSt10ostrstreamD0Ev()':
/vol/gcc/src/gcc-dist/libstdc++-v3/src/strstream.cc:419: internal compiler
error: Segmentation fault

Running cc1plus on strstream.ii under gdb reveals:

virtual std::strstream::~strstream()
Program received signal SIGSEGV, Segmentation fault.
alpha_end_function (file=0x300408000f8, fnname=0xe337c0
"_ZTv0_n24_NSt9strstreamD0Ev", decl=0xe8cc30) at
/vol/gcc/src/gcc-dist/gcc/config/alpha/alpha.c:8216
(gdb) where
#0  alpha_end_function (file=0x300408000f8, fnname=0xe337c0
"_ZTv0_n24_NSt9strstreamD0Ev", decl=0xe8cc30) at
/vol/gcc/src/gcc-dist/gcc/config/alpha/alpha.c:8216
#1  0x00000001203c9450 in assemble_end_function (decl=0xe8cc30,
fnname=0x14003e900 "") at /vol/gcc/src/gcc-dist/gcc/varasm.c:1775
#2  0x00000001201f3e70 in use_thunk (thunk_fndecl=0xe8cc30, emit_p=64 '@') at
/vol/gcc/src/gcc-dist/gcc/cp/method.c:446
#3  0x0000000120202914 in emit_associated_thunks (fn=0x1402f3a60) at
/vol/gcc/src/gcc-dist/gcc/cp/semantics.c:3144
#4  0x000000012047ca98 in cgraph_expand_function (node=0x10d2800) at
/vol/gcc/src/gcc-dist/gcc/cgraphunit.c:1147
#5  0x000000012048041c in cgraph_optimize () at
/vol/gcc/src/gcc-dist/gcc/cgraphunit.c:1211
#6  0x0000000120170564 in cp_write_global_declarations () at
/vol/gcc/src/gcc-dist/gcc/cp/decl2.c:3524
#7  0x00000001204a1e3c in toplev_main (argc=1073993808, argv=0x140042f00) at
/vol/gcc/src/gcc-dist/gcc/toplev.c:976
#8  0x00000001202c9b98 in main (argc=1082130680, argv=0xe337c0) at
/vol/gcc/src/gcc-dist/gcc/main.c:35

void
alpha_end_function (FILE *file, const char *fnname, tree decl ATTRIBUTE_UNUSED)
{
  rtx insn;

  /* We output a nop after noreturn calls at the very end of the function to
     ensure that the return address always remains in the caller's code range,
     as not doing so might confuse unwinding engines.  */
  insn = get_last_insn ();
  if (!INSN_P (insn))
    insn = prev_active_insn (insn);

insn is NULL at INSN_P (insn).

A reghunt reveals that this patch is the culprit:

2008-04-01  Jan Hubicka  <jh@suse.cz>

       * function.c (free_after_compilation): Free epilogue_delay_list.
       (prepare_function_start): Assert that previous compilation was freed.

Jan, would you please have a look?

  Rainer


-- 
           Summary: [4.4 regression] cc1plus SEGV compiling strstream.cc on
                    Tru64 UNIX
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: hubicka at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: alpha-dec-osf5.1b
  GCC host triplet: alpha-dec-osf5.1b
GCC target triplet: alpha-dec-osf5.1b


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


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

* [Bug bootstrap/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
@ 2008-07-22 12:06 ` ro at gcc dot gnu dot org
  2008-08-01 14:28 ` ro at gcc dot gnu dot org
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-07-22 12:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from ro at gcc dot gnu dot org  2008-07-22 12:05 -------
Jan, did you have a chance to take a look?  Your patch breaks Tru64 UNIX
bootstrap
since almost 4 months.

  Rainer


-- 


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


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

* [Bug bootstrap/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
  2008-07-22 12:06 ` [Bug bootstrap/36851] " ro at gcc dot gnu dot org
@ 2008-08-01 14:28 ` ro at gcc dot gnu dot org
  2008-08-01 16:07 ` [Bug target/36851] " rguenth at gcc dot gnu dot org
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-08-01 14:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ro at gcc dot gnu dot org  2008-08-01 14:27 -------
Jan,

unfortunately, I haven't heard back from you yet.  Any chance to get this fixed
reasonably soon?

  Rainer


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jh at suse dot cz


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
  2008-07-22 12:06 ` [Bug bootstrap/36851] " ro at gcc dot gnu dot org
  2008-08-01 14:28 ` ro at gcc dot gnu dot org
@ 2008-08-01 16:07 ` rguenth at gcc dot gnu dot org
  2008-08-01 16:23 ` ro at gcc dot gnu dot org
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-01 16:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from rguenth at gcc dot gnu dot org  2008-08-01 16:06 -------
If you provide a preprocessed testcase maybe he can.  Otherwise patches welcome
I guess.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |target
           Keywords|                            |build
   Target Milestone|---                         |4.4.0


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-08-01 16:07 ` [Bug target/36851] " rguenth at gcc dot gnu dot org
@ 2008-08-01 16:23 ` ro at gcc dot gnu dot org
  2008-08-01 16:25 ` ro at techfak dot uni-bielefeld dot de
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-08-01 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ro at gcc dot gnu dot org  2008-08-01 16:22 -------
Created an attachment (id=15992)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15992&action=view)
preprocessed libstdc++-v3/src/strstream.cc


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-08-01 16:23 ` ro at gcc dot gnu dot org
@ 2008-08-01 16:25 ` ro at techfak dot uni-bielefeld dot de
  2008-08-02 10:50 ` jh at suse dot cz
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-08-01 16:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ro at techfak dot uni-bielefeld dot de  2008-08-01 16:24 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

rguenth at gcc dot gnu dot org writes:

> If you provide a preprocessed testcase maybe he can.  Otherwise patches welcome
> I guess.

Done.  Unfortunately, I won't be available for testing until September 1st.

If this cannot be resolved, I'll certainly need quite some guidance to fix
it myself.

        Rainer


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-08-01 16:25 ` ro at techfak dot uni-bielefeld dot de
@ 2008-08-02 10:50 ` jh at suse dot cz
  2008-08-02 11:33 ` jh at suse dot cz
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jh at suse dot cz @ 2008-08-02 10:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jh at suse dot cz  2008-08-02 10:49 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

> > If you provide a preprocessed testcase maybe he can.  Otherwise patches welcome
> > I guess.
> 
> Done.  Unfortunately, I won't be available for testing until September 1st.
> 
> If this cannot be resolved, I'll certainly need quite some guidance to fix
> it myself.

I was also at conference till 1st.  I will try to look at it now.

Honza


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-08-02 10:50 ` jh at suse dot cz
@ 2008-08-02 11:33 ` jh at suse dot cz
  2008-08-08 22:46 ` mmitchel at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jh at suse dot cz @ 2008-08-02 11:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jh at suse dot cz  2008-08-02 11:31 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

Looks like Aplha is not tuplified yet?

../../gcc/config/alpha/alpha.c: In function 'va_list_skip_additions':
../../gcc/config/alpha/alpha.c:5815: warning: assignment from
incompatible pointer type
../../gcc/config/alpha/alpha.c:5817: error: 'PHI_NODE' undeclared (first
use in this function)
../../gcc/config/alpha/alpha.c:5817: error: (Each undeclared identifier
is reported only once
../../gcc/config/alpha/alpha.c:5817: error: for each function it appears
in.)


Honza


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-08-02 11:33 ` jh at suse dot cz
@ 2008-08-08 22:46 ` mmitchel at gcc dot gnu dot org
  2008-09-09 16:46 ` ro at techfak dot uni-bielefeld dot de
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2008-08-08 22:46 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

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


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-08-08 22:46 ` mmitchel at gcc dot gnu dot org
@ 2008-09-09 16:46 ` ro at techfak dot uni-bielefeld dot de
  2008-09-30 15:40 ` ro at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-09-09 16:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from ro at techfak dot uni-bielefeld dot de  2008-09-09 16:45 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

jh at suse dot cz writes:

> Looks like Aplha is not tuplified yet?
> 
> ../../gcc/config/alpha/alpha.c: In function 'va_list_skip_additions':
> ../../gcc/config/alpha/alpha.c:5815: warning: assignment from
> incompatible pointer type
> ../../gcc/config/alpha/alpha.c:5817: error: 'PHI_NODE' undeclared (first
> use in this function)
> ../../gcc/config/alpha/alpha.c:5817: error: (Each undeclared identifier
> is reported only once
> ../../gcc/config/alpha/alpha.c:5817: error: for each function it appears
> in.)

With the two patches mentioned in Comment #1 of PR bootstrap/37426 (the
second of which I've just checked in), an alpha-dec-osf5.1b bootstrap is
currently building the runtime libs.

As expected, it just failed again building strstream.o.

        Rainer


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-09-09 16:46 ` ro at techfak dot uni-bielefeld dot de
@ 2008-09-30 15:40 ` ro at gcc dot gnu dot org
  2008-10-31 13:28 ` ro at techfak dot uni-bielefeld dot de
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2008-09-30 15:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from ro at gcc dot gnu dot org  2008-09-30 15:38 -------
Created an attachment (id=16433)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16433&action=view)
minimized testcase

This minimized version of strstream.ii shows the same bug.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15992|0                           |1
        is obsolete|                            |


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-09-30 15:40 ` ro at gcc dot gnu dot org
@ 2008-10-31 13:28 ` ro at techfak dot uni-bielefeld dot de
  2008-12-27  6:36 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2008-10-31 13:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from ro at techfak dot uni-bielefeld dot de  2008-10-31 13:27 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

Since native reghunting was so slow, I've finally switched to trying with a
cross compiler (from Solaris 10/x86), and could reproduce the problem.  It
even turned out that there are two separate breakages involved.  The first
is caused by this change:

2008-04-01  Jan Hubicka  <jh@suse.cz>

       * function.c (free_after_compilation): Free epilogue_delay_list.
       (prepare_function_start): Assert that previous compilation was freed.

Since that change, the first gcc_assert() in prepare_function_start()
triggers:

Breakpoint 1, fancy_abort (file=0x8919114
"/vol/gcc/src/gcc-reghunt/gcc/function.c", line=3940, function=0x89196cc
"prepare_function_start") at /vol/gcc/src/gcc-reghunt/gcc/diagnostic.c:654
(gdb) where
#0  fancy_abort (file=0x8919114 "/vol/gcc/src/gcc-reghunt/gcc/function.c",
line=3940, function=0x89196cc "prepare_function_start") at
/vol/gcc/src/gcc-reghunt/gcc/diagnostic.c:654
#1  0x08424619 in prepare_function_start () at
/vol/gcc/src/gcc-reghunt/gcc/function.c:3940
#2  0x08424746 in init_function_start (subr=0xfee57620) at
/vol/gcc/src/gcc-reghunt/gcc/function.c:3988
#3  0x085c711e in tree_rest_of_compilation (fndecl=0xfee57620) at
/vol/gcc/src/gcc-reghunt/gcc/tree-optimize.c:408
#4  0x08783ec9 in cgraph_expand_function (node=0xfedbef3c) at
/vol/gcc/src/gcc-reghunt/gcc/cgraphunit.c:1157
#5  0x0878573a in cgraph_optimize () at
/vol/gcc/src/gcc-reghunt/gcc/cgraphunit.c:1220
#6  0x0816255f in cp_write_global_declarations () at
/vol/gcc/src/gcc-reghunt/gcc/cp/decl2.c:3471
#7  0x0855617e in compile_file () at /vol/gcc/src/gcc-reghunt/gcc/toplev.c:971
#8  0x08557b7c in do_compile () at /vol/gcc/src/gcc-reghunt/gcc/toplev.c:2161
#9  0x08557be2 in toplev_main (argc=2, argv=0x80476f8) at
/vol/gcc/src/gcc-reghunt/gcc/toplev.c:2193
#10 0x0828565f in main (argc=2, argv=0x80476f8) at
/vol/gcc/src/gcc-reghunt/gcc/main.c:35

Later, the following change

2008-04-03  Jan Hubicka  <jh@suse.cz>

       PR tree-optimization/35795
       * alpha/alpha.c (alpha_output_mi_thunk_osf): Free after compilation.
       * sparc/sparc.c (sparc_output_mi_thunk): Likewise.
       * ia64/ia64.c (ia64_output_mi_thunk): Likewise.
       * m68k/m68k.c (m68k_output_mi_thunk): Likewise.
       * score/score3.c (score3_output_mi_thunk): Likewise.
       * score/score7.c (score7_output_mi_thunk): Likewise.
       * mips/mips.c (mips_output_mi_thunk): Likewise.

broke it even more and introduced the SEGV described in the original PR.

If I disable the gcc_assert() and remove the free_after_compilation() at the
end of alpha_output_mi_thunk_osf(), I'm finally able to compile my
minimized testcase and bootstrap mainline on alpha-dec-osf5.1b.

Since your two changes introduced this breakage and it is easily
reproducible in a cross compiler, could you please investigate and fix
this?

Thanks.
        Rainer


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2008-10-31 13:28 ` ro at techfak dot uni-bielefeld dot de
@ 2008-12-27  6:36 ` pinskia at gcc dot gnu dot org
  2009-01-05 18:34 ` ro at techfak dot uni-bielefeld dot de
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-27  6:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pinskia at gcc dot gnu dot org  2008-12-27 06:35 -------
Does this happen still?


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2008-12-27  6:36 ` pinskia at gcc dot gnu dot org
@ 2009-01-05 18:34 ` ro at techfak dot uni-bielefeld dot de
  2009-01-05 20:01 ` hubicka at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2009-01-05 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from ro at techfak dot uni-bielefeld dot de  2009-01-05 18:34 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

pinskia at gcc dot gnu dot org writes:

> Does this happen still?

I'm pretty sure it does, though I've got the workarounds from Comment #10
in my tree to be able to test on the platform at all.  Unfortunately, Jan
hasn't yet worked on this, although he introduced both parts of this
regressions (and it can be reproduced in a cross compiler).

        Rainer


-- 


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2009-01-05 18:34 ` ro at techfak dot uni-bielefeld dot de
@ 2009-01-05 20:01 ` hubicka at gcc dot gnu dot org
  2009-01-06 14:29 ` ro at techfak dot uni-bielefeld dot de
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: hubicka at gcc dot gnu dot org @ 2009-01-05 20:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from hubicka at gcc dot gnu dot org  2009-01-05 20:01 -------
Hi,
sorry for delays, somehow non-tuplified alpha shot this off the todo list.
I still can't build the target:
../../gcc/mips-tfile.c:672:24: error: mips/a.out.h: No such file or directory
../../gcc/mips-tfile.c:693: error: 'scNil' undeclared here (not in a function)
../../gcc/mips-tfile.c:694: error: 'scText' undeclared here (not in a function)
../../gcc/mips-tfile.c:695: error: 'scData' undeclared here (not in a function)
../../gcc/mips-tfile.c:696: error: 'scBss' undeclared here (not in a function)
../../gcc/mips-tfile.c:697: error: 'scRegister' undeclared here (not in a
function)
../../gcc/mips-tfile.c:698: error: 'scAbs' undeclared here (not in a function)
../../gcc/mips-tfile.c:699: error: 'scUndefined' undeclared here (not in a
function)
../../gcc/mips-tfile.c:700: error: 'scCdbLocal' undeclared here (not in a
function)
../../gcc/mips-tfile.c:701: error: 'scBits' undeclared here (not in a function)
../../gcc/mips-tfile.c:702: error: 'scCdbSystem' undeclared here (not in a
function)
../../gcc/mips-tfile.c:703: error: 'scRegImage' undeclared here (not in a
function)
../../gcc/mips-tfile.c:704: error: 'scInfo' undeclared here (not in a function)

Honza


-- 

hubicka at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|alpha-dec-osf5.1b           |


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


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

* [Bug target/36851] [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2009-01-05 20:01 ` hubicka at gcc dot gnu dot org
@ 2009-01-06 14:29 ` ro at techfak dot uni-bielefeld dot de
  2009-04-21 15:59 ` [Bug target/36851] [4.4/4.5 " jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2009-01-06 14:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from ro at techfak dot uni-bielefeld dot de  2009-01-06 14:28 -------
Subject: Re:  [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64
UNIX

hubicka at gcc dot gnu dot org writes:

> sorry for delays, somehow non-tuplified alpha shot this off the todo list.

No problem, at least I've found a workaround for the time being.

> I still can't build the target:
> ../../gcc/mips-tfile.c:672:24: error: mips/a.out.h: No such file or directory
> ../../gcc/mips-tfile.c:693: error: 'scNil' undeclared here (not in a function)
[...]

This shouldn't matter: mips-tfile is only used to postprocess the
executable to introduce debugging information.  While this is a known
problem (PR target/3746), it doesn't matter since cross-gas doesn't work
for ecoff targets for a long time, so you can't cross-compile to
alpha-dec-osf anyway.

Since the problem at hand is a SEGV in cc1plus, just build that one.

Thanks.
        Rainer


-- 


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


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

* [Bug target/36851] [4.4/4.5 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  2009-01-06 14:29 ` ro at techfak dot uni-bielefeld dot de
@ 2009-04-21 15:59 ` jakub at gcc dot gnu dot org
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-04-21 15:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.0                       |4.4.1


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


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

* [Bug target/36851] [4.4/4.5 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  2009-04-21 15:59 ` [Bug target/36851] [4.4/4.5 " jakub at gcc dot gnu dot org
@ 2009-07-22 10:35 ` jakub at gcc dot gnu dot org
  2009-10-15 12:56 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-07-22 10:35 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.1                       |4.4.2


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


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

* [Bug target/36851] [4.4/4.5 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  2009-07-22 10:35 ` jakub at gcc dot gnu dot org
@ 2009-10-15 12:56 ` jakub at gcc dot gnu dot org
  2010-01-21 13:19 ` jakub at gcc dot gnu dot org
  2010-04-22 16:44 ` [Bug target/36851] [4.4/4.5/4.6 " ro at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-10-15 12:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.2                       |4.4.3


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


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

* [Bug target/36851] [4.4/4.5 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  2009-10-15 12:56 ` jakub at gcc dot gnu dot org
@ 2010-01-21 13:19 ` jakub at gcc dot gnu dot org
  2010-04-22 16:44 ` [Bug target/36851] [4.4/4.5/4.6 " ro at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-01-21 13:19 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.4.3                       |4.4.4


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


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

* [Bug target/36851] [4.4/4.5/4.6 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX
  2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  2010-01-21 13:19 ` jakub at gcc dot gnu dot org
@ 2010-04-22 16:44 ` ro at gcc dot gnu dot org
  19 siblings, 0 replies; 21+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-04-22 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from ro at gcc dot gnu dot org  2010-04-22 16:44 -------
Long fixed.

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


-- 

ro at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-04-22 16:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-16 16:11 [Bug bootstrap/36851] New: [4.4 regression] cc1plus SEGV compiling strstream.cc on Tru64 UNIX ro at gcc dot gnu dot org
2008-07-22 12:06 ` [Bug bootstrap/36851] " ro at gcc dot gnu dot org
2008-08-01 14:28 ` ro at gcc dot gnu dot org
2008-08-01 16:07 ` [Bug target/36851] " rguenth at gcc dot gnu dot org
2008-08-01 16:23 ` ro at gcc dot gnu dot org
2008-08-01 16:25 ` ro at techfak dot uni-bielefeld dot de
2008-08-02 10:50 ` jh at suse dot cz
2008-08-02 11:33 ` jh at suse dot cz
2008-08-08 22:46 ` mmitchel at gcc dot gnu dot org
2008-09-09 16:46 ` ro at techfak dot uni-bielefeld dot de
2008-09-30 15:40 ` ro at gcc dot gnu dot org
2008-10-31 13:28 ` ro at techfak dot uni-bielefeld dot de
2008-12-27  6:36 ` pinskia at gcc dot gnu dot org
2009-01-05 18:34 ` ro at techfak dot uni-bielefeld dot de
2009-01-05 20:01 ` hubicka at gcc dot gnu dot org
2009-01-06 14:29 ` ro at techfak dot uni-bielefeld dot de
2009-04-21 15:59 ` [Bug target/36851] [4.4/4.5 " jakub at gcc dot gnu dot org
2009-07-22 10:35 ` jakub at gcc dot gnu dot org
2009-10-15 12:56 ` jakub at gcc dot gnu dot org
2010-01-21 13:19 ` jakub at gcc dot gnu dot org
2010-04-22 16:44 ` [Bug target/36851] [4.4/4.5/4.6 " ro 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).