public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process
@ 2011-11-19 18:31 basil at list dot ru
  2011-11-21  0:49 ` [Bug c++/51221] " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: basil at list dot ru @ 2011-11-19 18:31 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 51221
           Summary: Cross GCC for AIX fails during bootstrap process
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: basil@list.ru
              Host: x86_64-linux-gnu
            Target: powerpc-ibm-aix5.2.0.0


Created attachment 25860
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25860
preprocessed file

GCC was configured with
/emc/sukhav/cross/gcc-4.6.2//configure --prefix=/emc/sukhav/cross/aix/gcc462
--with-sysroot=/emc/sukhav/cross/aix/sysroot --target=powerpc-ibm-aix5.2.0.0
--with-gnu-as --with-gnu-ld --enable-languages=c,c++

Bootstrap failes with
/emc/sukhav/cross/aix/gcc462/temp/./gcc/xgcc
-B/emc/sukhav/cross/aix/gcc462/temp/./gcc/
-B/emc/sukhav/cross/aix/gcc462/powerpc-ibm-aix5.2.0.0/bin/
-B/emc/sukhav/cross/aix/gcc462/powerpc-ibm-aix5.2.0.0/lib/ -isystem
/emc/sukhav/cross/aix/gcc462/powerpc-ibm-aix5.2.0.0/include -isystem
/emc/sukhav/cross/aix/gcc462/powerpc-ibm-aix5.2.0.0/sys-include    -g -O2
-pthread -O2  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -mlong-double-128 -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector 
 -I. -I. -I../../.././gcc -I/emc/sukhav/cross/gcc-4.6.2/libgcc
-I/emc/sukhav/cross/gcc-4.6.2/libgcc/.
-I/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc
-I/emc/sukhav/cross/gcc-4.6.2/libgcc/../include  -DHAVE_CC_TLS -DUSE_EMUTLS -o
unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind-dw2.c
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind-dw2.c: In function
âuw_init_context_1â:
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind-dw2.c:1461:5: warning: missing
braces around initializer [-Wmissing-braces]
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind-dw2.c:1461:5: warning: (near
initialization for âonce_regsizes.__on_wordâ) [-Wmissing-braces]
In file included from
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind-dw2.c:1582:0:
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind.inc: In function
â_Unwind_ForcedUnwind_Phase2â:
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind.inc:189:1: error:
unrecognizable insn:
(insn 34 33 35 8 (set (mem/v:DI (plus:DI (reg/f:SI 1 1)
                (const_int 20 [0x14])) [0 S8 A8])
        (reg:SI 2 2)) /emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind.inc:163
-1
     (nil))
/emc/sukhav/cross/gcc-4.6.2/libgcc/../gcc/unwind.inc:189:1: internal compiler
error: in extract_insn, at recog.c:2109
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Preprocessed file attached.


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

* [Bug c++/51221] Cross GCC for AIX fails during bootstrap process
  2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
@ 2011-11-21  0:49 ` paolo.carlini at oracle dot com
  2011-11-30 16:40 ` iains at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-11-21  0:49 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dje at gcc dot gnu.org
           Severity|critical                    |normal

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-11-20 23:18:25 UTC ---
David, can you have a look to this one too?


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

* [Bug c++/51221] Cross GCC for AIX fails during bootstrap process
  2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
  2011-11-21  0:49 ` [Bug c++/51221] " paolo.carlini at oracle dot com
@ 2011-11-30 16:40 ` iains at gcc dot gnu.org
  2011-11-30 17:00 ` iains at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2011-11-30 16:40 UTC (permalink / raw)
  To: gcc-bugs

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

Iain Sandoe <iains at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011-11-30
                 CC|                            |iains at gcc dot gnu.org
               Host|x86_64-linux-gnu            |x86_64-linux-gnu,
                   |                            |x86_64-apple-darwin10
     Ever Confirmed|0                           |1

--- Comment #2 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-30 16:15:13 UTC ---

confirmed on a cross from x86-64-darwin10 => powerpc-ibm-aix6.1.3.0
with gcc-4-6-branch r181845
using cvs binutils (2011/11/30).

using gcc-4.6-svn-r180685 as the bootstrap compiler.


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

