[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: SunOS4 bootstrap failure building libstdc++, egcs-CVS19981129
From: "Kaveh R. Ghazi" <ghazi () caip ! rutgers ! edu>
Date: 1998-11-30 16:44:45
[Download RAW message or body]
Snapshot: egcs-CVS19981129
Platform: sparc-sun-sunos4.1.4
Stage1 compiler: cc
Assembler: native
Linker: native
BOOT_CFLAGS: -g -O2 -D__USE_FIXED_PROTOTYPES__ -pipe
I get the following failure building egcs, (after the three
stage bootstrap when it compiles libstdc++):
> /a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19981129/gcc/xgcc
> -B/a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19981129/gcc/
> -B/usr/local/sparc-sun-sunos4.1.4/bin/ -c -g -O2
> -fno-implicit-templates -I. -I./stl -I../libio -I./../libio
> -nostdinc++ -DC `for N in REP MAIN TRAITS ADDSS ADDPS ADDCS
> ADDSP ADDSC EQSS EQPS EQSP NESS NEPS NESP LTSS LTPS LTSP GTSS GTPS
> GTSP LESS LEPS LESP GESS GEPS GESP; do echo " -D${N}"; done`
> ./sinst.cc -o cstrmain.o
>
> std/bastring.h: In instantiation of
> `basic_string<char,string_char_traits<char>,__default_alloc_template<false,0> \
>::npos': > ./sinst.cc:55: instantiated from here
> std/bastring.h:110: Internal compiler error.
> std/bastring.h:110: Please submit a full bug report to `egcs-bugs@cygnus.com'.
> std/bastring.h:110: See
> <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
Here is the backtrace from gdb. Variable `insn' has the value 0x3.
Note, this only happens on SunOS4, not Solaris2.5.
If there is any other info I can provide, (e.g. the preprocessed
source, 96K) please let me know.
--Kaveh
> (gdb) run -g -O2 -fno-implicit-templates -nostdinc++ sinst.ii -quiet -dumpbase
>
> Starting program:
> /a/caip/a47/u47/ghazi/gcc-testing/sunos-test/egcs-CVS19981129/sparc-sun-sunos4.1.4/libstdc++/../../gcc/cc1plus
> -g -O2 -fno-implicit-templates -nostdinc++ sinst.ii -quiet -dumpbase
>
> Program received signal SIGBUS, Bus error.
> 0x1265b8 in leaf_function_p () at final.c:3983
> 3983 for (insn = get_insns (); insn; insn = NEXT_INSN (insn))
> (gdb) where
> #0 0x1265b8 in leaf_function_p () at final.c:3983
> #1 0xf42c8 in init_elim_table () at reload1.c:3667
> #2 0xf28f0 in eliminate_regs (x=0x4f8900, mem_mode=VOIDmode, insn=0x0) at \
reload1.c:2655 > #3 0x8249c in dbxout_symbol (decl=0x4f8790, local=0) at \
dbxout.c:1936 > #4 0x66a84 in assemble_variable (decl=0x4f8790, top_level=1, \
at_end=0, dont_output_data=0) at varasm.c:1474 > #5 0xa7dc in \
rest_of_decl_compilation (decl=0x4f8790, asmspec=0x0, top_level=1, at_end=0) at \
toplev.c:3325 > #6 0x198f2c in cp_finish_decl (decl=0x4f8790, init=0x0, \
asmspec_tree=0x0, need_pop=0, flags=0) at decl.c:7616 > #7 0x1b58b8 in \
instantiate_decl (d=0x4f8790) at pt.c:8659 > #8 0x1b5268 in do_type_instantiation \
(t=0x4f7e60, storage=0x0) at pt.c:8370 > #9 0x1f2ba8 in yyparse () at parse.y:862
> #10 0x9c48 in compile_file (name=0xeffffbee "sinst.ii") at toplev.c:2900
> #11 0xe344 in main (argc=8, argv=0xeffffaac) at toplev.c:5152
> (gdb)
--
Kaveh R. Ghazi Engagement Manager / Project Services
ghazi@caip.rutgers.edu Icon CMT Corp.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic