[Pdbg] [PATCH] build: add hint for interpreter location fix

Joel Stanley joel at jms.id.au
Mon Jan 11 15:58:09 AEDT 2021


On Mon, 21 Dec 2020 at 10:18, Nicholas Piggin <npiggin at gmail.com> wrote:
>
> For some reason my environment requires this.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>



> ---
>  README.md | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/README.md b/README.md
> index abc2088..7892a8d 100644
> --- a/README.md
> +++ b/README.md
> @@ -25,6 +25,12 @@ make
>  rsync pdbg root at bmc:/usr/local/bin
>  ```
>
> +Depending on your cross compile environment, you may get a message like
> +`pdbg: No such file or directory` when execting the binary on the BMC,
> +which may be fixable by correcting loader location:
> +
> +`patchelf --set-interpreter /lib/ld-linux-armhf.so.3 pdbg`

Interesting. What toolchain do you use?

What does patchelf --print-interpreter tell you before you patch it?

Regardless:

Reviewed-by: Joel Stanley <joel at jms.id.au>

> +
>  ## Usage
>
>  Several backends are supported depending on which system you are using and are
> --
> 2.23.0
>
> --
> Pdbg mailing list
> Pdbg at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/pdbg


More information about the Pdbg mailing list