rlwrap+ocaml = random reboots

Matthew Dillon dillon at apollo.backplane.com
Wed Jun 23 20:13:03 PDT 2004

:Nope, it panicked just now.  But this time it saved core, which it
:didn't last time.
:However, I can't seem to run gdb:  if I type gdb, I get
:gdb: in path []/usr/libexec/binutils214/elf/gdb: No such file or directory
:and if I type 
:I get 
:This GDB was configured as "i386-unknown-dragonfly"...Deprecated bfd_read called at /usr/home/rsidd/dflysrc/src/contrib/gdb/gdb/dwarf2read.c line 3049 in dwarf2_read_section
:Dwarf Error: Cannot handle DW_FORM_strp in DWARF reader.
:kernel symbol `ncpus' not found.
:So what do I do?  (sorry if I missed discussion on the lists already)
:(kernel is compiled with gcc 3.3.3 20040126, -O -pipe -mcpu=i686 -march=i686)

    Yes, I can see you compiled the kernel w/ gcc 3.3.3.

    Turn off -mcpu, turn off -march, and compile your kernel with GCC2.
    turning on machine optimizations with gcc 3.3.3 will generate bad code
    and, really, it won't make the kernel all that much faster (if at all).

    Also something doesn't make sense... we recently adjusted gcc 3.x to
    generate older STABS debug output. Your kernel.debug should be in
    STABS format, not in DWARF format.  So it sounds like you also need
    to do a buildworld and installworld.

    But do it all with gcc-2.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Bugs mailing list