* [Bug c++/51221] Cross GCC for AIX fails during bootstrap process
  2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
  2011-11-21  0:49 ` [Bug c++/51221] " paolo.carlini at oracle dot com
  2011-11-30 16:40 ` iains at gcc dot gnu.org
@ 2011-11-30 17:00 ` iains at gcc dot gnu.org
  2011-11-30 17:37 ` iains at gcc dot gnu.org
  2012-02-01  2:16 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2011-11-30 17:00 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-30 16:48:07 UTC ---
also on a cross from powerpc-darwin9 => powerpc-ibm-aix6.1.3.0

4.7.0 trunk (r181818 & r181773 resp.) builds OK (on powerpc-darwin9,
x86_64-darwin10)

is this a regression in the 4.6 branch (i.e did 4.6.0/1 work?)


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

* [Bug c++/51221] Cross GCC for AIX fails during bootstrap process
  2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
                   ` (2 preceding siblings ...)
  2011-11-30 17:00 ` iains at gcc dot gnu.org
@ 2011-11-30 17:37 ` iains at gcc dot gnu.org
  2012-02-01  2:16 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: iains at gcc dot gnu.org @ 2011-11-30 17:37 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-30 17:16:11 UTC ---
(gdb) bt
#0  extract_insn (insn=0x16263f0) at /GCC/gcc-4-6-branch/gcc/recog.c:2109
#1  0x005d4090 in instantiate_virtual_regs_in_insn (insn=0x16263f0) at
/GCC/gcc-4-6-branch/gcc/function.c:1572
#2  0x005d5758 in instantiate_virtual_regs () at
/GCC/gcc-4-6-branch/gcc/function.c:1928
#3  0x007c0938 in execute_one_pass (pass=0x1006d94) at
/GCC/gcc-4-6-branch/gcc/passes.c:1556
#4  0x007c0ca8 in execute_pass_list (pass=0x1006d94) at
/GCC/gcc-4-6-branch/gcc/passes.c:1611
#5  execute_pass_list (pass=0x10075d4) at /GCC/gcc-4-6-branch/gcc/passes.c:1613
#6  0x009c7e3c in tree_rest_of_compilation (fndecl=0x128e980) at
/GCC/gcc-4-6-branch/gcc/tree-optimize.c:422
#7  0x00c75bc8 in cgraph_expand_function (node=0x12b8540) at
/GCC/gcc-4-6-branch/gcc/cgraphunit.c:1576
#8  0x00c75ec0 in cgraph_expand_all_functions () at
/GCC/gcc-4-6-branch/gcc/cgraphunit.c:1635
#9  0x00c76a60 in cgraph_optimize () at
/GCC/gcc-4-6-branch/gcc/cgraphunit.c:1899
#10 0x00c74664 in cgraph_finalize_compilation_unit () at
/GCC/gcc-4-6-branch/gcc/cgraphunit.c:1096
#11 0x000229b4 in c_write_global_declarations () at
/GCC/gcc-4-6-branch/gcc/c-decl.c:9871
#12 0x0092be78 in compile_file () at /GCC/gcc-4-6-branch/gcc/toplev.c:591
#13 0x009301b0 in do_compile () at /GCC/gcc-4-6-branch/gcc/toplev.c:1900
#14 0x00930464 in toplev_main (argc=27, argv=0xbffff174) at
/GCC/gcc-4-6-branch/gcc/toplev.c:1963
#15 0x000ee41c in main (argc=27, argv=0xbffff174) at
/GCC/gcc-4-6-branch/gcc/main.c:36


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

* [Bug c++/51221] Cross GCC for AIX fails during bootstrap process
  2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
                   ` (3 preceding siblings ...)
  2011-11-30 17:37 ` iains at gcc dot gnu.org
@ 2012-02-01  2:16 ` pinskia at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-02-01  2:16 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-02-01 02:15:48 UTC ---
Dup of bug 50882.

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


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

end of thread, other threads:[~2012-02-01  2:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-19 18:31 [Bug c++/51221] New: Cross GCC for AIX fails during bootstrap process basil at list dot ru
2011-11-21  0:49 ` [Bug c++/51221] " paolo.carlini at oracle dot com
2011-11-30 16:40 ` iains at gcc dot gnu.org
2011-11-30 17:00 ` iains at gcc dot gnu.org
2011-11-30 17:37 ` iains at gcc dot gnu.org
2012-02-01  2:16 ` pinskia at gcc dot gnu.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).