Hi List -
I am getting an error running gdb. Is this a known issue? Can I safely
ignore it? Is there a fix or work-around?
I am running gdb on a minimal hello-world program. When I execute the
"run" command, I get four copies of the following error (but the program
runs, seemingly correctly, to completion):
Error: dll starting at 0x... not found.
Specifically, I run gdb as
and then execute gdb's "run" command.
I am running 32-bit mingw on 64-bit windows 7.
I am using the tdm mingw download. "g++ --version" reports
"g++ (TDM-2 mingw32) 4.4.1", and gdb --version" reports
"GNU gdb 6.8" and "This GDB was configured as "i686-pc-mingw32"."
I have seen several references to this error on various list archives, but most
were not very informative, and none I saw suggested a solution. The most
informative comments I saw were from a 2006 mingw bug report:
gdb crashes in windows xp 64 - ID: 1500271
This suggests that it's an x64 problem. (Some of the other comments I found
also speculated that there could be an x64 link.)
I also saw some speculation that ASLR might be the problem, but that seems
less likely, because -- blindly following a suggestion I saw in a
posting -- I ran
"objdump -p" on my executable, and the output:
supposedly means than ASLR is not enabled. (For what it's worth, "objdump
-p mingwm10.dll" also reports "DllCharacteristics 00000000".)
Anyway, dll not found... Does anybody know what's going on? Is there a fix?
Can I just ignore it?