From patchwork Mon Dec 21 10:17:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 1418956 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CzwQj0nWrz9sVw for ; Mon, 21 Dec 2020 21:18:05 +1100 (AEDT) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iu0HVpVx; dkim-atps=neutral Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4CzwQh617qzDqPb for ; Mon, 21 Dec 2020 21:18:04 +1100 (AEDT) X-Original-To: pdbg@lists.ozlabs.org Delivered-To: pdbg@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gmail.com (client-ip=2607:f8b0:4864:20::1030; helo=mail-pj1-x1030.google.com; envelope-from=npiggin@gmail.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=iu0HVpVx; dkim-atps=neutral Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4CzwQP3kkTzDqNm for ; Mon, 21 Dec 2020 21:17:48 +1100 (AEDT) Received: by mail-pj1-x1030.google.com with SMTP id j13so6191733pjz.3 for ; Mon, 21 Dec 2020 02:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=TLE2BfPnddvFIcBhy4H3STRtAz24EAe4XEPYqMQ+qVo=; b=iu0HVpVxWGdjR/p/x8B6BqsyqEhfZBB7Z0eGJM+U3i+5TJAr8i+vG5B9S+u/82PCSf tPoqY0z1XdI6qUm4dUqGSHaUr90bcAmqHR0W3N4ReObQGI45FzRhwcjV4vyadxB5aNRu OKLw/yZ65YhJg9W19dKBZXVVzMmsX7n9Gx99J9d0z2gF+ZxKPUbpHFLs1HLgm0Y/PYKt 7Eagl3XmGr0okdRrs1pBUrlqLqqloarOVpxDAvM03JON+2sUxKYGFOkPptuCyfGDZqKQ NlefOMnEv+nplBW5iMm3ju9XqGCp8xGtf4JYkAexckBRPMzLgKZY7GKFXyleHRGzIcfg QxAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=TLE2BfPnddvFIcBhy4H3STRtAz24EAe4XEPYqMQ+qVo=; b=BqaADdtR0BE57G4gIXS0sLEsmX/wSYDE7cDJSiDeXiFsIzCvo1Woc1nik/f3SWUHdS +ycdxfiQLafwiGIXstc9lN2EFl7UfGrFof5jXg5xt1pXiyC2mG8ehpwp05Dx3rg7gatC oZGkt+6RMjUqqNBsJN7okVvQRIDC4UrhUOBsqeaZ2aOHklHG9LeH7DrgCwahYR11M6h+ v9jTBWSeG3hjpw3ZLLaZWWhoLiy8bkvjbCQPsytPAofaA8Lko6mzoLZLIsdemQhqmk+2 GxB6qI1wx0vGSlVA6oImItaijRWX8SMEB1GAzfbt+FDLgnC4Sk6wkal4C6SXRqaZ+ujF 7ZEg== X-Gm-Message-State: AOAM53175qcLJEyVhyiOIxbUg7uoAOXxPKxdk3ytoiMRSiUFl/dEqWOp 6+0S2Ygq/RHbmQgAu7COlfhnghARPRw= X-Google-Smtp-Source: ABdhPJwuMj4UM7glDBjgUpxGNokkjsUfHh5NnD1JknuX4rxP+bVptjfO2gwVGd3Bnptx7A4ckzU1JA== X-Received: by 2002:a17:902:b206:b029:dc:1f41:962d with SMTP id t6-20020a170902b206b02900dc1f41962dmr16146164plr.28.1608545866062; Mon, 21 Dec 2020 02:17:46 -0800 (PST) Received: from bobo.ibm.com (193-116-97-30.tpgi.com.au. [193.116.97.30]) by smtp.gmail.com with ESMTPSA id a136sm17157971pfd.149.2020.12.21.02.17.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 02:17:45 -0800 (PST) From: Nicholas Piggin To: pdbg@lists.ozlabs.org Date: Mon, 21 Dec 2020 20:17:33 +1000 Message-Id: <20201221101733.912938-3-npiggin@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20201221101733.912938-1-npiggin@gmail.com> References: <20201221101733.912938-1-npiggin@gmail.com> MIME-Version: 1.0 Subject: [Pdbg] [PATCH 3/3] build: add hint for interpreter location fix X-BeenThere: pdbg@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "mailing list for https://github.com/open-power/pdbg development" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicholas Piggin Errors-To: pdbg-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Pdbg" For some reason my environment requires this. Signed-off-by: Nicholas Piggin --- 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@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` + ## Usage Several backends are supported depending on which system you are using and are