This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Failed build egcs-971031 on AIX 4.2 (more info)


Hi,
After preprocessing cinst.cc I tried to run cc1plus manually
under gdb. Below there is gdb output:
------------------------------------------------------------
pooh@forest:~/src/egcs-971031/libraries/libstdc++$ gdb
/home/pooh/src/egcs-971031/gcc/cc1plus
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (powerpc-ibm-aix4.1.4.0), Copyright 1996 Free Software Foundation,
Inc...
(gdb) run ./cinst.ii -dumpbase cinst.cc -g -O2 -version -fno-implicit-templates
-quiet -o ./cinst.s
Starting program: /home/pooh/src/egcs-971031/gcc/cc1plus ./cinst.ii -dumpbase
cinst.cc -g -O2 -version -fno-implicit-templates -quiet -o ./cinst.s
GNU C++ version egcs-2.90.15 971031 (gcc2-970802 experimental)
(powerpc-ibm-aix4.2.1.0) compiled by GNU C version 2.7.2.2.

Program received signal SIGINT, Interrupt.
0xd00047b0 in malloc_y ()
(gdb) bt
#0  0xd00047b0 in malloc_y ()
#1  0xd0004708 in malloc_y ()
#2  0xd000214c in malloc ()
#3  0x10001d10 in xmalloc (size=4072) at toplev.c:1926
#4  0x10012580 in _obstack_newchunk (h=0x2002e638, length=-263497744) at
obstack.c:232
#5  0x100101ec in rtx_alloc (code=ADDRESS) at rtl.c:234
#6  0x1000a3a4 in gen_rtx (code=ADDRESS, mode=VOIDmode) at emit-rtl.c:370
#7  0x1016285c in init_alias_analysis () at alias.c:1034
#8  0x102272dc in update_equiv_regs () at local-alloc.c:1022
#9  0x10225d10 in local_alloc () at local-alloc.c:409
#10 0x10004f74 in rest_of_compilation (decl=0x2011d318) at toplev.c:3489
#11 0x101f7138 in output_inline_function (fndecl=0x2011d318) at integrate.c:3274
#12 0x100e7b4c in finish_file () at decl2.c:3269
#13 0x1020af40 in yyparse () at parse.y:100
#14 0x1000300c in compile_file (name=0x2ff22b77 "./cinst.ii") at toplev.c:2513
#15 0x10006570 in main (argc=11, argv=0x2ff22a98, envp=0x20343d40) at
toplev.c:4394
#16 0x100001c8 in __start ()
(gdb)
--------------------------------------------------------------------
It seems to me that parameter length=-263497744 in call of
_obstack_newchunk() is invalid. Any help will be appreciated.

Andrey Slepuhin,
Moscow State University


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]