0

我有以下版本的 Cygwin、yasm、gcc 和 gdb:

CYGWIN_NT-5.1 Thorondor 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin
yasm 1.1.0.2352
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
GNU gdb 6.8.0.20080328-cvs (cygwin-special)

我使用以下命令编译了 vp8:

$ ./configure --enable-debug
$ make

但是,当我尝试使用 GDB 进行调试时,出现以下错误:

$ gdb simple_decoder.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/
gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show
copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
Dwarf Error: bad offset (0x4c4000) in compilation unit header (offset
0x0 + 6) [in module /cygdrive/
c/work/vp8/csim/build/simple_decoder.exe]
(gdb) q

有人可以帮我解决这个问题吗?

谢谢,

阿琼

4

1 回答 1

0

您的编译器和 binutils 太旧了。这在 2000 年左右得到解决,故障来自链接器(参见http://gcc.gnu.org/ml/gcc-bugs/2000-06/msg00768.html

于 2010-11-27T20:07:29.273 回答