[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] qemu-i386 segfaults running "hello world".
From: |
Rob Landley |
Subject: |
Re: [Qemu-devel] qemu-i386 segfaults running "hello world". |
Date: |
Sun, 24 Jun 2007 01:40:52 -0400 |
User-agent: |
KMail/1.9.6 |
On Saturday 23 June 2007 03:27:03 Alexander Graf wrote:
> I guess you're running on i586 then?
Athlon. (/proc/cpuinfo says "AMD Sempron(tm) 2200+")
> I only tried this on ppc.
> Last time I checked the code-copy stuff was broken, so maybe it helps
> to disable that?
What code-copy stuff? (How do I disable that?)
> If that doesn't work either - would you mind to gdb it and run a "bt"
> when it segfaulted so we can see if the segfault is in the generated
> code?
Sure... except it has no debugging symbols so the backtrace is just numbers
and an occasional library name. How about... Huh, ./configure --help doesn't
show any sort of --enable-debug... Trying "./configure --extra-cflags=-g"...
Nope, that stripped it too. Ok, grep for "strip" and it shows up in multiple
places. It's in ./configure but I can't seem to tell configure not to do it.
Maybe "make STRIP=echo" would work? Nope...
Grrr:
make clean
mkdir sub
ln /bin/echo sub/strip
PATH=`pwd`/sub:$PATH make
Ok, that didn't do it either.
Would somebody like to clue me in on how to get this darn thing to build a
version with debugging symbols, please?
In the meantime:
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x800773a9 in ?? ()
#2 0x00000001 in ?? ()
#3 0xbff09304 in ?? ()
#4 0xbff0930c in ?? ()
#5 0xb7f75ff4 in ?? ()
#6 0xb7fc77b0 in ?? () from /lib/ld-linux.so.2
#7 0x80077350 in ?? ()
#8 0xffffffee in ?? ()
#9 0xb7f75ff4 in ?? ()
#10 0xb7fd3ce0 in ?? () from /lib/ld-linux.so.2
#11 0x80077350 in ?? ()
#12 0xbff092d8 in ?? ()
#13 0xb7e4ee61 in ?? ()
#14 0x00000001 in ?? ()
#15 0xbff09304 in ?? ()
#16 0xbff0930c in ?? ()
#17 0xb7fbbdcb in ?? () from /lib/ld-linux.so.2
#18 0x00000000 in ?? ()
Kind of useless...
> Alex
Rob
--
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson.
Re: [Qemu-devel] qemu-i386 segfaults running "hello world"., Rob Landley, 2007/06/23
Re: [Qemu-devel] qemu-i386 segfaults running "hello world"., Nigel Horne, 2007/06/23
Re: [Qemu-devel] [PATCH] qemu-i386 segfaults running "hello world"., Stefan Weil, 2007/06/23