D.gnu - Compiling GDC 0.11 on PPC Linux
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/6) May 13 2005 gdc segfaults when compiling gcc/deh.d, how would
- David Friedman (6/15) May 13 2005 Start the "cc1d" executable in gdb, wait for it crash, and type "bt".
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (6/10) Jul 16 2005 It still crashes with GDC 0.15 and GCC 3.4.4, so I
- David Friedman (6/25) Jul 16 2005 "info args" and "info locals" should work. I'm not sure what the error
gdc segfaults when compiling gcc/deh.d, how would I get a stacktrace or some more usable debug info ? (i.e. the brand new GDC compiler based on GCC 3.4.3, when bootstrapping the Phobos library in the make) --anders PS. Target was "ppc-yellowdog-linux"
May 13 2005
Anders F Björklund wrote:gdc segfaults when compiling gcc/deh.d, how would I get a stacktrace or some more usable debug info ? (i.e. the brand new GDC compiler based on GCC 3.4.3, when bootstrapping the Phobos library in the make) --anders PS. Target was "ppc-yellowdog-linux"Start the "cc1d" executable in gdb, wait for it crash, and type "bt". The data from "info args" and "info locals" would also be useful. To get the exact command line arguments for cc1d, add the -v option to the gdc command as printed by make with the -v option. David
May 13 2005
David Friedman wrote:gdc segfaults when compiling gcc/deh.d, how would I get a stacktrace or some more usable debug info ?Start the "cc1d" executable in gdb, wait for it crash, and type "bt". The data from "info args" and "info locals" would also be useful.It still crashes with GDC 0.15 and GCC 3.4.4, so I thought I'd finally get around to doing the trace... How do I do the "info" commands ? Are those in GDB ? (as it just said: "No symbol table info available.") --anders
Jul 16 2005
Anders F Björklund wrote:David Friedman wrote:"info args" and "info locals" should work. I'm not sure what the error means since there is obviously some debugging information present. It may be an older gdb/newer compiler issue. In any case, I think I can figure out the problem from the backtrace. Thanks! Davidgdc segfaults when compiling gcc/deh.d, how would I get a stacktrace or some more usable debug info ?Start the "cc1d" executable in gdb, wait for it crash, and type "bt". The data from "info args" and "info locals" would also be useful.It still crashes with GDC 0.15 and GCC 3.4.4, so I thought I'd finally get around to doing the trace... How do I do the "info" commands ? Are those in GDB ? (as it just said: "No symbol table info available.") --anders
Jul 16 2005