With a unified tree and LAST_UPDATED "Tue May 17 19:08:14 UTC 2005",
building a unified tree worked on this host+target combination.
With LAST_UPDATED: "Wed May 18 06:16:27 UTC 2005" I get:

/bin/sh ./libtool --mode=compile /home/hp/combined/mmix-regobj/./gcc/xgcc
-B/home/hp/combined/mmix-regobj/./gcc/ -nostdinc -B/hom\
e/hp/combined/mmix-regobj/mmix-knuth-mmixware/newlib/ -isystem
/home/hp/combined/mmix-regobj/mmix-knuth-mmixware/newlib/targ-incl\
ude -isystem /home/hp/combined/combined/newlib/libc/include
-B/tmp/reg-mmix/mmix-knuth-mmixware/bin/ -B/tmp/reg-mmix/mmix-knuth-m\
mixware/lib/ -isystem /tmp/reg-mmix/mmix-knuth-mmixware/include -isystem
/tmp/reg-mmix/mmix-knuth-mmixware/sys-include -L/home/hp\
/combined/mmix-regobj/./ld -fgnu-runtime -c -o Object.lo -I.
-I/home/hp/combined/combined/libobjc   -O2 -g -O2 -W -Wall -Wwrite-s\
trings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_LIBS -fno-strict-aliasing \
        -I/home/hp/combined/combined/libobjc/objc 
-I/home/hp/combined/combined/libobjc/../gcc -I/home/hp/combined/combined/libob\
jc/../gcc/config -I../.././gcc -I/home/hp/combined/combined/libobjc/../include
/home/hp/combined/combined/libobjc/Object.m
/home/hp/combined/mmix-regobj/./gcc/xgcc -B/home/hp/combined/mmix-regobj/./gcc/
-nostdinc -B/home/hp/combined/mmix-regobj/mmix-kn\
uth-mmixware/newlib/ -isystem
/home/hp/combined/mmix-regobj/mmix-knuth-mmixware/newlib/targ-include -isystem
/home/hp/combined/co\
mbined/newlib/libc/include -B/tmp/reg-mmix/mmix-knuth-mmixware/bin/
-B/tmp/reg-mmix/mmix-knuth-mmixware/lib/ -isystem /tmp/reg-mm\
ix/mmix-knuth-mmixware/include -isystem
/tmp/reg-mmix/mmix-knuth-mmixware/sys-include
-L/home/hp/combined/mmix-regobj/./ld -fgnu-\
runtime -c -I. -I/home/hp/combined/combined/libobjc -O2 -g -O2 -W -Wall
-Wwrite-strings -Wstrict-prototypes -DIN_GCC -DIN_TARGET_\
LIBS -fno-strict-aliasing -I/home/hp/combined/combined/libobjc/objc
-I/home/hp/combined/combined/libobjc/../gcc -I/home/hp/combin\
ed/combined/libobjc/../gcc/config -I../.././gcc
-I/home/hp/combined/combined/libobjc/../include
/home/hp/combined/combined/libobj\
c/Object.m -o Object.o
/home/hp/combined/combined/libobjc/Object.m: In function '-[Object performv::]':
/home/hp/combined/combined/libobjc/Object.m:279: internal compiler error:
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [Object.lo] Error 1
make[3]: Leaving directory
`/home/hp/combined/mmix-regobj/mmix-knuth-mmixware/libobjc'

Running with -save-temps -v shows a little different error message:

/home/hp/combined/combined/libobjc/Object.m: In function '+[Object version]':
/home/hp/combined/combined/libobjc/Object.m:342: internal compiler error: in
tree_node_structure, at tree.c:1815

A gdb backtrace from the corresponding cc1obj call:
(gdb) bt
#0  fancy_abort (file=0x7b27e8 "/home/hp/combined/combined/gcc/tree.c",
line=1815, function=0x92a1b0 "tree_node_structure")
    at /home/hp/combined/combined/gcc/diagnostic.c:588
#1  0x0000000000682c85 in tree_node_structure (t=0x7b27e8) at
/home/hp/combined/combined/gcc/tree.c:1815
#2  0x000000000042b90a in gt_ggc_mx_lang_tree_node (x_p=Variable "x_p" is not
available.
) at ./gt-c-decl.h:71
#3  0x000000000060a284 in gt_ggc_m_P9tree_node4htab (x_p=Variable "x_p" is not
available.
) at gtype-desc.c:1420
#4  0x0000000000605eb7 in ggc_mark_roots () at
/home/hp/combined/combined/gcc/ggc-common.c:118
#5  0x00000000006a6997 in ggc_collect () at
/home/hp/combined/combined/gcc/ggc-page.c:1972
#6  0x0000000000495b89 in execute_todo (pass=0x91abc0, flags=151,
use_required=Variable "use_required" is not available.
)
    at /home/hp/combined/combined/gcc/tree-optimize.c:553
#7  0x0000000000495dca in execute_pass_list (pass=0x91abc0) at
/home/hp/combined/combined/gcc/tree-optimize.c:635
#8  0x0000000000495d72 in execute_pass_list (pass=0x9178c0) at
/home/hp/combined/combined/gcc/tree-optimize.c:658
#9  0x000000000049606d in tree_rest_of_compilation (fndecl=0x2aaaadb6b4e0) at
/home/hp/combined/combined/gcc/tree-optimize.c:788
#10 0x0000000000429523 in c_expand_body (fndecl=0x2aaaadb6b4e0) at
/home/hp/combined/combined/gcc/c-decl.c:6582
#11 0x00000000006c351e in cgraph_expand_function (node=0x2aaaadb6b820) at
/home/hp/combined/combined/gcc/cgraphunit.c:993
#12 0x00000000006c3fcd in cgraph_optimize () at
/home/hp/combined/combined/gcc/cgraphunit.c:1057
#13 0x000000000068273e in toplev_main (argc=Variable "argc" is not available.
) at /home/hp/combined/combined/gcc/toplev.c:1013
#14 0x000000371c71c4cc in __libc_start_main () from /lib64/libc.so.6
#15 0x0000000000402609 in _start ()
#16 0x00007ffffffff748 in ?? ()
#17 0x0000000000000000 in ?? ()

-- 
           Summary: mmix-knuth-mmixware broken libobjc/Object.m
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, build
          Severity: normal
          Priority: P2
         Component: objc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu (FC4t2)
GCC target triplet: mmix-knuth-mmixware


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

Reply via email to