tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: ld.elf_so core dump: NULL ehdr in _rtld_init



On Sat, Jul 27, 2024 at 08:53:56AM +0200, Thomas Klausner wrote:
> > Or provide the binary?
> 
> http://www.netbsd.org/~wiz/current_exe_mismatch.tar.gz

Thanks!

The binary seems not to be the issue itself, it runs fine and does strange
things:

  1751   1751 current_exe_mism CALL  execve(0x7e2e41557040,0x7e2e41557080,0x7e2e41508000)
  1751   1751 current_exe_mism NAMI  "/usr/libexec/ld.elf_so"

and running /usr/libexec/ld.elf_so directly is not supported on NetBSD.
I guess it is some linuxism to get something simmilar to our ldd output
(the program previously runs readelf, maybe it is trying to compare output).

So nothing wrong with NetBSD AFAICT, but just a bogus test.

Martin


Home | Main Index | Thread Index | Old Index