Re: ldd misreports some apps as not dynamic

2001-10-17 Thread Jeff Bailey
On Wed, Oct 17, 2001 at 09:28:42PM -0400, Roland McGrath wrote: > I hope that stepping through the stubs added to your understanding > of how RPC's are marshalled into Mach messages. But the upshot is > that the io_map RPC is returning EOPNOTSUPP. (And the easy way to > see that in the debugger

Re: ldd misreports some apps as not dynamic

2001-10-17 Thread Roland McGrath
> ./main: error while loading shared libraries: ./main: failed to map segment from >shared object: Error 1073741869 That value is EOPNOTSUPP (I used "p (error_t)1073741869" in gdb). > > Also, show us objdump --private-headers of both executables. This stuff is probably not actually relevant in

Re: ldd misreports some apps as not dynamic

2001-10-17 Thread Jeff Bailey
On Wed, Oct 17, 2001 at 04:11:00AM -0400, Roland McGrath wrote: As before "./mutt" (the working one) is the one on top, and "./main" (the not working one) is the one of bottom. > See if you can get anything telling out of LD_DEBUG before you look too > hard with gdb. LD_DEBUG=help .../ld.so --v

Re: ldd misreports some apps as not dynamic

2001-10-17 Thread Roland McGrath
See if you can get anything telling out of LD_DEBUG before you look too hard with gdb. LD_DEBUG=help .../ld.so --verify should show you the options. Also, show us objdump --private-headers of both executables. This is a good thing to always include when the dynamic linker is involved. Try some

ldd misreports some apps as not dynamic

2001-10-16 Thread Jeff Bailey
The symptom is that executables produced on my system show up as: jbailey@hurd:~/test$ ldd main not a dynamic executable However, a few things suggest that it really is: jbailey@hurd:~/test$ file main main: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses sha